UTURN MALUS / uTurnCost (for J.M.)

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.

UTURN MALUS / uTurnCost (for J.M.)

Postby Bernd Welter » Wed Oct 31, 2018 11:25 am

Hi there,

a colleague asked me for a sample dealing with the UTURN MALUS.
xml code
<?xml version="1.0" encoding="UTF-8"?>
<Profile>
<Routing majorVersion="2" minorVersion="0">
<Course>
<Maneuver considerTurningBans="true" uTurnCost="0"/>
</Course>
</Routing>
</Profile>

The challenge is to find a valid input scenario for this. This example shows equal waypoints but different settings for the malus value.
UTURN-MALUS.compare.PNG
Mercator
Start = 936611,95 // 6269768,08
Dest = 936620 // 6269686
Both waypoints linked via AUTO_LINKING
The left track performs a large detour just to avoid the UTURN manoeuvre.
In the right track the UTURN is possible (it's price was set to 0) and the overall distance is shorter

Our parameter “uTurnCost” only applies on segments where the turn happens on the segment itself (single segment sided…).
Bigger (two segment sided) streets do not cause UTURN.

There’s a high probability for such a UTURN in the environment of turning restrictions.
The UTURN COST has been implemented to avoid such driving behaviours.

no-uturn.png
This manoeuvre is not seen as a UTURN because the street consists of two separate lanes.

Best regards,
Bernd
Bernd Welter
Senior Technical Consultant Developer Components
PTV GROUP - Germany

Bernd at Youtube
User avatar
Bernd Welter
Site Admin
 
Posts: 1457
Joined: Mon Apr 14, 2014 10:28 am

Return to PTV xRouteServer

cron