How can I find out if a point lies inside a polygon?

Aug 30, 2012 at 11:57 AM


I have a KML file which defines different regions (defined as polygons) in a city. I have to figure out which region a particular set of co ordinates fall in? Is this possible with this library?

Sep 1, 2012 at 10:10 AM

You can have a look at this page to see how to extract all the polygons from the file. You can query their coordinates using the OuterBoundary.LinearRing.Coordinates property, but you'll have to provide the logic for determining if a point falls inside those coordinates.

Hope it helps.

Oct 15, 2013 at 11:47 AM
Is there any work done on this? I mean has anybody figured out how to check if a point belongs to a polygon?