Hi; I am experiencing challenges harvesting building from a university with many campuses. The campuses are linked with a relation type=site and tagged amenity=university and the sites themselves are named uniquely while the operator= is the same.

[out:json];

area[name="Western Cape"]->.b;
way(area.b)[operator='Cape Peninsula University of Technology'];
map_to_area -> .a;

out body;
>;
out skel qt;

Executes correctly and returns the sites but

[out:json];

area[name="Western Cape"]->.b;
way(area.b)[operator='Cape Peninsula University of Technology'];
map_to_area -> .a;

way["building"](area.a);

out body;
>;
out skel qt;

does not return isolated buildings. Only buildings that are enclosed within University Grounds are returned and buildings not on "traditional" grounds are excluded - this is even though isolated buildings are University Grounds. How must the query change to accommodate isolated buildings not on "traditional" University Grounds? Are the Tags effective or should these change? Must University Grounds be a separate area bigger than features - such as building - it contains?

asked 25 Feb, 15:58

arkriger's gravatar image

arkriger
70159
accept rate: 0%

edited 23 Mar, 11:20

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

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:

×190
×124
×22
×8

question asked: 25 Feb, 15:58

question was seen: 211 times

last updated: 23 Mar, 11:20

powered by OSQA