2

I would like to extract all surface parking spots in germany as nodes from osm. Gladly I have found overpass-turbo.eu, but unfortunately it is not working for my purpose... Either the server is too busy or I get a timeout. My request is:

/*
This has been generated by the overpass-turbo wizard.
The original search was:
“parking=surface in germany”
*/
[out:xml][timeout:500000];
// fetch area “germany” to search in
{{geocodeArea:germany}}->.searchArea;
// gather results
(
  // query part for: “parking=surface”
  node["parking"="surface"](area.searchArea);
);
// print results
out body;
>;
out skel qt;

Am I doing something wrong?

5
  • 1
    what happens if you try a smaller area?
    – Ian Turton
    Sep 4, 2017 at 13:01
  • it is still not working for geocodeArea:bavaria or geocodeArea:cologne
    – Numpi
    Sep 4, 2017 at 13:05
  • 1
    Your timeout value is way too high, that's almost 6 days! In any case try a really small area first (e.g. Saarland) to check if results are what you're looking for. I doubt that's the case with your current query.
    – mmd
    Sep 4, 2017 at 13:24
  • Maybe you should look into osmfilter on a Geofabrik extract,
    – AndreJ
    Sep 4, 2017 at 15:24
  • 3
    The bigger issue is that many amenity=parking are mapped as way, so for Germany, you're missing out on 327695 ways, see: taginfo.openstreetmap.org/tags/amenity=parking
    – mmd
    Sep 4, 2017 at 15:38

1 Answer 1

3

It worked with the following code

[timeout:600];
{{geocodeArea:germany}}->.searchArea;

// gather results
node[amenity="parking"](area.searchArea);

// print results
out body;
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.