mapcomplete/Docs/Layers/maproulette_challenge.md

205 lines
7.3 KiB
Markdown

[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
maproulette\_challenge
======================
Layer showing tasks of a single MapRoulette challenge. This layer is intended to be reused and extended in themes; refer to [the documentation](https://github.com/pietervdvn/MapComplete/blob/develop/Docs/Integrating_Maproulette.md) on how to do this.
* This layer is shown at zoomlevel **0** and higher
* Not visible in the layer selection by default. If you want to make this layer toggable, override `name`
* ![](../warning.svg) This layer is loaded from an external source, namely `https://maproulette.org/api/v2/challenge/view/27971`
Table of contents
-----------------
1. [Themes using this layer](#-themes-using-this-layer-)
2. [Basic tags for this layer](#-basic-tags-for-this-layer-)
3. [Supported attributes](#-supported-attributes-)
* [just\_created](#just_created)
* [details](#details)
* [status](#status)
* [leftover-questions](#leftover-questions)
* [lod](#lod)
* [minimap](#minimap)
* [last\_edit](#last_edit)
* [favourite\_status](#favourite_status)
* [qr\_code](#qr_code)
* [share](#share)
* [all-tags](#all-tags)
* [Filters](#filters)
Themes using this layer
-----------------------
* [atm](https://mapcomplete.org/atm)
* [onwheels](https://mapcomplete.org/onwheels)
* [personal](https://mapcomplete.org/personal)
* [street\_lighting\_assen](https://mapcomplete.org/street_lighting_assen)
Basic tags for this layer
-------------------------
Elements must match the expression **mr\_taskId~.+**
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22mr_taskId%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
Supported attributes
--------------------
Warning:
this quick overview is incomplete
attribute
type
values which are supported by this layer
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/id#values) [id](https://wiki.openstreetmap.org/wiki/Key:id)
Multiple choice
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/mr_taskStatus#values) [mr\_taskStatus](https://wiki.openstreetmap.org/wiki/Key:mr_taskStatus)
Multiple choice
[Created](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DCreated) [Fixed](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DFixed) \[False positive\]([https://wiki.openstreetmap.org/wiki/Tag:mr\_taskStatus%3DFalse](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DFalse) positive) [Skipped](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DSkipped) [Deleted](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DDeleted) \[Already fixed\]([https://wiki.openstreetmap.org/wiki/Tag:mr\_taskStatus%3DAlready](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DAlready) fixed) \[Too hard\]([https://wiki.openstreetmap.org/wiki/Tag:mr\_taskStatus%3DToo](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DToo) hard) [Disabled](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DDisabled)
### just\_created
This element shows a 'thank you' that the contributor has recently created this element
This tagrendering has no question and is thus read-only
* _You just created this element! Thanks for sharing this info with the world and helping people worldwide._ corresponds with id~.+
This tagrendering is only visible in the popup if the following condition is met: `_last_edit:passed_time<300 & (_version_number= | <a href='https://wiki.openstreetmap.org/wiki/Key:_version_number' target='_blank'>_version_number</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:_version_number%3D1' target='_blank'>1</a>) & _backend~.+`
This tagrendering has labels `added_by_default`
### details
This tagrendering has no question and is thus read-only
### status
This tagrendering has no question and is thus read-only
* _Task is created_ corresponds with [mr\_taskStatus](https://wiki.openstreetmap.org/wiki/Key:mr_taskStatus)\=[Created](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DCreated)
* _Task is fixed_ corresponds with [mr\_taskStatus](https://wiki.openstreetmap.org/wiki/Key:mr_taskStatus)\=[Fixed](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DFixed)
* _Task is a false positive_ corresponds with [mr\_taskStatus](https://wiki.openstreetmap.org/wiki/Key:mr_taskStatus)\=[False positive](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DFalse positive)
* _Task is skipped_ corresponds with [mr\_taskStatus](https://wiki.openstreetmap.org/wiki/Key:mr_taskStatus)\=[Skipped](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DSkipped)
* _Task is deleted_ corresponds with [mr\_taskStatus](https://wiki.openstreetmap.org/wiki/Key:mr_taskStatus)\=[Deleted](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DDeleted)
* _Task is already fixed_ corresponds with [mr\_taskStatus](https://wiki.openstreetmap.org/wiki/Key:mr_taskStatus)\=[Already fixed](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DAlready fixed)
* _Task is marked as too hard_ corresponds with [mr\_taskStatus](https://wiki.openstreetmap.org/wiki/Key:mr_taskStatus)\=[Too hard](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DToo hard)
* _Task is disabled_ corresponds with [mr\_taskStatus](https://wiki.openstreetmap.org/wiki/Key:mr_taskStatus)\=[Disabled](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DDisabled)
### leftover-questions
This tagrendering has no question and is thus read-only
### lod
This tagrendering has no question and is thus read-only
This tagrendering has labels `added_by_default`
### minimap
Shows a small map with the feature. Added by default to every popup
This tagrendering has no question and is thus read-only
### last\_edit
Gives some metainfo about the last edit and who did edit it - rendering only
This tagrendering has no question and is thus read-only
This tagrendering is only visible in the popup if the following condition is met: `_last_edit:changeset~.+ & _last_edit:contributor~.+`
This tagrendering has labels `added_by_default`
### favourite\_status
This tagrendering has no question and is thus read-only
### qr\_code
This tagrendering has no question and is thus read-only
This tagrendering has labels `added_by_default`
### share
This tagrendering has no question and is thus read-only
This tagrendering has labels `added_by_default`
### all-tags
This tagrendering has no question and is thus read-only
#### Filters
id
question
osmTags
status.0
Show tasks with all statuses (default)
status.1
Show tasks that are created
mr\_taskStatus=Created
status.2
Show tasks that are fixed
mr\_taskStatus=Fixed
status.3
Show tasks that are false positives
mr\_taskStatus=False positive
status.4
Show tasks that are skipped
mr\_taskStatus=Skipped
status.5
Show tasks that are deleted
mr\_taskStatus=Deleted
status.6
Show tasks that are already fixed
mr\_taskStatus=Already fixed
status.7
Show tasks that are marked as too hard
mr\_taskStatus=Too hard
status.8
Show tasks that are disabled
mr\_taskStatus=Disabled
This document is autogenerated from [assets/layers/maproulette\_challenge/maproulette\_challenge.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/maproulette_challenge/maproulette_challenge.json)