Hi,
I have successfully managed to set up ORS via docker on my computer, and can generate isochrones and travel times without many issues. Currently I’m trying to get the Snapping endpoint to work, as I want to generate isochrones in remote locations and need to snap to the nearest road to get an isochrone. The health status is ready, and the following isochrone call works just fine:
curl -X 'POST' \
'http://localhost:8080/ors/v2/isochrones/driving-car' \
-H 'accept: application/geo+json' \
-H 'Content-Type: application/json' \
-d '{
"locations": [
[
149.12381106450823,
-35.28100874783916
]
],
"range": [
600
]
}'
When using the SNAP endpoint however, it does not work.
curl -X 'POST' \
'http://localhost:8080/ors/v2/snap/driving-car' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"locations": [
[
149.12381106450823,
-35.28100874783916
]
],
"id": "snap-point",
"radius": 600
}'
I get the following response:
Why is that the case? How can I get the Snapping endpoint to work?