special routing requirements: wrong direction possible?

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.
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2684
Joined: Mon Apr 14, 2014 10:28 am
Contact:

special routing requirements: wrong direction possible?

Post 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
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... :twisted:
User avatar
Bernd Welter
Site Admin
Posts: 2684
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: special routing requirements: wrong direction possible?

Post 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
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... :twisted:
Post Reply