Transit restrictions

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
krzysiek mbis
Posts: 37
Joined: Thu Aug 11, 2016 9:41 am

Transit restrictions

Post by krzysiek mbis »

Hi,
Does routing mechanizm uses transit restrictions by default ?
Is there a way to turn it on/off ?

Best Regards,
Krzysiek
Krzysiek Paziewski
.Net Developer/Team Leader at Marcos Bis
Katowice, Silesian District, Poland
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Transit restrictions

Post by Bernd Welter »

Hello Krzysiek,

do you refer to TruckAttributes or PTV_RestrictionZones? As these are feature layers you can enable/activate then on request (default is "feature layers are disabled") or preconfigure them in the profile file in use.

Check this piece of XML:

Code: Select all

<FeatureLayer majorVersion='1' minorVersion='0'>
	<GlobalSettings enableTimeDependency='True'/>
	<Themes>
		<Theme id='PTV_TruckAttributes' enabled='True' priorityLevel='0'/>
		<Theme id='PTV_RestrictionZones' enabled='False' priorityLevel='0'/>
	</Themes>
</FeatureLayer>
You can inject it via SNIPPET or config file.

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:
Post Reply