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
Routing problem : Access to the construction site
-
- Posts: 5
- Joined: Mon Mar 02, 2020 1:38 pm
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Routing problem : Access to the construction site
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?
Best regards,
Bernd
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?
Best regards,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
-
- Posts: 5
- Joined: Mon Mar 02, 2020 1:38 pm
Re: Routing problem : Access to the construction site
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
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
-
- Posts: 5
- Joined: Mon Mar 02, 2020 1:38 pm
Re: Routing problem : Access to the construction site
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
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
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Routing problem : Access to the construction site
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
https://lbm.rlp.de/de/aktuelles/detail/ ... interburg/
I'll ask DEV about how to handle this. Please remain patient
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Routing problem : Access to the construction site
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
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>
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
-
- Posts: 5
- Joined: Mon Mar 02, 2020 1:38 pm
Re: Routing problem : Access to the construction site
Hello Bernd,
Thank you for this snippet. We will use it with caution.
Best regards,
Jakub
Thank you for this snippet. We will use it with caution.
Best regards,
Jakub