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

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.
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2574
Joined: Mon Apr 14, 2014 10:28 am
Contact:

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

Post 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
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... :twisted:
User avatar
Bernd Welter
Site Admin
Posts: 2574
Joined: Mon Apr 14, 2014 10:28 am
Contact:

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

Post by Bernd Welter »

I expect the "blockedInWinter" handling in v2.31 ;-)
Get back to me !
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... :twisted:
Post Reply