Snap a coordinate to the nearest road
GET/api/v1/nearest
Snap a coordinate to the nearest road
Snap a coordinate to the nearest road
curl https://plaza.fyi/api/v1/nearest \
-H "Authorization: Bearer $PLAZA_API_KEY"{
"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"
}