mapcomplete/Docs/Themes/rainbow_crossings.md

97 lines
4.4 KiB
Markdown

[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
## Rainbow pedestrian crossings ( [rainbow_crossings](https://mapcomplete.org/rainbow_crossings) )
_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:
> On this map, rainbow-painted pedestrian crossings are shown and can be easily added
This theme contains the following layers:
- [rainbow_crossing_high_zoom (defined in this theme)](#rainbow_crossing_high_zoom)
- [rainbow_crossings](../Layers/rainbow_crossings.md)
- [cycleways_and_roads](../Layers/cycleways_and_roads.md)
Available languages:
- en
- de
- fr
- da
- nl
- ru
- ca
- es
- cs
- zh_Hant
- pl
- hu
- uk
# Table of contents
- [Rainbow pedestrian crossings ( rainbow_crossings )](#rainbow-pedestrian-crossings-(-rainbow_crossings-))
1. [Layers defined in this theme configuration file](#layers-defined-in-this-theme-configuration-file)
2. [rainbow_crossing_high_zoom](#rainbow_crossing_high_zoom)
- [Basic tags for this layer](#basic-tags-for-this-layer)
- [Supported attributes](#supported-attributes)
+ [images](#images)
+ [crossing-with-rainbow](#crossing-with-rainbow)
+ [leftover-questions](#leftover-questions)
+ [move-button](#move-button)
+ [lod](#lod)
# Layers defined in this theme configuration file
These layers can not be reused in different themes.
# rainbow_crossing_high_zoom
This layer is based on [rainbow_crossings](../Layers/rainbow_crossings.md)
A layer showing pedestrian crossings with rainbow paintings
- This layer is shown at zoomlevel **10** and higher
- Not visible in the layer selection by default. If you want to make this layer toggable, override `name`
No themes use this layer
## Basic tags for this layer
Elements must match the expression **<a href='https://wiki.openstreetmap.org/wiki/Key:surface:colour' target='_blank'>surface:colour</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:surface:colour%3Drainbow' target='_blank'>rainbow</a>**
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22surface%3Acolour%22%3D%22rainbow%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
## Supported attributes
### images
This block shows the known images which are linked with the `image`-keys, but also via `mapillary` and `wikidata` and shows the button to upload new images
_This tagrendering has no question and is thus read-only_
*{image_carousel()}{image_upload()}*
### crossing-with-rainbow
The question is `Does this crossing has rainbow paintings?`
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/themes/rainbow_crossings/logo.svg' style='width: 3rem; height: 3rem'> *This crossing has rainbow paintings* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:surface:colour' target='_blank'>surface:colour</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:surface:colour%3Drainbow' target='_blank'>rainbow</a>
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/themes/rainbow_crossings/crossing.svg' style='width: 3rem; height: 3rem'> *No rainbow paintings here* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:not:surface:colour' target='_blank'>not:surface:colour</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:not:surface:colour%3Drainbow' target='_blank'>rainbow</a>
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/themes/rainbow_crossings/crossing.svg' style='width: 3rem; height: 3rem'> *No rainbow paintings here* is shown if with surface:colour!=rainbow. _This option cannot be chosen as answer_
### leftover-questions
_This tagrendering has no question and is thus read-only_
*{questions( ,)}*
### move-button
_This tagrendering has no question and is thus read-only_
*{move_button()}*
### 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/rainbow_crossings/rainbow_crossings.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/themes/rainbow_crossings/rainbow_crossings.json)