NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the 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

sam1107
11112
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 ♦
32.6k18248554
accept rate: 18%

edited 22 Feb '18, 19:43

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:

×622
×252
×36
×11
×3

question asked: 22 Feb '18, 19:08

question was seen: 4,391 times

last updated: 22 Feb '18, 19:43

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