Page 1 of 1

Truck parking detour

Posted: Tue Aug 04, 2015 8:24 am
by KZsolt
Helo guys!

I can't find a reason for a detour again :)
The points we use for xRoute planning:
43.986995 , 3.180241
43.984361 , 3.184389
As a result we receive the following plan:
pic1.PNG
When I checked with Map&Guide I saw no restrictions on the desired road (drawn with purple) which is the following one:
pic2.PNG
Whats the reason for that huge detour?

2015.2H EuroPremium map
mg-car / mg-truck-40t profile
TruckAttributes layer usage doesn't make a difference

Thanks,
Zsolt

Re: Truck parking detour

Posted: Mon Aug 10, 2015 2:27 pm
by Bernd Welter
Hello together,

the attached screenshot gives us the required information:
Blue segments: RESIDENTIAL attribute
Blue segments: RESIDENTIAL attribute
The segment in blue colors belong to RESIDENTIAL category. So if you apply a malus to that street segment category the routing prefers a detour. If the malus is at 2500 (highest acceptance value) this means the routing accepts a detour that is up to 25 times as long as the original segment.

Here is the responsible section of your profile:

Code: Select all

<BasicDataRules>
                <VehicleSpecific>
                    <EmergencyVehicles segmentMalus="2501"/>
                    <ProjectSpecificVehicles blockedSegmentMalus="2501"/>
                </VehicleSpecific>
                <Network rampMalus="10">
                    <MalusByNetworkClass malus="0"/>
                    <MalusByNetworkClass malus="0"/>
                    <MalusByNetworkClass malus="0"/>
                    <MalusByNetworkClass malus="0"/>
                    <MalusByNetworkClass malus="60"/>
                    <MalusByNetworkClass malus="70"/>
                    <MalusByNetworkClass malus="100"/>
                    <MalusByNetworkClass malus="100"/>
                </Network>
                <SpecialAreas residentialMalus="2500"/>
                <CombinedTransport ferryMalus="100" piggybackMalus="100"/>
            </BasicDataRules>
The screenshot is based on AVOID_RESIDENTS_ONLY=0
(= I don't care whether a segment is RESIDENTIAL or not)

I think this is the mising link ;-)

If not: let me know!!

Regards Bernd

Re: Truck parking detour

Posted: Tue Aug 11, 2015 9:09 am
by KZsolt
Hey!

Awesome, thank you Bernd!
Though I still can't really understand why are these segments in the example considered as residential roads :)...
Theoretically what roads considered to be residential? It's quite confusing, because in the example these roads only lead to a parking lot.

Regards,
Zsolt