Assuming I have an layer from a shape file which is not shaped like a rectangle how would I determine if a point lies within this layer?
Tell me more
×
Geographic Information Systems Stack Exchange is a question and answer site for
cartographers, geographers and GIS professionals. It's 100% free, no registration required.
|
There's a couple of ways to do it - if you already have both geometries, than you can get an IRelationalOperator from the polygon, and simply execute "Contains" on it. Failing that, you could execute a spatial query on the feature class (from the shape file), asking for all features that contain the point in question. More details available than you can shake a stick at from ESRI. |
|||
|
|