NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

My bounding box is this: 41.7679,12.2622,41.7732,12.2707

I am trying to extract the full address of all polygons in this bounding box, and at the moment I can only extract the polygons and their ID's.

Any idea on how this query should look like?

// i thought this is how you "constrain" the query in a bounding box
way(41.7679,12.2622,41.7732,12.2707);
((
// Query all buildings
  way[building=yes];
// and remove ...
  - 
// all buildings with a tag that doesn't start with letter 'b'
  way[building=yes][~"^[^b].*$"~"."]; 
); >; );
out;

Any suggestion would be greately appreciated, I couldn't find any sample query to extract the full address of those polygons.

asked 12 Jul '16, 16:19

MarkAllenLU's gravatar image

MarkAllenLU
11112
accept rate: 0%

1

Overpass API is not a geocoder. You might want to look at Nominatim instead for full addresses.

(12 Jul '16, 21:23) mmd

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×483

question asked: 12 Jul '16, 16:19

question was seen: 2,957 times

last updated: 12 Jul '16, 21:24

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum