# Schoolstreets
###### tags: `MapComplete`
## Tagging
See https://wiki.openstreetmap.org/wiki/Proposed_features/Schoolstreet#Belgium
```
(access=yes)
schoolstreet=yes
designation=BE:schoolstreet
vehicle:conditional=no @ (school-hours-in-opening-hours-syntax-including SH off; PH off); yes @ permit
bicycle=yes
speed_pedelec=yes
maxspeed:conditional=walk @ (school-hours-in-opening-hours-syntax including SH off)
```
### Motivation
* **access=yes** is NOT needed when access:conditional = no @ condition [wiki](https://wiki.openstreetmap.org/wiki/Conditional_restrictions#Default_restrictions)
* **schoolstreet=yes** can be used in any country that has similar concepts. This does not imply strict legal definitions, similar to cyclestreet=yes which has legal implications in Belgium, but not in the Netherlands
* **designation=BE:schoolstreet**. The details of what schoolstreet entails in Belgium are relatively hard to map [Legal definition of the Belgian schoolstreet here](https://wegcode.be/wetteksten/secties/kb/wegcode/2172-art22undecies).
To make it possible to decide for oneself (as a data user) and to make it easier to do QA (as a mapper), it is best to have a tag with a reference to the exact legal definition. Because the legal definition of schoolstreet can be different from country to country, we add "BE:schoolstreet".
* **vehicle:conditional**
* Why **vehicle:conditional=no** @ CONDITION as opposed to vehicle:conditional=**yes** @ CONDITION
* the NO hours are what are on the traffic sign, so easier for the mapper
* using conditional-NO, all the unmentioned cases stay on YES. Using conditional-YES, you need more tags to overrule the default vehicle=no
* the vast majority of the time, the road is in fact accessible. So if the conditional-no is ignored, it's still correct most of the time
* There is an exception for people with a special permit, hence **yes @ permit**. There might also be an exception for residents.
* When is it closed? `school-hours-in-opening-hours-syntax-including SH off; PH off` The hours and days themselves can be copied from the sign. It is **not** explicitly signposted that you can access when there is no school (SH=school holiday, PH=public holiday). However, we can assume that this is the intention of the lawmaker and should not bother motorists when they obviously are allowed to enter.
* The restriction is for ALL vehicles, except "rijwielen" (a broad definition of bicycles) and speed pedelecs (fast e-bikes). hence we add (e.g. there's no tag for the concept "rijwiel". and **speed_pedelec=yes**
* **maxspeed:conditional=walk**
## See also
* [Belgian Forum post](https://forum.openstreetmap.org/viewtopic.php?id=64193)
* [The Australian case](https://wiki.openstreetmap.org/wiki/Australian_Tagging_Guidelines#School_zones)*
* [Tagging thread](https://lists.openstreetmap.org/pipermail/tagging/2021-May/thread.html#61614), with [my summary](https://lists.openstreetmap.org/pipermail/tagging/2021-May/061637.html)
* [Previous Belgian proposal](https://wiki.openstreetmap.org/wiki/Road_signs_in_Belgium/C_Prohibitory_signs#C3)
## Traffic signs
* Download dump "verkeersborden" at https://wegenenverkeer.be/zakelijk/documenten?documents%5B0%5D=type_document%3AOpen%20Data&documents%5B1%5D=type_document%3Aopen%20data
* QGIS Filter schoolstraat: "parameters" ILIKE '%schoolstraat%'. (One could do some manual cleaning, as there are some signs that are for streets that are called Schoolstraat.)
* export as schoolstraten_verkeersborden.geojson in EPSG 4326 and save nothing but 'bordId' and 'parameters'.
* QGIS Filter fietsstraat: "code"= 'F111' OR "code" = 'F113' OR "code"= 'ZF111' OR "code" = 'ZF113'
* export as fietsstraten_verkeersborden.geojson in EPSG 4326 and save nothing but 'bordId' and 'code'.
## MapComplete
[Draft as an extension of the Cyclestreets version](
https://mapcomplete.osm.be/?z=15&lat=50.74468&lon=4.25203&userlayout=https%3A%2F%2Fraw.githubusercontent.com%2Fosmbe%2Fplay%2Fmaster%2Fmapcomplete%2Fcyclestreets%2Fcyclestreets.json#way/90341210), powered by this [json file](https://github.com/osmbe/play/blob/master/mapcomplete/cyclestreets/cyclestreets.json)
Traffic signs available here https://hackmd.io/QlUzQoY_RQmWy328L2Bz9Q
To do:
- [x] add opening hours to the access:conditional and maxspeed:conditional. For now, they could be saved in a special fixme > on the condition that motor_vehicle:conditional is empty >>> added to school_hours for now . Only show question if conditional is missing
- [x] add proper tags to the cases I found
- [x] add data about traffic signs for cyclestreets
- [x] add data about traffic signs for schoolstraten
- [x] for cyclestreets, add designation=BE:cyclestreet for cases in Belgium _country=be > it works! Just not for answer options
- [x] check what happens with schoolstreet AND cyclestreet at the same time (maybe try and render dash-red-dash-blue?)
- [ ] traffic signs shouldn't be editable?! add "condtion": "key=value" to every roaming question
- [x] traffic signs should link to Mapillary
- [ ] for cyclestreets in other countries, it might be fun to have country-specific tags
- ~~deactivate popup for traffic signs: it is by not setting a title and by removing the tag renderings (remove mapillary link)~~
- [x] show traffic sign icons instead of circles