Page 1 of 1

special routing requirements: wrong direction possible?

Posted: Tue Jan 14, 2020 10:36 am
by Bernd Welter
Hi there,

XSERS-1653

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

Re: special routing requirements: wrong direction possible?

Posted: Tue Jan 14, 2020 1:28 pm
by Bernd Welter
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<br />left = 2501: detour<br />right = 0 : driving against a street's own direction
Simple one way street
left = 2501: detour
right = 0 : driving against a street's own direction
famous roundabout near the Karlsruher Oststadt ;-)
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
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