How to get travel time and link used from osm2po http service

المشرف العام

Administrator
طاقم الإدارة
I used osm2po to get shortest paths but I would like to get travel time and osm links ids used in the path. Is it possible?

Here is the osm2po service url format I use (this is an example):

http://localhost:8888/Osm2poService...debugExpansion=false&key=Key&value=Value&tsp=

Thanks!

Leo

Comment:Well, I just found I can add format=geojson to the query string and I can then get the line strings associated with the path. Perfect. I then just need to match the id in the db with the travel speed.



أكثر...
 
أعلى