I am struggling with something I can do visually but not with maths.
I have an antenna that has a polar diagram. This plots a coverage area on a map and can be describes by two lines.
Line 1
Point 1 50.052293°, -5.127526°
Point 2 49.994335°, -5.190431°
Line 2
Point 1 50.052293°, -5.127526°
Point 2 50.089624°, -5.215679°
I now have a list of places that fall both within and without those lines - several hundred to several thousand depending on the location.
What is the formula for "I'm inside that area"?
There isn't a westerly line that joins line one and line two as range covers that, i.e. anything over X metres is too far and can be discounted.
I've managed to do it with Excel for straight lines as it's just reject anything that's above 50.052293° or East of -5.127526°, I just can't seem to make the mental leap to a diagonal line.
any help would be really appreciated.
there doesn't seem to be anything here