Why not ask your question on the new OpenStreetMap Community Forum?

Hello, I'm using overpass-turbo to download GeoJSON files. I'm trying to find (shortest) way between two points, but I don't know anything about query and can't really find how to learn to use that query. So I'm having two points with their names, how do I download all lines that connect them, making the path shorter than certain distance? Two points are really far away from each other, so I can't download all the roads and then load them into QGIS...

asked 19 Apr '20, 15:27

izili's gravatar image

accept rate: 0%

You probably want to use a routing software. You might be able to implement a crude one on top of overpass, but that would be complicated.

There is a lot of online routing services based on OSM, and some provide an API.

For reference, the Overpass doc. Quite a lot to read, but as I said, it's probably not the best option.


permanent link

answered 19 Apr '20, 20:10

H_mlet's gravatar image

accept rate: 13%

Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 19 Apr '20, 15:27

question was seen: 2,375 times

last updated: 19 Apr '20, 20:10

powered by OSQA