This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

[closed] Overpass Turbo doesn’t find all parkings

0

I'm newbie on Overpass Turbo.

In JOSM I entered following query:

area["name"="Arboga kommun"];
nwr["amenity"="parking"](area);
out;

But it only returns parking's mapped on nodes, but not parking areas. All of these have tag "amenity=parking".

What do I wrong?

asked 23 Jul '22, 15:03

Msiipola's gravatar image

Msiipola
227171826
accept rate: 0%

edited 23 Jul '22, 18:36


One Answer:

2

out on its own doesn't download the lat/lon for nodes that make up ways, so can't display them.

area[name="Arboga kommun"];
nwr[amenity=parking](area);
(._;>;); out meta;

answered 23 Jul '22, 18:09

DaveF's gravatar image

DaveF
3.3k8498133
accept rate: 16%

Thanks for the clarification! I knew I had missed something!

(23 Jul '22, 18:35) Msiipola

Source code available on GitHub .