I want to symbolize public buildings in OSM data.
For Example: There is a polygon and in column "amenity" it has the value "school". But i don't want to highlight this polygon, but the buildings inside this polygon.
How can I do this?
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
I'm assuming the "school" polygons and the "building" polygons are in the same layer? If so, I would approach this by creating a temporary layer of school polygons with a Query. Then save this layer as something else, like school.shp. Use the Spatial Query plugin to find "building" polygons in your original layer that are Within your "school" polygons. You can then save these as a new layer or give them an attribute you can use to highlight with a different style.
I see two potential possibilities:
a) schools are an attribute within a polygon just like "daycare" or "church" would be an attribute within the buildings polygon layer. In this instance you select by attributes within the table view would allow you to select all "Schools" or whatever you choice.
b) Might seem basic but I often get asked "why do the multiple polygons get selected when I try to click on one building". This often happens because multiple layers are available to be selected for a single given geographical point. Under the table of contents you can turn off layers in order to avoid selecting them.