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

CSV of nodes with city name located in country

1

Hello,

I need help with a query in Overpass (or similar service). It should be CSV output of nodes with name="ABC" in country="XYZ" and name of the city where the node is located. Some nodes but don't have tag addr:city=.* or similar.

The CSV should look like something like this:

csv(id,type,name,city)

asked 02 Jul '23, 07:18

mapperue's gravatar image

mapperue
26113
accept rate: 0%

edited 02 Jul '23, 07:42

Show us what code you have at the moment.

(02 Jul '23, 11:31) DaveF

Source code available on GitHub .