Skip to content

Get building polygon using reverse geocoding #3696

Closed Answered by lonvia
VasinYuriy asked this question in Q&A
Discussion options

You must be logged in to vote

Done, see #3700. Your example now returns the mall building when used with layer=address:

https://nominatim.openstreetmap.org/reverse?lat=55.619467&lon=37.50928&format=geojson&polygon_geojson=1&layer=address

Note that this only works as long as the addr:* tags are really on the building, When addr:* tags are on nodes, then you still get the node returned. Nominatim cannot inherit towards building polygons yet, see #2926 among others.

(I've presumed here that you are not really interested in building polygons without any address. Please, correct me if that assumption is wrong.)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@lonvia
Comment options

Answer selected by VasinYuriy
@VasinYuriy
Comment options

@lonvia
Comment options

@VasinYuriy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants