This forum deals with any kind of routing computation whether it is simple A:B-routing, calculation of isochrones, simple matrix computation or nearest search.
is it possible to define a routing profile which enables a vehicle to drive in the wrong direction e.g. in roundabouts or one way streets?
I know that there's a mechanism called "violations" which mainly deals with "ignore physical dimensions" based on PTV_TruckAttributes. But this does not deal with the driving direction.
If the direction can be "overridden":
Which interfaces support these settings?
What are the required parameters?
Best regards,
Bernd
Bernd Welter Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
let's have a look at the profile parameter oppositeDirectionInOneWayRoadMalus:
By setting this value from the default (2501) to a more flexible value (0) we allow the engine to use segments in the "wrong direction" (both screenshots based on xRouteServer1):
Simple one way street left = 2501: detour right = 0 : driving against a street's own direction
famous roundabout near the Karlsruher Oststadt ;-)
Here's aanother example:
Another example: route starts on a highway (eastern part of the pic) and finally ends on a turn which is not available on a regular base
Bernd Welter Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...