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

Overpass: get address of a street

0

Hi,

I need to get all the addresses (buildings) of a street.

I currently have a query that gets me all the streets in an area:

[out:json][timeout:2500]; {{geocodeArea:Rome}}->.searchArea; ( way["highway"]"name"; ); for (t["name"]) { make street name=_.val; out; }.

But I can't get the data for each building on those streets.

Can you help me?

Thanks in advance

asked 25 Oct '22, 10:51

Pelioro's gravatar image

Pelioro
21112
accept rate: 0%

Please don't duplicate posts. Publish a routine that you've used & works.

(25 Oct '22, 11:05) DaveF

Source code available on GitHub .