Page 1 of 1
Mountain passes
Posted: Tue Oct 22, 2019 9:05 am
by mrczeg
Hello,
Map and guide allow on set uses of "Mountain passes" in road types section. I want implement this option in ours app. I cant find any example of that. Can you show me how I can sent that information to ptv route?
Best regards
Marcin Żegunia
Re: Mountain passes
Posted: Tue Oct 22, 2019 9:12 am
by Joost
That is the attribute
- Routing / Course / BasicDataRules / Blockings / @blockedInWinterMalus
in the xServer profile. For information on how to work with profiles, have look at
xServer1.Technical Concepts.AboutProfiles
Re: Mountain passes
Posted: Wed Oct 23, 2019 2:12 pm
by Bernd Welter
- Route from Gadmen to Färningen (tomtom map).
LEFT: blockedInWinterMalus =0
RIGHT: blockedInWinterMalus=2600
Snippet:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<Profile>
<Routing majorVersion="2" minorVersion="0">
<Course>
<BasicDataRules>
<Blockings blockedInWinterMalus="2501"/>
</BasicDataRules>
</Course>
</Routing>
</Profile>
For xServer2 check
this article.
Re: Mountain passes
Posted: Fri Sep 02, 2022 10:20 am
by Bernd Welter
Susten Pass from CH-Innertkirchen to CH-Wassen (
wikipedia)
Re: Mountain passes
Posted: Fri Sep 02, 2022 10:32 am
by Bernd Welter
Albula Pass (
wikipedia)
from CH-Thusis to CH-La Punt.
- 2022.2H
left: blockedInWinter=0
right: blockedInWinter=2501
- elevations
Re: Mountain passes
Posted: Tue Nov 29, 2022 2:56 pm
by Bernd Welter
Here's a
quick update for xServer2 users:
the winter blockings seem to be available as regular truck attributes (FeatureLayer PTV_TruckAttributes) with a time dependency, e.g. from 1.11.-30.4.:
- Biweekly sample... routes started at 1.1.2022, 14.1.2022, 28.1.2022.... In this case the routes take a detour according to the following TruckAttribute (2023.1H map):
PTV_TruckAttributes=timeDomain=[[(M11){M2}]+[(M1){M4}]];relevantByTime=true;loadType=GOODS;driveType=MOTOR_VEHICLE;opening=0PTV_TruckAttributes=driveType=MOTOR_VEHICLE;maxWeight=11000
- 2023.1H
Attention: different pass - different time constraint:
- Blocked from 16.11 - 14.04. (ok, a bit challenging to read...)
- From CHE-Tiefencastel to CHE-Silvaplana
So there's no "blockedInWinter" flag but a time dependent blocking/opening.
Thanks to Max for the update,
Bernrd