I am very new to using ArcGIS runtime SDK for C#. I have loaded a polygon from a shapefile. I wish to query if a lat/long point is inside or outside the polygon?

How can I do this?

Thanks in advance!


The Geometry Engine has a contains method:

static boolean  contains(Geometry geometry1, Geometry geometry2, SpatialReference spatialReference) 

Just check if the point is in the polygon...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.