MapComplete/Docs/Themes/winter_service.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

95 lines
5.6 KiB
Markdown
Raw Normal View History

2025-04-05 02:18:45 +02:00
[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
## Winter Service ( [winter_service](https://mapcomplete.org/winter_service) )
_This document details some technical information about this MapComplete theme, mostly about the attributes used in the theme. Various links point toward more information about the attributes, e.g. to the OpenStreetMap-wiki, to TagInfo or tools creating statistics_
The theme introduction reads:
> A map showing roads and whether they're cleared in winter
This theme contains the following layers:
- [serviced_streets (defined in this theme)](#serviced_streets)
- [all_streets](../Layers/all_streets.md)
Available languages:
- en
# Table of contents
- [Winter Service ( winter_service )](#winter-service-(-winter_service-))
1. [Layers defined in this theme configuration file](#layers-defined-in-this-theme-configuration-file)
2. [serviced_streets](#serviced_streets)
- [Basic tags for this layer](#basic-tags-for-this-layer)
- [Supported attributes](#supported-attributes)
2025-04-10 04:51:26 +02:00
- [Featureview elements and TagRenderings](#featureview-elements-and-tagrenderings)
2025-04-05 02:18:45 +02:00
+ [winter_service](#winter_service)
+ [leftover-questions](#leftover-questions)
+ [lod](#lod)
# Layers defined in this theme configuration file
These layers can not be reused in different themes.
# serviced_streets
Streets that have some form of winter service
- This layer is shown at zoomlevel **16** and higher
- Not rendered on the map by default. If you want to rendering this on the map, override `mapRenderings`
No themes use this layer
## Basic tags for this layer
Elements must match **all** of the following expressions:
0. <a href='https://wiki.openstreetmap.org/wiki/Key:winter_service' target='_blank'>winter_service</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:winter_service%3Dyes' target='_blank'>yes</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:winter_service' target='_blank'>winter_service</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:winter_service%3Dlimited' target='_blank'>limited</a>
1. highway~.+
2. highway!=platform
3. service!=driveway
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22winter_service%22%3D%22yes%22%5D%5B%22highway%22%5D%5B%22highway%22!%3D%22platform%22%5D%5B%22service%22!%3D%22driveway%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22winter_service%22%3D%22limited%22%5D%5B%22highway%22%5D%5B%22highway%22!%3D%22platform%22%5D%5B%22service%22!%3D%22driveway%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
## Supported attributes
2025-04-10 04:51:26 +02:00
**Warning:**: this quick overview is incomplete
2025-04-05 02:18:45 +02:00
| attribute | type | values which are supported by this layer |
-----|-----|----- |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/winter_service#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/winter_service/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [winter_service](https://wiki.openstreetmap.org/wiki/Key:winter_service) | Multiple choice | [yes](https://wiki.openstreetmap.org/wiki/Tag:winter_service%3Dyes) [limited](https://wiki.openstreetmap.org/wiki/Tag:winter_service%3Dlimited) [no](https://wiki.openstreetmap.org/wiki/Tag:winter_service%3Dno) |
2025-04-10 04:51:26 +02:00
## Featureview elements and TagRenderings
| id | question | labels | freeform key |
-----|-----|-----|----- |
| [winter_service](#winter_service) | Is this road serviced (e.g. cleared of snow) in winter?<br/>3 options | | _Multiple choice only_ |
2025-04-15 18:18:44 +02:00
| [leftover-questions](#leftover-questions) | _{questions( ,hidden)}_ | ignore-docs, added_by_default | _Multiple choice only_ |
2025-04-10 04:51:26 +02:00
| [lod](#lod) <br/> _(Original in [questions](./BuiltinQuestions.md#lod))_ | _{linked_data_from_website()}_ | added_by_default | _Multiple choice only_ |
2025-04-05 02:18:45 +02:00
### winter_service
The question is `Is this road serviced (e.g. cleared of snow) in winter?`
- <img width='38px' height='38px' src='https://dev.mapcomplete.org/snowflake:green'> *This road is serviced in winter* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:winter_service' target='_blank'>winter_service</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:winter_service%3Dyes' target='_blank'>yes</a>
- <img width='38px' height='38px' src='https://dev.mapcomplete.org/snowflake:yellow'> *This road is serviced in winter, but only to a limited extent. This is often signposted as well.* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:winter_service' target='_blank'>winter_service</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:winter_service%3Dlimited' target='_blank'>limited</a>
- <img width='38px' height='38px' src='https://dev.mapcomplete.org/snowflake:red'> *This road is not serviced in winter* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:winter_service' target='_blank'>winter_service</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:winter_service%3Dno' target='_blank'>no</a>
### leftover-questions
_This tagrendering has no question and is thus read-only_
*{questions( ,hidden)}*
2025-04-15 18:18:44 +02:00
This tagrendering has labels
`ignore-docs`
`added_by_default`
2025-04-05 02:18:45 +02:00
### lod
_This tagrendering has no question and is thus read-only_
*{linked_data_from_website()}*
This tagrendering has labels
`added_by_default`
This document is autogenerated from [assets/themes/winter_service/winter_service.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/themes/winter_service/winter_service.json)