API does not avoid sea

I’m trying to get a route with the parameters avoid=ferry and vehicle=car in order to avoid sea routes (i.e. between Barcelona and Majorca or Spain and Morocco) but the result is still returning the line through the ocean.
How could I avoid this? Am I doing something wrong?
Example query:
https://graphhopper.com/api/1/route?point=36.1251,-5.34764&point=35.57704,-5.36833&key=MY-APY-KEY&instructions=false&vehicle=car&type=json&points_encoded=false&avoid=ferry

Thanks

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.