'Transport modes/profiles in PTV developer Distance matrix API

I was planning to use PTV Developer API to calculate a distance matrix using something more sophisticated than a Manhattan distance. However looking at the Routing Matrix API reference I see only references to profiles for vehicles (no bikes, no pedestrians). Does this mean I'm going to get non-optimum routing for pedestrians (e.g. inability to go against a one-way street for vehicles to shorten a route)? Disappointing if it is the case as I had hoped for a replacement for Google API ...



Solution 1:[1]

The PTV Developer API does not offer a pedestrian profile for matrix routing as there must be a precalculated search graph for each profile which contains the distances for all network segments. This would not really make sense in a global context but only in a city. But search graphs can only be precalculated for the complete map and not a single city. The Routing API does contain the pedestrian profile so maybe you can work around this by using the regular routing API and calculate multiple routes for your matrix.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 PTV Community Support