handling of delivery (API v1)
Posted: Fri Apr 08, 2022 8:23 am
Hi there,
even nowadays the handling of delivery restrictions requires some explanation. I therefore collect some URLs that could be helpful in this context.
Let's start with the potential values of road segments attributes.
Besides the built in logic of "blocking segments if they match specifc conditions" (such as delivery) you could also consider further ways to block segments in a specific routing, e.g. by using the ExceptionPath object. With this approach you could refer to objects such as specific mountain passes, tunnels and more if they are not accessible through the regular truck attributes. To keep it short: you could describe the exception path via one of the following mechanisms:
even nowadays the handling of delivery restrictions requires some explanation. I therefore collect some URLs that could be helpful in this context.
Let's start with the potential values of road segments attributes.
- Use cases/xRoute/DSC_TruckAttributesFormat.htm#Special - this chapter describes the two kinds of delivery attributes: roughly spoken: "available for delivery" versus "available for delivery under certain conditions" (e.g. weight).
- Routing/Vehicle/Legal/LegalCondition/@isDelivery
- Routing/Course/BasicDataRules/VehicleSpecific/DeliveryVehicles/@segmentMalus
- Routing/Course/AdditionalDataRules/VehicleSpecific/Malus/@delivery
- And here is another thread in the forum that is related to this topic
Besides the built in logic of "blocking segments if they match specifc conditions" (such as delivery) you could also consider further ways to block segments in a specific routing, e.g. by using the ExceptionPath object. With this approach you could refer to objects such as specific mountain passes, tunnels and more if they are not accessible through the regular truck attributes. To keep it short: you could describe the exception path via one of the following mechanisms:
- List of nodes
- External segment IDs
- street name
- binary path description
- an intersecting line