Browse Source

More filters

pedestrian
parent
commit
75394d5e38
  1. 11
      culture.json
  2. 28
      emergency.json
  3. 45
      historic.json
  4. 36
      memorial.json

11
culture.json

@ -121,5 +121,14 @@
" </tr>",
"{% endfor %}",
"</table>"
]
],
"filter": {
"type": {
"name": "Type",
"query": "nwr[{{ value }}]",
"type": "select",
"values": "const",
"valueName": "{{ trans('tag' ~ value) }}"
}
}
}

28
emergency.json

@ -96,5 +96,33 @@
"sign": "<img data-src='maki:hospital?fill=white'>",
"background": "#009262"
}
},
"filter": {
"type": {
"name": "{{ keyTrans('amenity') }}",
"type": "select",
"values": {
"fire_station": {
"name": "{{ tagTrans('amenity', 'fire_station') }}",
"query": "nwr[amenity=fire_station]"
},
"hospital": {
"name": "{{ tagTrans('amenity', 'hospital') }}",
"query": "nwr[amenity=hospital]"
},
"police": {
"name": "{{ tagTrans('amenity', 'police') }}",
"query": "nwr[amenity=police]"
},
"emergency_phone": {
"name": "{{ tagTrans('emergency', 'phone') }}",
"query": "node[emergency=phone]"
},
"emergency_access_point": {
"name": "{{ tagTrans('highway', 'emergency_access_point') }}",
"query": "node[highway=emergency_access_point]"
}
}
}
}
}

45
historic.json

@ -113,5 +113,50 @@
"sign": "<img data-src='temaki:ruins'>",
"zoom": 14
}
},
"filter": {
"type": {
"key": "historic",
"name": "Type",
"type": "select",
"values": "const",
"valueName": "{{ tagTrans('historic', value) }}"
},
"conflict": {
"key": "memorial:conflict",
"op": "has",
"name": "{{ keyTrans('memorial:conflict') }}",
"type": "select",
"values": [
"WW1",
"WW2"
],
"valueName": "{{ tagTrans('memorial:conflict', value) }}"
},
"civilization": {
"key": "historic:civilization",
"op": "has",
"name": "{{ keyTrans('historic:civilization') }}",
"type": "select",
"values": [
"ancient_egyptian",
"ancient_greek",
"ancient_roman",
"byzantine",
"celtic",
"etruscan",
"imperial_chinese",
"korean",
"medieval",
"modern",
"neolithic",
"nuragic",
"ottoman",
"prehistoric",
"roman",
"western_roman"
],
"valueName": "{{ tagTrans('historic:civilization', value) }}"
}
}
}

36
memorial.json

@ -125,6 +125,42 @@
"query": "(nwr[memorial=stolperstein];nwr[\"memorial:type\"=stolperstein];)"
}
}
},
"conflict": {
"key": "memorial:conflict",
"op": "has",
"name": "{{ keyTrans('memorial:conflict') }}",
"type": "select",
"values": [
"WW1",
"WW2"
],
"valueName": "{{ tagTrans('memorial:conflict', value) }}"
},
"civilization": {
"key": "historic:civilization",
"op": "has",
"name": "{{ keyTrans('historic:civilization') }}",
"type": "select",
"values": [
"ancient_egyptian",
"ancient_greek",
"ancient_roman",
"byzantine",
"celtic",
"etruscan",
"imperial_chinese",
"korean",
"medieval",
"modern",
"neolithic",
"nuragic",
"ottoman",
"prehistoric",
"roman",
"western_roman"
],
"valueName": "{{ tagTrans('historic:civilization', value) }}"
}
}
}
Loading…
Cancel
Save