Hello! As mentionned here (https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_API_by_Example#List_of_streets) one can use
to get all streets for a given city. However, A lot of streets are missing (for example in Passau, Germany). However, on openstreetmap.org on the official map the street can be found. Am I missing something? Thanks for your help. asked 03 Mar '20, 14:03 vielhuber |
I had the wrong API endpoint URL. Had to use: https://lz4.overpass-api.de/api/interpreter instead of https://overpass-api.de/api/interpreter. answered 03 Mar '20, 16:30 vielhuber That's weird, I got 9117 (non-uniq) results in either cases. Actually on the wiki I find that one URL is a redirection to the other (with a round-robin to another one). Maybe a temporary problem on the server ? Do you have missing streets examples ? Regards
(03 Mar '20, 20:55)
H_mlet
Just try out: [out:csv("name";false)]; area[name="Passau"]; way(area)[highway][name]; out; On https://overpass-turbo.eu/ I don't find "Baumannstraße", on https://lz4.overpass-api.de/api/interpreter (via a direct request) I receive "Baumannstraße".
(03 Mar '20, 21:05)
vielhuber
That's really weird, as said before there's a 50-50 chance that it's the same server ! When I use lz4 through turbo, I get the same result, without Baumannstraße. But when I look specifically for it, it comes :
And when I display the results of your query, the Baumannstraße is highlighted. But my browser can't find it in the data. :-( https://overpass-turbo.eu/s/Rh4
(03 Mar '20, 22:40)
H_mlet
But when I download the data (either as OSM from the linked query, or as CSV from your query : https://overpass-api.de/api/interpreter?data=%5Bout%3Acsv%28%22name%22%3Bfalse%29%5D%3B%20area%5Bname%3D%22Passau%22%5D%3B%20way%28area%29%5Bhighway%5D%5Bname%5D%3B%20out%3B ) I can find it in the downloaded file ! Well and it works again when I copy from the data tab to a file, so I guess the problem is with my browser search engine... My browser is Firefox 68.5.0esr. Can you confirm it's only a browser problem ?
(03 Mar '20, 22:50)
H_mlet
Yes I can confirm that. When I do a GET request via console or Postman, I get both for https://lz4.overpass-api.de/api/interpreter and for https://overpass-api.de/api/interpreter "Baumannstraße". But not in the webinterface https://overpass-turbo.eu/.
(03 Mar '20, 23:18)
vielhuber
|