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

How to create Street Address List

0

I can write an overpass turbo wizard query to find all the street addresses in my town. I would like to export the list as a csv file. Can anyone help?

asked 02 Aug '18, 10:07

Alan01730's gravatar image

Alan01730
464343552
accept rate: 0%


One Answer:

0

Overpass-API has a csv output mode.

An setting like [out:csv(::lat, ::lon, "addr:housenumber","addr:unit","addr:street","addr:postcode","addr:city")]; will request csv output with the fields there (empty values if a given OSM object does't have the tag).

You'd probably want to look through the data you are retrieving and include more tags than that.

answered 02 Aug '18, 11:02

maxerickson's gravatar image

maxerickson
12.7k1083176
accept rate: 32%

2

Just as a clarification: OSM currently uses postal addresses in the addr:* tags, these may be in particular different from the concept of a "street address" particularly in that addr:city should refer to the postal city and not the actual administrative unit/place the address is located in.

(02 Aug '18, 11:07) SimonPoole ♦