Hello,
I have a KMLFeatureLayer on my map. I want to be able to determine what polygon a specific Lat/Lon point resides in, and then get some info about that polygon.
If I do a GetAllFeatures on the layer, I get a collection of Geometrycollection(Polygon(…
I can then see the ColumnValues of each feature, one of which is the info I need.
What I tried to do is call GetFeaturesContaining(New PointShape(Lat, Lon), ReturningColumnsType.AllColumns), but that is returning the error: ‘The method or operation is not implemented.’
Am I calling the wrong routine? Is there an easier way to do this?
Edit:
It looks like I can use GetFeaturesNearestTo, but I’m not sure if that gets features (polygons) that contain the lat/lon point in question. Does it?
Thanks,
Dib