Returns the features that are closest to a specified geometry by measuring from the edge of the geometry to the edge of the feature geometry. The features will be returned sorted from closest to farthest. This operation differs from the searchNearest operation in the way distances are calculated. If the search geometry falls completely inside a MultiPolygon in the search table, the distance to the border is returned. Furthermore, if the table point or geometry point are requested, a point on the polygon edge will be returned rather than inside the polygon. An optional column that determines whether the search geometry is completely within the search geometry can also be returned.


The following table lists the request and response messages for the searchNearestEdge operation.

Click on a message name to get more information about the message.

Message Description
SearchNearestEdgeRequest The request message for the searchNearestEdge operation.
SearchNearestEdgeResponse The response message for the searchNearestEdge operation.