Routing with ferries
Posted: Thu Feb 16, 2023 2:20 pm
Hi,
We have a following question from one of our Partners:
I am looking for the most optimal solution using the PTV xServer API, which would reflect the functionality of PTV Map&Guide indicating alternative ferries on the route at selected points. The scenario is as follows:
1. The client provides the coordinates of the starting point A and ending point B, for which I get the route using the calculateRoute endpoint from xRoute.
2. The customer selects a point on this route (we assume that it runs partly by water) for which he would like to receive alternative ferries that could potentially be used to get to the end point B (exactly as in PTV Map&Guide - ppm on map > find ferries).
3. The last step would be for the customer to select one of the proposed ferries and change the course of the original route so that it led from A to B via the newly selected ferry.
How can we assist here?
We have a following question from one of our Partners:
I am looking for the most optimal solution using the PTV xServer API, which would reflect the functionality of PTV Map&Guide indicating alternative ferries on the route at selected points. The scenario is as follows:
1. The client provides the coordinates of the starting point A and ending point B, for which I get the route using the calculateRoute endpoint from xRoute.
2. The customer selects a point on this route (we assume that it runs partly by water) for which he would like to receive alternative ferries that could potentially be used to get to the end point B (exactly as in PTV Map&Guide - ppm on map > find ferries).
3. The last step would be for the customer to select one of the proposed ferries and change the course of the original route so that it led from A to B via the newly selected ferry.
How can we assist here?