NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the 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

izili
11112
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.

Regards.

permanent link

answered 19 Apr '20, 20:10

H_mlet's gravatar image

H_mlet
5.4k1781
accept rate: 13%

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:

×228
×95
×6

question asked: 19 Apr '20, 15:27

question was seen: 3,984 times

last updated: 19 Apr '20, 20:10

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum