Page 1 of 1

How to consider "roads blocked in winter" (xroute 1 and 2)

Posted: Mon Aug 22, 2022 3:21 pm
by Bernd Welter
Hi there,

I've been asked whether and how PTV routing can consider the information that some roads are blocked in winter time (e.g. in the swiss alps).

Well, here's some relevant info:
  • technically spoken there's a segment attribute "blocked in winter" (unfortunately I don't know how to visualize such segments at the moment)
  • in xroute 1 it is possible to define a malus value for such segments. Of course 2501 means "forbidden". The disadvantage of this approach is that the user has to decide whether it is winter or not ;-)

    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>
    comparison of the malus values :<br />0 = allowed (without any special treatment of the relevant segments)<br />2501 = special segments are forbidden
    comparison of the malus values :
    0 = allowed (without any special treatment of the relevant segments)
    2501 = special segments are forbidden
  • As of today (22.8.2022) this feature is not available in xRoute2 and Developer.
Best regards,
Bernd

Re: How to consider "roads blocked in winter" (xroute 1 and 2)

Posted: Wed Nov 15, 2023 3:20 pm
by Bernd Welter
I expect the "blockedInWinter" handling in v2.31 ;-)
Get back to me !