Routing: Enter authorized passages with delivery vehicles

Dear customers

following technical note is relevant to enter authorized passages by using the “free for delivery” attribute.

Description:X-Route_Server_80x80

A route-not-found exception might occur due to turns that are by mistake banned for delivery vehicles in our data. To avoid such route-not-found exceptions banned turns with the attributes “free-for-emergency” and “free-for-authorized-vehicles” can be allowed also for a delivery vehicle. Please notice that the following workaround is not relevant for emergency vehicles (in this case it is sufficient to enable the “isEmergency” parameter).

Workaround:

A profile – that opens delivery segments only at waypoints (and avoids that forbidden segments are used in the middle of the route) and avoids route not found exceptions – would have parameter settings as follows:

<Routing majorVersion=”2″ minorVersion=”0″>

<Course>

<BasicDataRules>

<VehicleSpecific>

<DeliveryVehicles segmentMalus=”2500″/>

<EmergencyVehicles segmentMalus=”2501″ turningBanCost=”50000″/>

<AuthorizedVehicles turningBanCost=”50000″/>

</VehicleSpecific>

<Violations>

<SegmentBlockingViolations enabled=”true” cost=”50000″/>

</Violations>

</BasicDataRules>

</Course>

<Vehicle>

<Legal>

<LegalCondition isAuthorized=”true” isDelivery=”true” isEmergency=”true”/>

</Legal>

</Vehicle>

</Routing>

Please notice that you have two options: You can configure your XML Routing profiles or add the XML code snippets into your requests via UPM (universal profile mechanism) using the current PTV xServer version (>= 1.17).

Additional notes:

If the delivery areas should be open without additional costs the turningBanCost values for authorized and emergency vehicles as well as the segmentMalus for delivery vehicles can be set to “0”. The segmentMalus for emergency vehicles should be left at 2501 except for the real emergency vehicles.

Any further questions? Don’t hesitate to contact our PTV xServer Support team.

Kind regards from Karlsruhe,

Dr. Michael Nutto

IMG_nutto_web

Product Manager PTV xServer

By Dr. Michael Nutto

Solution Director for PTV xServer. Responsible for the strategy of PTV xServer. I'd like to discuss market trends and requirements with our partners and end customers. Therefore, feel free to contact me about my published blogs.