Restriction on route swapping
Posted: Mon Jan 26, 2015 10:58 am
Helo guys!
I have the following problem:
If I plan between these coordinates,
48.552293, 18.185663 -SK
48.615455, 18.277861 -SK
I get the following route (I linked both the PTV and googlemaps pics): According to my research we recieve that route because on the trunk road/highway line next to the highlighted has a 50 km/h speed limitation and on the country road line the speed limitation is 90 km/h.
In my special case even with that speed limitation I'd prefer to use the trunk road/highway line (where the truck currently is - highlighted with light blue) instead of the (better) country road I receive. Is there any way to somehow controll the number of road swaping (to give bonus malus for the current road we are on or something like that)?
I've tried to modify the profiles with different MalusByNetworkClass values for the different NetworkClasses but that didn't really help. I tried to modify to Routing Parameters as well but that wasn't efective either.
The reason why I'm asking this: In some case it's better if we loose some slight advantage (time, cost) but we can plan an "easy to follow" route between the coordinates.
Any suggestions how can I achieve that?
Thanks,
Zsolt
I have the following problem:
If I plan between these coordinates,
48.552293, 18.185663 -SK
48.615455, 18.277861 -SK
I get the following route (I linked both the PTV and googlemaps pics): According to my research we recieve that route because on the trunk road/highway line next to the highlighted has a 50 km/h speed limitation and on the country road line the speed limitation is 90 km/h.
In my special case even with that speed limitation I'd prefer to use the trunk road/highway line (where the truck currently is - highlighted with light blue) instead of the (better) country road I receive. Is there any way to somehow controll the number of road swaping (to give bonus malus for the current road we are on or something like that)?
I've tried to modify the profiles with different MalusByNetworkClass values for the different NetworkClasses but that didn't really help. I tried to modify to Routing Parameters as well but that wasn't efective either.
The reason why I'm asking this: In some case it's better if we loose some slight advantage (time, cost) but we can plan an "easy to follow" route between the coordinates.
Any suggestions how can I achieve that?
Thanks,
Zsolt