Section Weight in Snippet Profile XML File - strange
Posted: Thu Jun 08, 2017 1:57 pm
Hello,
I created new xml profile and set value of section Weight like that :
<Weight emptyWeight="15000" totalPermittedWeight="40000" loadWeight="25000" />
( i saw this same setup on your profile mg-truck-40t ).
Here is snippet Profile xml file :
Problem is on the next step when i trying to set route.
Route has one segment of road ( bridge ) with ban > 30000kg.
Start point 19,12901 52,65209
End point 19,31928 52,63907
When i used My invidual profile or your mg-truck-40t route goes over this bridge ( of course i using TruckAttributes enabled=true ). When i changed value emptyWeigt in section like that i received correct result.
<Weight emptyWeight="40000" totalPermittedWeight="40000" loadWeight="25000" /> Whatever i type in rest doesnt matter on route.
I cant find additionally information about more parameters, maybe i didint add one of them to respect all attributes from section Weight.
Im using Map HERE 2017.1
Thank you very much for your help.
I created new xml profile and set value of section Weight like that :
<Weight emptyWeight="15000" totalPermittedWeight="40000" loadWeight="25000" />
( i saw this same setup on your profile mg-truck-40t ).
Here is snippet Profile xml file :
Code: Select all
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<Profile><Routing majorVersion='2' minorVersion='0'><Course distanceTimeWeighting='30' enforceShortestRoute='True'>
<AdditionalDataRules enabled='true' layerName=''>
<SegmentSpecific useBlockedForCarsAttribute='True' useBlockedForTrucksAttribute='True' useFerryDuration='True' useFerryLength='True' useRampAttribute='True' useSegmentLength='True' useSpeed='True' useTollForCarsAttribute='True' useTollForTrucksAttribute='True' useUrbanAttribute='True'/><VehicleSpecific enabled='true'><Malus combustibles='0' delivery='0' hazardousGoods='0' hazardousToWaters='0' maintenanceTrucks='0' preferredForHazardousGoods='0' preferredForTrucks='0' residential='0' restrictedTunnel='0' vehiclesWithTrailer='0' />
</VehicleSpecific>
</AdditionalDataRules>
<Violations><SegmentBlockingViolations cost='0' enabled='False'/></Violations>
</Course>
<Vehicle><Physical>
<Drive driveType='MOTORIZED'>
<Emissions emissionClass='EURO_5' emissionTechnology='DIESEL' lowEmissionZoneType='GREEN' particleFilterInstalled='False' particleReductionClass='0' hbefa3='true'/>
<Engine bioFuelRatio='0' cylinderCapacity='3000' fuelConsumption='30' fuelType='DIESEL'/>
</Drive>
<Weight emptyWeight="40000" totalPermittedWeight="40000" loadWeight="25000" />
<Axle axleLoad='0' numberOfAxles='3'/><Trailer emptyWeight='0'/><Passenger maximumPermittedNumberOfPassengers='1'/>
<Dimension height='50' heightAboveFrontAxle='80' length='1500' width='220'/>
</Physical>
<Load hazardousGoodsType='NONE' loadType='GOODS' tunnelRestrictionCode='NONE'/>
</Vehicle>
</Routing>
<FeatureLayer majorVersion='1' minorVersion='0'>
<GlobalSettings enableTimeDependency='True'/>
<Themes><Theme id='PTV_TruckAttributes' enabled='True' priorityLevel='0'/></Themes>
</FeatureLayer>
</Profile>
Problem is on the next step when i trying to set route.
Route has one segment of road ( bridge ) with ban > 30000kg.
Start point 19,12901 52,65209
End point 19,31928 52,63907
When i used My invidual profile or your mg-truck-40t route goes over this bridge ( of course i using TruckAttributes enabled=true ). When i changed value emptyWeigt in section like that i received correct result.
<Weight emptyWeight="40000" totalPermittedWeight="40000" loadWeight="25000" /> Whatever i type in rest doesnt matter on route.
I cant find additionally information about more parameters, maybe i didint add one of them to respect all attributes from section Weight.
Im using Map HERE 2017.1
Thank you very much for your help.