Hello,
I have a issue with ORS direction.
In an area with all road tagged access=customer, I would like to allow the use of certain roads only when it’s the destination of the itinerary, so the route would only take the main roads (it’s a large camping site).
I though I could use motorcar=destination, but it doesn’t seems to be taken into account. I can’t really use access=destination, because I think the access=customer is an information more important to people on OSM and it should not be removed.
So I edited my own ORS instance and edited the CarFlagEncoder.java
with overriding tthe getSpeed()
and setSpeed()
when I encounter a motorcar=destination tag to set speed to like 2km/h but this also doesn’t work… I followed the use of the speed all along to the VehiculeFlagEncoder.java
handleWayTags()
to ensure the speed was not erased, so I don’t understand what is wrong, is speed not used in directions ?
Can anyone give me a pointer how to tackle this issue ?
Thank you very much,
Regards,
Antonin