Hi there,
during our routing calls (xRoute1) we face situations where the linking distance is crossing rivers which is not ok for us.
Is it possible to avoid this? Reducing the linking radius in the profile won’t solve this because we need such long distances in the country side where we mainly route.
Best regards,
Julian
Linking distance crosses river/water
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Linking distance crosses river/water
Hello Julian,
check the attached images - both dispolay the same geographical rectangle:
The routing engine is not aware of background and town layers. It simply uses the street layrer for it's linking and routing.
So this means we can't distinguish between oceans/rivers, forest, ...
The linking engine tries to locate the closes valid segment to your southern inout coordinate and from it's perspective it is the Bockumer Straße which is - viewing through the perspective of the map image - the one on the other side of the river. This is the reason why it is difficult to give a proper recommendation. But how about this:
If you look at the screenshot you can see that there are many small dirt roads near the input coordinate. These roads are blocked for motorized vehicles. Try to apply your regular routing and implement an iterative approch based on the waypoint's linking distances of the first result:
Enable the second call to use a more flexible handling of the blockings by
Best regards,
Bernd
check the attached images - both dispolay the same geographical rectangle:
The routing engine is not aware of background and town layers. It simply uses the street layrer for it's linking and routing.
So this means we can't distinguish between oceans/rivers, forest, ...
The linking engine tries to locate the closes valid segment to your southern inout coordinate and from it's perspective it is the Bockumer Straße which is - viewing through the perspective of the map image - the one on the other side of the river. This is the reason why it is difficult to give a proper recommendation. But how about this:
If you look at the screenshot you can see that there are many small dirt roads near the input coordinate. These roads are blocked for motorized vehicles. Try to apply your regular routing and implement an iterative approch based on the waypoint's linking distances of the first result:
Enable the second call to use a more flexible handling of the blockings by
- set the parameter Routing/Course/BasicDataRules/Blockings/@blockedMalus=2500
- further relevant parameters are isDelivery, isAuthorized, isEmergency : set them to true in combination with Routing/Waypoint/LinkTypeConfiguration/Road/@onlyReachableRoads=false. This will enable Linker and Router to cope with turning restrictions, gates, ...
Best regards,
Bernd
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...
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...