2
1

Is it possible to obtain the whole street (through the api) by having a way id of only one part of the street?

For example http://www.openstreetmap.org/way/49055428 is just a part of the "Rue Mansard" which also consists of http://www.openstreetmap.org/way/100012684

asked 21 Aug '15, 08:12

Matsli's gravatar image

Matsli
76228
accept rate: 0%

edited 21 Aug '15, 08:12


2 Answers:
7

Someone requested this feature for Overpass API and there's even a Github ticket for the main OSM site.

As of today, a sneak preview version is already available for testing: http://overpass-turbo.eu/s/857

Starting with a given way, it will return all ways with the same name, even if there are some small gaps in between.

Currently, I don't have any details, as of when this will be available on overpass-api.de as well.

permanent link

answered 21 Aug '15, 09:39

mmd's gravatar image

mmd
5.6k14988
accept rate: 37%

edited 21 Aug '15, 09:52

NB: Meanwhile, the sneak preview has been taken offline, as one user sent over 200`000 requests to our development box. For these kind of large scale activities, I strongly recommend to set up and use your own infrastructure next time.

Please refer to the screenshots in the mentioned Github ticket for the time being.

Thanks for your understanding.

(22 Aug '15, 16:16) mmd
4

No, this is not possible through the API. You have to download and analyse the data yourself (i.e. check whether there's another way that shares an end node and has the same name etc.) -- Note that sometimes not even this check will work because streets can be interrupted by a small plaza, or roundabout, or something.

permanent link

answered 21 Aug '15, 08:54

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
73.3k866641137
accept rate: 24%

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:

×248
×83

question asked: 21 Aug '15, 08:12

question was seen: 48,926 times

last updated: 22 Aug '15, 16:36

powered by OSQA