Via point in Ferry line

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
krzysiek mbis
Posts: 37
Joined: Thu Aug 11, 2016 9:41 am

Via point in Ferry line

Post by krzysiek mbis »

Is there a possybility to add route via point in the ferry line ?
I tried it like below (blue one is a via point), but it's not working.
FerryLine.PNG
Best Regards,
Krzysiek.
Krzysiek Paziewski
.Net Developer/Team Leader at Marcos Bis
Katowice, Silesian District, Poland
User avatar
Bernd Welter
Site Admin
Posts: 2564
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Via point in Ferry line

Post by Bernd Welter »

Hello Krzysiek,

it is not possible to approach the usecase in the way you do.
Some explanation:
Viapoints / fuzzy means that
  • we compute a route from the previous Waypoint to the fuzzy point,
  • then we "walk back" on the route for the fuzzy radius (:=new waypoint)
  • and compute another route from the new waypoint to the succeeding waypoint
  • finally we concatenate the partial routes (PRE->NEW)+(NEW->SUCC) to the result
I assume the ferry coordinate causes a linking error in step 1.

If you want to enforce the usage of a specific ferry you can use the ID of the specific ferry connection:
xLocate provides the ID of the connection (left map and grid). xRoute is then able to consider it as a Waypoint (right map).
xLocate provides the ID of the connection (left map and grid). xRoute is then able to consider it as a Waypoint (right map).
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... :twisted:
Post Reply