residentsOnly flag

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

residentsOnly flag

Post by Bernd Welter »

I was trying to calculate some routes along the Städtisches Klinikum Karlsruhe (area around a larger hospital) but do not understand the behaviour of the API (xRoute2) - this seems to be located in the bare routing level (no additional feature layers applied):

8.37603182067203,49.0151088925756
8.3695512919431,49.0187934928476
car profile - all segments on the reference track are "residentsOnly==false"
car profile - all segments on the reference track are "residentsOnly==false"
default profile: the blue route occurs if no additional "residentsOnlyMalus" is set. I managed to get the green (=desired) track by setting the rsidentyOnlyMalus to 0.
default profile: the blue route occurs if no additional "residentsOnlyMalus" is set. I managed to get the green (=desired) track by setting the rsidentyOnlyMalus to 0.
What I do not get:
Why are some of the segments seen as residentsOnly relevant based on the vehicle profile? Istn't the property independent from the used vehicle?
And the answer is: the assumption above is wrong. In fact there are two separate properties describing the residents handling:
image (18).png
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