are all schools tagged in the same way? or do some countries do use a specal tag-(system)?
update: thanks to the responders: what does this mean https://taginfo.openstreetmap.org/tags/amenity=school
Typ
countl Objekte all: 592 443 0.02%
[Node] Node 325 974 0.36%
[Way] Way 260 384 0.11%
[Relation] Relation 6 085 0.23%
end of update: thanks
we have the central ressource for the tag-system http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dschool
how can we evaluate that?
This area should envelop the full grounds of the school including all the buildings, sports facilities and grounds. For schools with multiple sites the multipolygon relation can be used. Tag the element with amenity=school and name=* for the name of school. Suggested additional tags include:
operator=* - Name of operator, often the local education authority. addr=* - Address details capacity=*, for the number of pupils taught at the school isced:level=*, for the educational level (proposed tags) fee=yes if the the school makes a direct charge for core services. religion=*, if the school is associated with a particular religion (also denomination=*) wikipedia=*, for a link to a Wikipedia article about the school website=*, for a link to the school's own website Public-images-osm logo.svg building = school Convent School's Pippal.JPG Description A generic school building. Used on these
elements may be used on nodes should not be used on ways may be used on areas may be used on relations Useful combination
name=* amenity=school amenity=college amenity=kindergarten See also building=university
How to map
there is just one school building: Map the outline of the area Area of the building and add the tags amenity=school and building=school. Of course you can add name=* and address as well.
Well - i wonder how we can get a concrete and concise result if we do a request for all the schools in the world
<!--
This query looks for nodes, ways and relations
with the given key/value combination.
Choose your region and hit the Run button above!
-->
<osm-script output="json" timeout="25">
<!-- gather results -->
<union>
<!-- query part for: “building=school” -->
<query type="node">
<has-kv k="building" v="school"/>
<bbox-query {{bbox}}/>
</query>
<query type="way">
<has-kv k="building" v="school"/>
<bbox-query {{bbox}}/>
</query>
<query type="relation">
<has-kv k="building" v="school"/>
<bbox-query {{bbox}}/>
</query>
</union>
<!-- print results -->
<print mode="body"/>
<recurse type="down"/>
<print mode="skeleton" order="quadtile"/>
</osm-script>
btw - this above code does not function - and this below also not. what is wrong here?
This query looks for nodes, ways and relations
with the given key/value combination.
Choose your region and hit the Run button above!
-->
<osm-script output="json" timeout="25">
<!-- gather results -->
<union>
<!-- query part for: “building=school” -->
<query type="node">
<has-kv k="building" v="school"/>
<bbox-query {51.5557914,0.2118915,51.5673083,0.2369398}/>
</query>
<!-- print results -->
<print mode="body"/>
<recurse type="down"/>
<print mode="skeleton" order="quadtile"/>
</osm-script>
can you help out!?