227 lines
No EOL
6.6 KiB
JSON
227 lines
No EOL
6.6 KiB
JSON
{
|
|
"id": "maproulette_challenge",
|
|
"name": null,
|
|
"description": {
|
|
"en": "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.",
|
|
"de": "Ebene mit Aufgaben einer einzelnen MapRoulette-Herausforderung. Diese Ebene soll in Themen wiederverwendet und erweitert werden; Informationen dazu finden Sie in der [Dokumentation](https://github.com/pietervdvn/MapComplete/blob/develop/Docs/Integrating_Maproulette.md).",
|
|
"nl": "Laag met taken van een MapRoulette uitdaging"
|
|
},
|
|
"source": {
|
|
"osmTags": "mr_taskId~*",
|
|
"geoJson": "https://maproulette.org/api/v2/challenge/view/27971",
|
|
"isOsmCache": false
|
|
},
|
|
"title": {
|
|
"render": {
|
|
"en": "Item in MapRoulette",
|
|
"de": "Aufgabe in MapRoulette",
|
|
"nl": "Item uit MapRoulette"
|
|
}
|
|
},
|
|
"titleIcons": [
|
|
{
|
|
"id": "maproulette",
|
|
"render": "<a href='https://maproulette.org/challenge/{mr_challengeId}/task/{mr_taskId}' target='_blank'><img src='./assets/layers/maproulette/logomark.svg'/></a>"
|
|
}
|
|
],
|
|
"mapRendering": [
|
|
{
|
|
"location": [
|
|
"point",
|
|
"centroid"
|
|
],
|
|
"icon": {
|
|
"render": "./assets/layers/maproulette/logomark.svg",
|
|
"mappings": [
|
|
{
|
|
"if": "mr_taskStatus=Created",
|
|
"then": "pin:#959DFF"
|
|
},
|
|
{
|
|
"if": "mr_taskStatus=Fixed",
|
|
"then": "pin:#65D2DA"
|
|
},
|
|
{
|
|
"if": "mr_taskStatus=False positive",
|
|
"then": "pin:#F7BB59"
|
|
},
|
|
{
|
|
"if": "mr_taskStatus=Skipped",
|
|
"then": "pin:#F7BB59"
|
|
},
|
|
{
|
|
"if": "mr_taskStatus=Deleted",
|
|
"then": "pin:#737373"
|
|
},
|
|
{
|
|
"if": "mr_taskStatus=Already fixed",
|
|
"then": "pin:#CCB186"
|
|
},
|
|
{
|
|
"if": "mr_taskStatus=Too hard",
|
|
"then": "pin:#FF5E63"
|
|
},
|
|
{
|
|
"if": "mr_taskStatus=Disabled",
|
|
"then": "pin:#FF349C"
|
|
}
|
|
]
|
|
},
|
|
"iconSize": "40,40,bottom"
|
|
}
|
|
],
|
|
"tagRenderings": [
|
|
{
|
|
"id": "details",
|
|
"render": "{maproulette_task()}"
|
|
},
|
|
{
|
|
"id": "status",
|
|
"render": "Current status: {status}",
|
|
"mappings": [
|
|
{
|
|
"if": "mr_taskStatus=Created",
|
|
"then": {
|
|
"en": "Task is created",
|
|
"de": "Aufgabe wurde erstellt",
|
|
"nl": "Taak is aangemaakt"
|
|
}
|
|
},
|
|
{
|
|
"if": "mr_taskStatus=Fixed",
|
|
"then": {
|
|
"en": "Task is fixed",
|
|
"de": "Aufgabe wurde erledigt",
|
|
"nl": "Taak is opgelost"
|
|
}
|
|
},
|
|
{
|
|
"if": "mr_taskStatus=False positive",
|
|
"then": {
|
|
"en": "Task is a false positive",
|
|
"de": "Aufgabe ist ein falsches Positiv",
|
|
"nl": "Taak is vals positief"
|
|
}
|
|
},
|
|
{
|
|
"if": "mr_taskStatus=Skipped",
|
|
"then": {
|
|
"en": "Task is skipped",
|
|
"de": "Aufgabe wurde übersprungen",
|
|
"nl": "Taak is overgeslagen"
|
|
}
|
|
},
|
|
{
|
|
"if": "mr_taskStatus=Deleted",
|
|
"then": {
|
|
"en": "Task is deleted",
|
|
"de": "Aufgabe wurde gelöscht",
|
|
"nl": "Taak is verwijderd"
|
|
}
|
|
},
|
|
{
|
|
"if": "mr_taskStatus=Already fixed",
|
|
"then": {
|
|
"en": "Task is already fixed",
|
|
"de": "Aufgabe wurde bereits erledigt",
|
|
"nl": "Taak is al opgelost"
|
|
}
|
|
},
|
|
{
|
|
"if": "mr_taskStatus=Too hard",
|
|
"then": {
|
|
"en": "Task is marked as too hard",
|
|
"de": "Aufgabe wurde als zu schwer markiert",
|
|
"nl": "Taak is gemarkeerd als te lastig"
|
|
}
|
|
},
|
|
{
|
|
"if": "mr_taskStatus=Disabled",
|
|
"then": {
|
|
"en": "Task is disabled",
|
|
"de": "Aufgabe wurde deaktiviert",
|
|
"nl": "Taak is uitgeschakeld"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"filter": [
|
|
{
|
|
"id": "status",
|
|
"options": [
|
|
{
|
|
"question": {
|
|
"en": "Show tasks with all statuses",
|
|
"de": "Aufgaben mit allen Status anzeigen",
|
|
"nl": "Toon alle taken, ongeacht de status"
|
|
}
|
|
},
|
|
{
|
|
"question": {
|
|
"en": "Show tasks that are created",
|
|
"de": "Aufgaben anzeigen, die erstellt wurden",
|
|
"nl": "Toon taken die zijn gecreëerd"
|
|
},
|
|
"osmTags": "mr_taskStatus=Created"
|
|
},
|
|
{
|
|
"question": {
|
|
"en": "Show tasks that are fixed",
|
|
"de": "Aufgaben anzeigen, die erledigt wurden",
|
|
"nl": "Toon taken die zijn opgelost"
|
|
},
|
|
"osmTags": "mr_taskStatus=Fixed"
|
|
},
|
|
{
|
|
"question": {
|
|
"en": "Show tasks that are false positives",
|
|
"de": "Aufgaben anzeigen, die falsch positiv sind",
|
|
"nl": "Toon taken die vals positief waren"
|
|
},
|
|
"osmTags": "mr_taskStatus=False positive"
|
|
},
|
|
{
|
|
"question": {
|
|
"en": "Show tasks that are skipped",
|
|
"de": "Aufgaben anzeigen, die übersprungen wurden",
|
|
"nl": "Toon taken die zijn overgeslagen"
|
|
},
|
|
"osmTags": "mr_taskStatus=Skipped"
|
|
},
|
|
{
|
|
"question": {
|
|
"en": "Show tasks that are deleted",
|
|
"de": "Aufgaben anzeigen, die gelöscht wurden",
|
|
"nl": "Toon taken die zijn verwijderd"
|
|
},
|
|
"osmTags": "mr_taskStatus=Deleted"
|
|
},
|
|
{
|
|
"question": {
|
|
"en": "Show tasks that are already fixed",
|
|
"de": "Aufgaben anzeigen, die bereits erledigt wurden",
|
|
"nl": "Toon taken die reeds opgelost waren"
|
|
},
|
|
"osmTags": "mr_taskStatus=Already fixed"
|
|
},
|
|
{
|
|
"question": {
|
|
"en": "Show tasks that are marked as too hard",
|
|
"de": "Aufgaben anzeigen, die als zu schwierig markiert wurden",
|
|
"nl": "Toon taken die als te moeilijk waren ervaren"
|
|
},
|
|
"osmTags": "mr_taskStatus=Too hard"
|
|
},
|
|
{
|
|
"question": {
|
|
"en": "Show tasks that are disabled",
|
|
"de": "Aufgaben anzeigen, die deaktiviert wurden",
|
|
"nl": "Toon taken die zijn uitgeschakeld"
|
|
},
|
|
"osmTags": "mr_taskStatus=Disabled"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |