Main categories of OpenStreetBrowser
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

136 lines
3.7 KiB

name:
ca: Serveis
cs: Veřejná zařízení
de: Einrichtungen
en: Amenities
es: Instalaciones
fr: Équipements piétons
gl: Instalacións
hu: Gyalogos létesítmények
it: Servizi
ja: アメニティ
nb: Fasiliteter
nl: Voorzieningen
oc: Equipaments pedoniers
pl: Pożyteczne w transporcie pieszym
pt-br: Equipamentos
pt: Equipamentos
sr: Додаци
tr: Olanaklar
query:
13: |-
(
node[highway~"^(elevator)$"];
node[information];
node[tourism~"^(viewpoint)$"];
node[man_made~"^(cairn)$"];
nwr[amenity~"^(shelter)$"];
way[highway~'^(footway|steps)$'][conveying];
)
16: |-
(
node[highway~"^(crossing|elevator)$"];
node[information];
node[tourism~"^(viewpoint)$"];
node[man_made~"^(cairn)$"];
nwr[amenity~"^(bench|shelter|waste_basket|drinking_water)$"];
node[leisure~"^(picnic_table)$"];
way[highway~'^(footway|steps)$'][conveying];
)
feature:
pre: |-
{% if tags.information %}
{% set key = 'information' %}
{% set value = tags.information %}
{% elseif tags.amenity in [ 'bench', 'shelter', 'waste_basket', 'drinking_water' ] %}
{% set key = 'amenity' %}
{% set value = tags.amenity %}
{% elseif tags.leisure in [ 'picnic_table' ] %}
{% set key = 'leisure' %}
{% set value = tags.leisure %}
{% elseif tags.man_made in [ 'cairn' ] %}
{% set key = 'man_made' %}
{% set value = tags.man_made %}
{% elseif tags.tourism in [ 'viewpoint'] %}
{% set key = 'tourism' %}
{% set value = tags.tourism %}
{% elseif tags.conveying and tags.highway %}
{% set key = 'highway' %}
{% set value = tags.highway ~ ' conveying' %}
{% else %}
{% set key = 'highway' %}
{% set value = tags.highway %}
{% endif %}
{% set type_data = const[key ~ '=' ~ value] %}
description: |-
{{ tagTrans(key, value) }}
body: |-
<ul>
{% if tags.waste %}
<li class='hasSymbol'>
<i class="fa-solid fa-trash-can"></i>
<span class='key'>{{ keyTrans('waste') }}:</span>
<span class='value'>{{ tagTransList('waste', tags.waste) }}</span>
</li>
{% endif %}
</ul>
markerSign: |-
{{ type_data.sign|raw }}
priority: |-
{{ type_data.priority }}
filter:
type:
name: |
{{ trans('filter:type') }}
type: select
show_default: true
values: |-
{% for kv, d in const %}
<option value='{{ kv }}' query='{{ d.query|default("nwr[" ~ kv ~"]") }}'>{{ tagTrans(kv|split('=')[0], kv|split('=')[1]) }}</option>
{% endfor %}
const:
highway=crossing:
priority: 10
sign: <img data-src='temaki:pedestrian_crosswalk'>
highway=elevator:
priority: 2
sign: <img data-src='maki:elevator'>
information=guidepost:
priority: 2
sign: <i class='fa fa-map-signs' aria-hidden='true'></i>
information=map:
priority: 2
sign: <i class='fa fa-map' aria-hidden='true'></i>
information=board:
priority: 2
sign: <img data-src='temaki:info_board'>
information=office:
priority: 1
sign: <i class='fa fa-info-circle' aria-hidden='true'></i>
amenity=bench:
priority: 3
sign: <img data-src='temaki:bench'>
leisure=picnic_table:
priority: 3
sign: <img data-src='maki:picnic-site'>
man_made=cairn:
priority: 2
sign: <img data-src='temaki:cairn'>
amenity=shelter:
priority: 1
sign: <img data-src='maki:shelter'>
amenity=waste_basket:
priority: 2
sign: 🗑
amenity=drinking_water:
priority: 3
sign: <img data-src='maki:drinking-water'>
highway=steps conveying:
sign: /
query: nwr[highway=steps][conveying]
priority: 2
highway=footway conveying:
sign: /
query: nwr[highway=footway][conveying]
priority: 2