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 |
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. answered 21 Aug '15, 09:39 mmd 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
|
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. answered 21 Aug '15, 08:54 Frederik Ramm ♦ |