Page 1 of 1
Routing problem : Access to the construction site
Posted: Thu Jun 18, 2020 9:25 am
by Jakub Skiba
Hello there,
I have got a tricky problem and I couldnt find a similar topic. If it exists please let me know.
One of our clients delivers goods to construction sites. In some cases, these roads are temporarily excluded from traffic, requiring a special entry permit.
These routes are generally imposed by the customer. So we need to find a solution that will allow our client to route through these sections that are temporaily unavaiable for traffic.
The questioin is, can we distinguish between temporary entry bans and permanent entry bans ? Are they controlled by the same parameter ?
The most desirable outcome would be a possibility, in which we could ignore the temporary no entry signs while calculating routes.
Thank you very much in advance.
Jakub
Re: Routing problem : Access to the construction site
Posted: Thu Jun 18, 2020 9:31 am
by Bernd Welter
Hello Jakub,
here's my first feedback to this topic: what exactly - in terms of PTV mechanisms - prevents your current routing call from using this segments?
- Street not in the map at all?
- Street in the map but blocked due to core properties (isBlockedForTruck, isBlockedForCar...)?
- FeatureLayer (which one?)
- Other reasons?
Once we identified the cause I might be able to provide an optimal approach of how to solve this. Maybe this approach is then a topic just between you and me - depending on the scope of programming.
Best regards,
Bernd
Re: Routing problem : Access to the construction site
Posted: Thu Jun 18, 2020 10:22 am
by Jakub Skiba
Hello Bernd,
The street does appear on the map and none of FeatureLayer used seems to be a problem. While calculating route we also dont use mentioned core properties (isBlockedForTruck, isBlockedForCar). In the attachment i am sending you our parameters.
Best Regards,
Jakub
Re: Routing problem : Access to the construction site
Posted: Tue Jun 23, 2020 8:35 am
by Jakub Skiba
Hello Bernd,
As of yesterday I've got an access to your Map&Guide Internet. Calculating the route with the "Activate truck restrictions" option turned off, doesnt seem to have any effect. Therefore i think we indeed are having an issue with core properties which are isBlockedForTruck and isBlockedForCar
Could you suggest some solution to this problem ?
Best Regards,
Jakub
Re: Routing problem : Access to the construction site
Posted: Mon Jun 29, 2020 2:34 pm
by Bernd Welter
Looks like the section you mention is in fact blocked for regular traffic (message in german only):
https://lbm.rlp.de/de/aktuelles/detail/ ... interburg/
I'll ask DEV about how to handle this. Please remain patient
Re: Routing problem : Access to the construction site
Posted: Mon Jun 29, 2020 3:45 pm
by Bernd Welter
Hello Jakub,
the following snippet will route you to the desired area.
But be careful: telling the engine that your vehicle is "enabled to drive into delivery zones" may also lead to "successful delivery anywhere else in the map"...
Best regards,
Bernd
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<Profile>
<Routing majorVersion="2" minorVersion="0">
<Course>
<BasicDataRules>
<VehicleSpecific>
<DeliveryVehicles segmentMalus="0" />
</VehicleSpecific>
</BasicDataRules>
</Course>
<Vehicle>
<Legal>
<LegalCondition isDelivery="true" />
</Legal>
</Vehicle>
</Routing>
</Profile>
Re: Routing problem : Access to the construction site
Posted: Tue Jul 07, 2020 6:33 am
by Jakub Skiba
Hello Bernd,
Thank you for this snippet. We will use it with caution.
Best regards,
Jakub