Truck parking detour

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
KZsolt
Posts: 51
Joined: Fri Oct 03, 2014 1:19 pm

Truck parking detour

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

Re: Truck parking detour

Post 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
KZsolt
Posts: 51
Joined: Fri Oct 03, 2014 1:19 pm

Re: Truck parking detour

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