3

How can I get all the residential addresses within a bounding box? I tried the query from this question (reproduced here):

way
  ["building"~"residential|house|terrace|detached|apartments"]
  ({{bbox}});
(._;>;);
out;

The bounding box is whatever that is visible in the map area.

Whatever map I try this out on in Overpass Turbo, nothing is returned.

3
  • 1
    please tell us more about your process (what is your BoundingBOX, which query exactly ? ) what's wrong with the answer of gis.stackexchange.com/a/239504/53945 Sep 25, 2017 at 11:05
  • That answer addressed my problem. I was expecting addresses to show up in the results because there were clearly residential buildings in the displayed map. If I zoomed out, I saw addresses returned in the results. However, many the results did not have street addresses. Sep 25, 2017 at 19:15
  • How about searching for all nodes, ways (and relations) with addr:housenumber=* and then intersect them with landuse=residential. From this selection remove every node, way (or relation), which is tagged as a non-residential adress. Sep 26, 2017 at 5:25

1 Answer 1

4

"residential addresses" is not quite the same as "residential buildings" (which the other question was about). Where I'd start is:

  1. Go to https://taginfo.openstreetmap.org , type"addr:street" in the search box and press enter.
  2. Click the "Overpass turbo" link.
  3. Zoom in
  4. Run Query

Be aware, though, that depending on where you're searching not everything may have street addresses added, and street addresses might be separate from buildings and from points of interest.

2

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.