Snap a coordinate to the nearest road
$ plaza routing nearest
GET/api/v1/nearest
Snap a coordinate to the nearest road
Snap a coordinate to the nearest road
plaza routing nearest \
--api-key 'My API Key' \
--lat 0 \
--lng 0{
"geometry": {
"coordinates": [
0
],
"type": "Point"
},
"properties": {
"distance_m": 0,
"edge_id": 0
},
"type": "Feature"
}Returns Examples
{
"geometry": {
"coordinates": [
0
],
"type": "Point"
},
"properties": {
"distance_m": 0,
"edge_id": 0
},
"type": "Feature"
}