fmeobjects.FMESpatialIndex.queryClosest

FMESpatialIndex.queryClosest()

queryClosest(xCoord, yCoord, maxDist),

This method performs a query to determine the closest feature to the passed in point that is within the search distance.

Parameters:
  • xCoord (float) – The x coordinate of the point.

  • yCoord (float) – The y coordinate of the point.

  • maxDist (float) – The maximum search distance.

Return type:

None

Raises:

FMEException – An FMEException is raised if there was an error.