Cycling road via Sea

Hello, i have found a great problem: If i try to create route from Napoli, Italy and Reggio Calabria, italy it suggest me to reach destinastion via sea, obviously its impossible. Can you say me in what way you can assist me to solve this? api_key = “your_api”& start = 14.307729827851423, 40.866554241206956& end = 15.647307010135156, 38.111674373779195

Thank you for support


this is very much possible, since it is taking two ferries to get from Napoli to Messina and then back to the mainland.

You can avoid ferries, but you’ll have to use a POST request with the corresponding avoid_features-option set:

 curl -X POST \
  '' \
  -H 'Content-Type: application/json; charset=utf-8' \
  -H 'Accept: application/json, application/geo+json, application/gpx+xml, img/png; charset=utf-8' \
  -H 'Authorization: your_api' \
  -d '{"coordinates":[[14.307729827851423,40.866554241206956],[15.647307010135156,38.111674373779195]],"options":{"avoid_features":["ferries"]}}'

Best regards

@Fabio7586 are you not going like this:

yes, what @jschnell said above :grimacing:

1 Like

ahahahaha :smile: beautiful!!

@jschnell thanks for suggestion, i will try in this manner! :wink:

1 Like