Considering Truck Attributes and segment editing

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.

Considering Truck Attributes and segment editing

Postby biro.daniel » Mon Jan 08, 2018 1:46 pm

Dear Bernd,

When we plan a route, sometimes we face the following issue: the route goes through roads that are restricted for deliveries even if the final destination of the tour is far from this zone apparently. We think that this phenomenon may occur because the routes in question have other attributes than 'freeForDelivery'.

See the attached image below: route between Nyíregyháza and Sátoraljaújhely (Hungary). The route goes through a section where the following restrictions are: modality (motor vehicle), max. weight (12t), free for delivery. Preferably, the route should avoid this section.


Is it possible to modify the routes' parameters directly for testing in the Map Data related layer, and after successful tests, for deploying the modified parameters so that our routing process would consider these changes? Do you think that the Map&Guide Road Editor would solve our problem? Could we use this tool to change the attributes of different roads and check whether it solved the issue?

As far as we recall, a new tool is going to be implemented for using this feature (modifying segment parameters). Is this the case? If so, can you share further details about its planned release?

Thank you in advance,
Posts: 29
Joined: Tue Aug 23, 2016 8:08 am

Re: Considering Truck Attributes and segment editing

Postby Bernd Welter » Wed Jan 31, 2018 12:38 pm

Hello Daniel,

"maintenance of custom attributes" that's a challenging topic. The MAP&GUIDE RoadEditor is a frontend that has been developed over the years and it enables users to change core attributes of segments stored in a separate database (either MS Access or MS SQL Server). In fact you could use this approach to ensure that the new data situation is reflected immediately after applying the changes. PTV xRoute Server 1.x (32bit) is then able to consider the database content during the routing (road editor DB approach). Furthermore you can use the RoadEditor's "create a BIN file" feature which will write the database content into a BIN file (same structure as the traditional TruckAttributes) after sorting those blockings that are not relevant (time context). BIN files work with 32bit and 64bit versions of xRoute.

this approach will become obsolete with future xServer development because our goal is to use feature layers to store generic (PTV) data and custom data. What is missing so far is the API which enables users to change the content of the feature layer. So in fact there's a temporary gap between *approved technology which fades out* and *upcoming technology which isn't ready so far*.

I recommend that you get in touch 1:1 with your technical counterpart to get a custom answer / decision about how to approach your requirement.

Best regards,
Bernd Welter
Manager Technical Consulting & Requirement Engineering
Senior Technical Consultant Developer Components
PTV GROUP - Germany

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

Return to PTV xRouteServer