Hi. I am experiencing challenges querying buildings on a campus via overpass with

area[name='Cape Peninsula University of Technology (Bellville Campus)']->.a;
    // I want all buildings

    // plus every building:part
  // and multipolygon relation ¬ to represent buildings with courtyards correctly
  // excluding buildings with relation type=building role=outline ¬ I want to correct form/height of the part
    // for every way in the input set select the relations of which it is an "outline" member
    // back to the ways with role "outline"
out body;
out skel qt;

three buildings are not being harvested correctly https://www.openstreetmap.org/relation/12469713, https://www.openstreetmap.org/relation/12442311 and https://www.openstreetmap.org/relation/12445158 are building:parts with a courtyard (multipolygon relation role=inner) that exist within an outline type=building relation which contain the same courtyard. (i.e.: the courtyard is inside a building:part and the role=outer is coming with the query even though I’ve excluded the outline).

I want the form/shape and height of the building:part and not the outline; while being mindful of every other structure on the campus. How do I exclude the relation type=multipolygon role=outer when type=building role=outline already exists for a structure? Have I created the relations incorrectly? Your help is appreciated.

asked 22 Mar, 07:24

arkriger's gravatar image

accept rate: 0%

Be the first one to answer this question!
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 Mar, 07:24

question was seen: 102 times

last updated: 22 Mar, 07:24

powered by OSQA