forked from MapComplete/MapComplete
Refactoring: remove old and obsolete data fields in themes and layers
This commit is contained in:
parent
130ae82e90
commit
922cebf9d1
49 changed files with 574 additions and 664 deletions
|
@ -1,4 +1,32 @@
|
|||
{
|
||||
"id": "ski_piste",
|
||||
"name": {
|
||||
"en": "Ski and snowboard pistes",
|
||||
"de": "Ski- und Snowboardpisten"
|
||||
},
|
||||
"description": {
|
||||
"en": "Ski and snowboard pistes",
|
||||
"de": "Ski- und Snowboardpisten"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
{
|
||||
"or": [
|
||||
"piste:type=downhill",
|
||||
"piste:type=connection"
|
||||
]
|
||||
},
|
||||
"area!=yes"
|
||||
]
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Ski piste {name}",
|
||||
"de": "Skipiste {name}"
|
||||
}
|
||||
},
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
|
@ -12,6 +40,40 @@
|
|||
]
|
||||
}
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"width": "10",
|
||||
"color": {
|
||||
"mappings": [
|
||||
{
|
||||
"then": "green",
|
||||
"if": "piste:difficulty=novice"
|
||||
},
|
||||
{
|
||||
"if": "piste:difficulty=easy",
|
||||
"then": "blue"
|
||||
},
|
||||
{
|
||||
"if": "piste:difficulty=intermediate",
|
||||
"then": "red"
|
||||
},
|
||||
{
|
||||
"if": "piste:difficulty=advanced",
|
||||
"then": "black"
|
||||
},
|
||||
{
|
||||
"if": "piste:difficulty=expert",
|
||||
"then": "orange"
|
||||
},
|
||||
{
|
||||
"if": "piste:difficulty=",
|
||||
"then": "gray"
|
||||
}
|
||||
]
|
||||
},
|
||||
"imageAlongWay": "./assets/png/oneway.png"
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
{
|
||||
|
@ -73,67 +135,5 @@
|
|||
"de": "Dieser Teil der Skipiste hat eine Länge von {_length:km} km"
|
||||
}
|
||||
}
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"width": "10",
|
||||
"color": {
|
||||
"mappings": [
|
||||
{
|
||||
"then": "green",
|
||||
"if": "piste:difficulty=novice"
|
||||
},
|
||||
{
|
||||
"if": "piste:difficulty=easy",
|
||||
"then": "blue"
|
||||
},
|
||||
{
|
||||
"if": "piste:difficulty=intermediate",
|
||||
"then": "red"
|
||||
},
|
||||
{
|
||||
"if": "piste:difficulty=advanced",
|
||||
"then": "black"
|
||||
},
|
||||
{
|
||||
"if": "piste:difficulty=expert",
|
||||
"then": "orange"
|
||||
},
|
||||
{
|
||||
"if": "piste:difficulty=",
|
||||
"then": "gray"
|
||||
}
|
||||
]
|
||||
},
|
||||
"imageAlongWay": "./assets/png/oneway.png"
|
||||
}
|
||||
],
|
||||
"id": "ski_piste",
|
||||
"name": {
|
||||
"en": "Ski and snowboard pistes",
|
||||
"de": "Ski- und Snowboardpisten"
|
||||
},
|
||||
"description": {
|
||||
"en": "Ski and snowboard pistes",
|
||||
"de": "Ski- und Snowboardpisten"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
{
|
||||
"or": [
|
||||
"piste:type=downhill",
|
||||
"piste:type=connection"
|
||||
]
|
||||
},
|
||||
"area!=yes"
|
||||
]
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Ski piste {name}",
|
||||
"de": "Skipiste {name}"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue