Hi

Please help me making a query towards Overpass API. As input I'd like to give two coordinates and as output I'd like to get driving distance.

cURL example would be much appreciated, but anything goes.

asked 14 Aug, 11:48

Ehitajah2rra's gravatar image

Ehitajah2rra
162
accept rate: 0%


Overpass cannot do that. You need a routing engine like Graphhopper or OSRM. You can install these programs on your own server(s) if you need to make a lot of requests, but if you're just making a few you can use the free public instances. For OSRM, see http://project-osrm.org/docs/v5.24.0/api/# which has working curl examples. For Graphhopper, see https://graphhopper.com/

permanent link

answered 14 Aug, 12:40

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
77.6k886901200
accept rate: 24%

Thank You so much!

(14 Aug, 13:40) Ehitajah2rra
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×445

question asked: 14 Aug, 11:48

question was seen: 152 times

last updated: 14 Aug, 13:40

powered by OSQA