Hello List, is there a way to get amenity=school polygons or nodes inside amenity=school polygons? asked 22 Apr '21, 09:19 Cascafico |
One Answer:
Use Overpass, find all school polygons in an area and then for each one see if there is a school within it. This example is based on the fairways example from the OSM Wiki;
I happen to know of at least one school within a school (which in this case is not a bug, so please don't 'fix' it) within this city. answered 22 Apr '21, 13:14 SK53 ♦ |
I'm aware there are some discussions about considering it an issue. I commented school wiki page [1] and I hope conclusions will go for landuse=school.
Thanks for the fast and clear example... and don't worry for your school ;-)
[1] https://wiki.openstreetmap.org/wiki/Talk:Tag:amenity%3Dschool#Use_of_landuse.3Dschool
This is an extreme minority view about amenity=school, unsubstantiated by any meaningful discussion. All educational institutions can be assumed to have an implicit landuse of education, but there is nothing to be gained from adding it explicitly, and "school" would be the wrong value anyway.
In OSM I think there is a fundamental difference between phisical objects and functional ones:
- landuse is phisical
- amenity is functional
Hence IMHO there is no redundancy in using a tagging schema like this:
building=school (inner poly)
amenity=school (whatever primitive your knowledge represents better the function)
landuse=school (outer poly)
I came to this schema trying to map a school which I know very well. An area used by 3 different inner schools, each with its own isced:level and name.