navigation

Snap points to the road network

Returns the nearest road-network position for each coordinate, including way ID, street name, and side of street.

When to use: Associate coordinates with road segments before routing or analysis.

post/snap

Request

  • Base URL: https://api.mapsource.io
  • URL: https://api.mapsource.io/snap
  • Auth: HTTP bearer

Request body

costingstring

Travel mode.

Response

Snap points to the road network

schemastring
profilestring

The costing model that produced this result.

geometryAvailable'inline' | 'handle'

Where the geometry is. handle means read geometryRef.

costingstring

Changes

No recorded changes to this operation across all 1 revision of this API.