Theme format refactoring: move line properties into a seperate lineRendering configuration
This commit is contained in:
parent
7b9836f273
commit
a041fbf050
50 changed files with 876 additions and 63 deletions
|
@ -42,6 +42,24 @@
|
|||
"iconSize": "20,20,center",
|
||||
"tagRenderings": [
|
||||
"all_tags"
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": {
|
||||
"render": "circle:red",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "_has_closeby_feature=yes",
|
||||
"then": "circle:#008000aa"
|
||||
}
|
||||
]
|
||||
},
|
||||
"iconSize": "20,20,center",
|
||||
"location": [
|
||||
"point"
|
||||
]
|
||||
},
|
||||
{}
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
|
@ -123,6 +123,51 @@
|
|||
"nl": "Voeg een ontbrekend, erkend natuurreservaat toe, bv. een gebied dat beheerd wordt door het ANB of natuurpunt"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": {
|
||||
"render": "circle:#ffffff;./assets/themes/buurtnatuur/nature_reserve.svg"
|
||||
},
|
||||
"iconSize": {
|
||||
"render": "50,50,center"
|
||||
},
|
||||
"location": [
|
||||
"point"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#3c3",
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"name=",
|
||||
"noname=",
|
||||
"operator=",
|
||||
"access=",
|
||||
"access:description=",
|
||||
"leisure=park"
|
||||
]
|
||||
},
|
||||
"then": "#cc1100"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"name=",
|
||||
"noname="
|
||||
]
|
||||
},
|
||||
"then": "#fccb37"
|
||||
}
|
||||
]
|
||||
},
|
||||
"width": {
|
||||
"render": "5"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -221,6 +266,38 @@
|
|||
"nl": "Voeg een ontbrekend park toe"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": {
|
||||
"render": "circle:#ffffff;./assets/themes/buurtnatuur/park.svg"
|
||||
},
|
||||
"iconSize": {
|
||||
"render": "40,40,center"
|
||||
},
|
||||
"location": [
|
||||
"point"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#3c3",
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"name=",
|
||||
"noname="
|
||||
]
|
||||
},
|
||||
"then": "#fccb37"
|
||||
}
|
||||
]
|
||||
},
|
||||
"width": {
|
||||
"render": "5"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -338,6 +415,56 @@
|
|||
"nl": "Voeg een ontbrekend bos toe aan de kaart"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": {
|
||||
"render": "circle:#ffffff;./assets/themes/buurtnatuur/forest.svg"
|
||||
},
|
||||
"iconSize": {
|
||||
"render": "40,40,center"
|
||||
},
|
||||
"location": [
|
||||
"point"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#3a3",
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"operator=",
|
||||
"access=",
|
||||
"access:description="
|
||||
]
|
||||
},
|
||||
"then": "#cc1100"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"operator="
|
||||
]
|
||||
},
|
||||
"then": "#cccc00"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"name=",
|
||||
"noname="
|
||||
]
|
||||
},
|
||||
"then": "#fccb37"
|
||||
}
|
||||
]
|
||||
},
|
||||
"width": {
|
||||
"render": "5"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"viewpoint"
|
||||
|
|
|
@ -699,6 +699,14 @@
|
|||
"point",
|
||||
"centroid"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#00f"
|
||||
},
|
||||
"width": {
|
||||
"render": "8"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -1111,6 +1119,14 @@
|
|||
"location": [
|
||||
"point"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#00f"
|
||||
},
|
||||
"width": {
|
||||
"render": "8"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -585,6 +585,14 @@
|
|||
"point",
|
||||
"centroid"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#0f0"
|
||||
},
|
||||
"width": {
|
||||
"render": "4"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -868,6 +876,14 @@
|
|||
"point",
|
||||
"centroid"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#d38d5fAA"
|
||||
},
|
||||
"width": {
|
||||
"render": "8"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -1005,6 +1021,14 @@
|
|||
"location": [
|
||||
"point"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#ddff55AA"
|
||||
},
|
||||
"width": {
|
||||
"render": "2"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -239,6 +239,41 @@
|
|||
"location": [
|
||||
"point"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#ff7392",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "state=",
|
||||
"then": "#00acfc"
|
||||
},
|
||||
{
|
||||
"if": "state=temporary",
|
||||
"then": "#00acfc"
|
||||
}
|
||||
]
|
||||
},
|
||||
"width": {
|
||||
"render": "4"
|
||||
},
|
||||
"dashArray": {
|
||||
"render": "",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "state=temporary",
|
||||
"then": "12 10"
|
||||
},
|
||||
{
|
||||
"if": "note:state=has_highway_no",
|
||||
"then": "0 8"
|
||||
},
|
||||
{
|
||||
"if": "note:state=has_highway_under_construction",
|
||||
"then": "12 10"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -84,6 +84,18 @@
|
|||
"width": "10",
|
||||
"tagRenderings": [
|
||||
"images"
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/themes/cyclestreets/F111.svg",
|
||||
"location": [
|
||||
"point"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": "#0000ff",
|
||||
"width": "10"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -136,6 +148,18 @@
|
|||
"width": "5",
|
||||
"tagRenderings": [
|
||||
"images"
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/themes/cyclestreets/F113.svg",
|
||||
"location": [
|
||||
"point"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": "#09f9dd",
|
||||
"width": "5"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -201,6 +225,30 @@
|
|||
},
|
||||
"tagRenderings": [
|
||||
"images"
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/svg/pencil.svg",
|
||||
"location": [
|
||||
"point"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#aaaaaa",
|
||||
"mappings": [
|
||||
{
|
||||
"then": "#0000ff",
|
||||
"if": "cyclestreet=yes"
|
||||
},
|
||||
{
|
||||
"then": "#09f9dd",
|
||||
"if": "proposed:cyclestreet=yes"
|
||||
}
|
||||
]
|
||||
},
|
||||
"width": "5"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
|
@ -80,6 +80,14 @@
|
|||
"location": [
|
||||
"point"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#00f"
|
||||
},
|
||||
"width": {
|
||||
"render": "8"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -195,6 +203,14 @@
|
|||
"location": [
|
||||
"point"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#00f"
|
||||
},
|
||||
"width": {
|
||||
"render": "8"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -215,6 +215,14 @@
|
|||
"point",
|
||||
"centroid"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#00f"
|
||||
},
|
||||
"width": {
|
||||
"render": "2"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -259,6 +259,14 @@
|
|||
"point",
|
||||
"centroid"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#00f"
|
||||
},
|
||||
"width": {
|
||||
"render": "8"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -329,6 +329,14 @@
|
|||
"point",
|
||||
"centroid"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#00f"
|
||||
},
|
||||
"width": {
|
||||
"render": "8"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -697,6 +705,14 @@
|
|||
"point",
|
||||
"centroid"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#c22"
|
||||
},
|
||||
"width": {
|
||||
"render": "1"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -912,6 +928,14 @@
|
|||
"point",
|
||||
"centroid"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#00f"
|
||||
},
|
||||
"width": {
|
||||
"render": "1"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -92,6 +92,14 @@
|
|||
"point",
|
||||
"centroid"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#DADADA"
|
||||
},
|
||||
"width": {
|
||||
"render": "1"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -202,6 +210,14 @@
|
|||
"point",
|
||||
"centroid"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#DADADA"
|
||||
},
|
||||
"width": {
|
||||
"render": "1"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -42,6 +42,12 @@
|
|||
"location": [
|
||||
"point"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": "#444444",
|
||||
"width": {
|
||||
"render": "1"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -266,6 +272,24 @@
|
|||
"location": [
|
||||
"point"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#6d6",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "color~*",
|
||||
"then": "{color}"
|
||||
},
|
||||
{
|
||||
"if": "colour~*",
|
||||
"then": "{colour}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"width": {
|
||||
"render": "9"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -305,6 +305,30 @@
|
|||
"location": [
|
||||
"point"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#00f",
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
{
|
||||
"and": [
|
||||
"addr:housenumber=",
|
||||
"nohousenumber!=yes"
|
||||
]
|
||||
},
|
||||
"addr:street="
|
||||
]
|
||||
},
|
||||
"then": "#ff0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"width": {
|
||||
"render": "8"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -330,6 +354,14 @@
|
|||
"location": [
|
||||
"point"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#ccc"
|
||||
},
|
||||
"width": {
|
||||
"render": "0"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue