Hi there
Something different for you all
I have a data set of coordinates for locations that I want to mark each as "inside" or "outside" of a bounding polygon.
For example, if I have a square 2 cm long by 2 cm wide then a coordinate of (3cm,3cm) is clearly outside of this, whereas a coordinate of (1cm,1cm) is inside.
This is relatively straightforward if the polygon is a square (or pretty much any regular shape), but what if the bounding polygon is the edge of a county or state?
In this case the bounding polygon would comprise several hundred points!
Please can anyone offer me a thought on where I can go to accomplish this task? For example, can GD / JPGraph offer any solutions here?
Many thanks as always!
-Colin
Something different for you all

I have a data set of coordinates for locations that I want to mark each as "inside" or "outside" of a bounding polygon.
For example, if I have a square 2 cm long by 2 cm wide then a coordinate of (3cm,3cm) is clearly outside of this, whereas a coordinate of (1cm,1cm) is inside.
This is relatively straightforward if the polygon is a square (or pretty much any regular shape), but what if the bounding polygon is the edge of a county or state?
In this case the bounding polygon would comprise several hundred points!
Please can anyone offer me a thought on where I can go to accomplish this task? For example, can GD / JPGraph offer any solutions here?
Many thanks as always!
-Colin