Determining if a coordinate is inside a  shapefile polygon

Discussion created by zetar on Mar 7, 2013
Latest reply on Mar 11, 2013 by zetar
I'm loading various shapefiles that contain polygons. Curiously, the polygons appear in different colors every time I run the app. This isn't important, but every time I run it, they appear in green one time, blue the next, etc.

Anyway, I now need to know if a specific location (lat/long) is 'covered' or 'inside' one of these polygons.

So, specifically, if I load a shapefile of the 'Harbor Bay' of San Diego, I need to determine if there is water at a specific lat/long.

How can I do this?

There probably is a method. Anybody know what it is?

Thanks in advance!