Page 1 of 1

Transit restrictions

Posted: Thu Oct 05, 2017 6:54 am
by krzysiek mbis
Hi,
Does routing mechanizm uses transit restrictions by default ?
Is there a way to turn it on/off ?

Best Regards,
Krzysiek

Re: Transit restrictions

Posted: Fri Oct 06, 2017 1:41 pm
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