Why not ask your question on the new OpenStreetMap Community Forum?

I am very new to OSM. I am working on a computer vision project to segment buildings using Aerial images. I am looking for data that has the geographic coordinates of building corners. I cam e across JOSM to label building, but not sure how to extract the data. I'd be glad if someone could point me to the right direction to get the data.

asked 22 Feb '18, 19:08

sam1107's gravatar image

accept rate: 0%

Read https://wiki.openstreetmap.org/wiki/Elements and https://wiki.openstreetmap.org/wiki/Key:building

If a (closed) way is tagged as building, then the way's nodes are the building corners. Each node has coordinates.

If a relation is tagged as building it is more complicated - see https://wiki.openstreetmap.org/wiki/Relation:multipolygon , but 99% of all buildings are simply closed ways, so I think for the start you can ignore relations.

And for really getting filtered data https://wiki.openstreetmap.org/wiki/Overpass_turbo is your friend (use its wizard for the start).

permanent link

answered 22 Feb '18, 19:41

aseerel4c26's gravatar image

aseerel4c26 ♦
accept rate: 18%

edited 22 Feb '18, 19:43

Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 22 Feb '18, 19:08

question was seen: 3,692 times

last updated: 22 Feb '18, 19:43

powered by OSQA