Browse Source

Adapt to new marker handling

fossil
parent
commit
6c3de20059
  1. 2
      buildings.json
  2. 2
      car_maxspeed.json
  3. 2
      power.json
  4. 2
      railway-electrification.json
  5. 2
      water.json
  6. 2
      works.json

2
buildings.json

@ -13,7 +13,7 @@
]
},
"feature": {
"markerSign": null,
"markerSymbol": null,
"priority": [
"{% set p = 100 %}",
"{% if tags.name %}{% set p = p - 10 %}{% endif %}",

2
car_maxspeed.json

@ -48,7 +48,7 @@
"{{ trans('unknown') }}",
"{% endif %}"
],
"markerSign": null,
"markerSymbol": null,
"listMarkerSymbol": "line",
"style": {
"width": "3",

2
power.json

@ -28,7 +28,7 @@
"{% set x='generator:method' %}{% if tags[x] %}<br/>{{ keyTrans('generator:method') }}: {{ tagTransList('generator:method', tags[x]) }}{% endif %}",
"{% set x='generator:type' %}{% if tags[x] %}<br/>{{ tagTransList('generator:type') }}: {{ tagTrans('generator:type', tags[x]) }}{% endif %}"
],
"markerSign": null,
"markerSymbol": null,
"priority": "{% if tags.power == 'plant' %}0{% elseif tags.power == 'generator' or tags.power == 'line' %}1{% elseif tags.power == 'substation' %}2{% else %}3{% endif %}"
}
}

2
railway-electrification.json

@ -52,7 +52,7 @@
"{{ keyTrans('gauge') }}: {{ tags.gauge|default(trans('unknown')) }}<br/>",
"{% if tags.electrified == 'no' %}{{ keyTrans('electrified') }}: {{ tagTrans('electrified', 'no') }}{% elseif tags.electrified %}{{ keyTrans('electrified') }}: {{ tagTrans('electrified', tags.electrified) }}, {{ keyTrans('voltage') }}: {{ tags.voltage|default(trans('unknown')) }}, {{ keyTrans('frequency') }}: {{ tags.frequency|default(trans('unknown')) }}<br/>{% endif %}"
],
"markerSign": null,
"markerSymbol": null,
"listMarkerSymbol": "line",
"styles": "casing,default",
"priority": "{% if tags.railway == 'station' %}0{% elseif tags.railway in [ 'halt', 'tram_stop' ] %}1{% else %}5{% endif %}",

2
water.json

@ -33,7 +33,7 @@
"{{ tagTrans('natural', tags.natural) }}",
"{% endif %}"
],
"markerSign": null,
"markerSymbol": null,
"listMarkerSymbol": [
"{% if tags.natural == 'water' %}",
"polygon",

2
works.json

@ -15,6 +15,6 @@
"12": "(node[landuse~'^(industrial)$'];way[landuse~'^(industrial)$'];relation[landuse~'^(industrial)$'];)"
},
"feature": {
"markerSign": null
"markerSymbol": null
}
}
Loading…
Cancel
Save