Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can I get time and distance from OSM2PO routing without loading the data into PostgreSQL? I've seen the answer regarding matching IDs with the DB, but I need to do this using only the OSM2PO service.

share|improve this question

Are you using SOAP or HTTP/GET via JavaScript/AJAX? In both cases you get all segments where each segment contains the distance and time values. All you have to do is to add those values.

share|improve this answer
Thanks Carsten. What do I need to do to get those values? I'm using HTTP/GET. I used format=geojson but did not see distance/time values. Do I need to update my version of OSM2PO? – Matthew Jul 10 '12 at 20:35
Awesome, so it was that I had an older version of OSM2PO. The new version has alot more detail in the geojson format. One last question. What are the units for the distance/time? Carsten OSM2PO is an awesome product. Keep up the great work my friend! – Matthew Jul 10 '12 at 21:14
Time[h] and Distance[km] – Carsten Jul 11 '12 at 10:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.