Hi
I'm trying to use GetFeaturesNearestTo to find the nearest property (polygon) to a point.
It is returning a polygon that appears to be further away than a closer one.
I'm wondering if I'm using the function correctly and how it is calculating the nearest polygon.
Here is my code:
Collection<Feature> selectedFeatures =
shapeLayer.QueryTools.GetFeaturesNearestTo(defectShape, GeographyUnit.Meter, 1, ReturningColumnsType.AllColumns);
Attached is a screenshot of the map, the point, what is returned and what should be returned.
Cheers
Steve