79 Commits

Author SHA1 Message Date
Stephan Bösch-Plepelits ea86c75e7a cycleway_types: add labels for highway=footway, highway=cycleway 2 months ago
Stephan Bösch-Plepelits d17061d297 Revert "cycleway_width: hide from index, as category is not ready yet" 2 months ago
Stephan Bösch-Plepelits 4aad8533b8 Merge branch 'cycleway' 2 months ago
Stephan Bösch-Plepelits d34faa53b3 cycleway_width: hide from index, as category is not ready yet 2 months ago
Stephan Bösch-Plepelits 4e80e13360 cycleway_types: deprecated warning for cycleway=opposite 2 months ago
Stephan Bösch-Plepelits 7fadb51676 cycleway_types: show highway=living_street 2 months ago
Stephan Bösch-Plepelits e74306d5fa cycleway_types: label info 2 months ago
Stephan Bösch-Plepelits 65dae32012 cycleway_types: in info, show width of ways 2 months ago
Stephan Bösch-Plepelits 1ac38968b3 cycleway_types: bugfix oneway again 2 months ago
Stephan Bösch-Plepelits 56b33368a8 cycleway_types: different color for share_busway 2 months ago
Stephan Bösch-Plepelits cf4037b94c cycleway_types: improve rendering of oneway 2 months ago
Stephan Bösch-Plepelits 1f183851c2 cycleway_types: add cycleway=shoulder 2 months ago
Stephan Bösch-Plepelits 0203f0a054 cycleway_types: fix popup for cycleway=* (with indication for left/right/both) and cycleway=yes 2 months ago
Stephan Bösch-Plepelits cd41134110 cycleway_types: improve info 2 months ago
Stephan Bösch-Plepelits 9b6fd9f0c1 cycleway_types: handle cycleway=traffic_island and cycleway=link/sidepath 2 months ago
Stephan Bösch-Plepelits ba35dc1d73 cycleway_types: improve bridge rendering 2 months ago
Stephan Bösch-Plepelits 00fd3e56a2 cycleway: fix markerSymbol by forcing '0' for offset 2 months ago
Stephan Bösch-Plepelits 7810bcb451 cycleway_types: instead of 'crossing' introduce a more general 'otherInfrastructure' 2 months ago
Stephan Bösch-Plepelits 0f410a278e cycleway_types: add const for 'hiddenTypes' (e.g. 'no', 'separate') 2 months ago
Stephan Bösch-Plepelits 5b2cae63da cycleway_types: in popup show cycleway:xxx=no and similar tags 2 months ago
Stephan Bösch-Plepelits a4286e7304 cycleway_types: stack lines via tags.layer 2 months ago
Stephan Bösch-Plepelits 3f843459a8 cycleway_types: indicate crossings and bridges 2 months ago
Stephan Bösch-Plepelits 27c30b7543 cycleway_width: use tag 'width' as fallback of width 2 months ago
Stephan Bösch-Plepelits 9ae3405249 cycleway_types, cycleway_width: also handle highway=path, bicycle=* 2 months ago
Stephan Bösch-Plepelits 0f02b0844d car_maxspeed: bugfix, rotate traffic sign when direction=0 3 months ago
Stephan Bösch-Plepelits cf33b348e4 car_maxspeed: include traffic_sign=maxspeed 3 months ago
Stephan Bösch-Plepelits 72bfccdb36 car_*: convert to YAML 3 months ago
OpenStreetBrowser 57feed3e39 Merge branch 'master' of https://hosted.weblate.org/git/openstreetbrowser/main-categories 3 months ago
Jiří Podhorecký b1bb1409c9
Translated using Weblate (Czech) 3 months ago
Stephan Bösch-Plepelits 1e28f283bb gastro: diet filter - do not include diet:xyz=no 3 months ago
Stephan Bösch-Plepelits 52d37a0a9b gastro: change diet filter to a twig template 3 months ago
Kamborio 7726ec7226
Translated using Weblate (Spanish) 3 months ago
Babos Gábor 50b4d880e9
Translated using Weblate (Hungarian) 3 months ago
Stephan Bösch-Plepelits 4094142fa3 Recover strings which were accidentialy removed in 68089e671a 4 months ago
Stephan Bösch-Plepelits b8c68fa354 Merge remote-tracking branch 'origin/master' 4 months ago
Stephan Bösch-Plepelits 8757edf11e railway-infrastructure: support railway=razed 4 months ago
Stephan Bösch-Plepelits d023f921a4 railway-infrastructure: calculate 'width' in feature/pre 4 months ago
Stephan Bösch-Plepelits 587667ed37 railway-infrastructure: improve readability 4 months ago
Nekzuris 134e432eaa
Translated using Weblate (French) 4 months ago
Stephan Bösch-Plepelits 63c107d08e railway-infrastructure: add another casing for bridges 4 months ago
Stephan Bösch-Plepelits d5799b8f19 railway-infrastructure: layer lines 4 months ago
Stephan Bösch-Plepelits e70f34ec27 railway-infrastructure: add a white casing 4 months ago
Stephan Bösch-Plepelits 8346fedb49 railway-infrastructure: rename style for narrow_gauge to 'narrow' 4 months ago
Stephan Bösch-Plepelits 40bb973457 railway-infrastructure: lighten color for tunnels 4 months ago
Stephan Bösch-Plepelits 7cba873e2f railway-infrastructure: define color via const 4 months ago
Stephan Bösch-Plepelits f6b8774fe8 Convert railway categories to YAML 4 months ago
Stephan Bösch-Plepelits 11a0ed0fec etymology: link to wikipedia (either data_lang or ui_lang) 4 months ago
Stephan Bösch-Plepelits 3665322ff5 etymology: link to name:etymology:website or :url 4 months ago
Stephan Bösch-Plepelits ab1fdd3171 culture-media: include trees which are landmarks or natural monuments 4 months ago
Stephan Bösch-Plepelits 72d5fa2aa6 etymology: use 'name:etymology:description' if no wikidata available 4 months ago
Stephan Bösch-Plepelits 58cd278983 etymology: simplify code 4 months ago
Stephan Bösch-Plepelits 755f0cfb46 etymology: include description of wikidata items 4 months ago
Stephan Bösch-Plepelits 3be2192113 etymology: in body, show label from wikidata 4 months ago
Stephan Bösch-Plepelits ddb8995113 etymology: hide name:etymology from default body, show in category body 4 months ago
Stephan Bösch-Plepelits a1b171cb61 etymology: show name:start_date 4 months ago
Stephan Bösch-Plepelits e822436ed6 Etymology: load etymology from wikidata if name:etymology is not set 4 months ago
Stephan Bösch-Plepelits be15c5183b Etymology: new category 4 months ago
Stephan Bösch-Plepelits 293064f9dc default body: if name:etymology:wikidata is defined, link etymology to wikidata 4 months ago
Stephan Bösch-Plepelits 140ece90fe footways: bugfix 4 months ago
Stephan Bösch-Plepelits 4015797d4b fixme: break line if fixme contains newline 5 months ago
Stephan Bösch-Plepelits b3d1aa5f7f Support multi-values for email, website, phone (and contact:...) 5 months ago
Stephan Bösch-Plepelits 61ba758173 Modify queries to accept multi-value tags (e.g. amenity=bar;restaurant) 5 months ago
Stephan Bösch-Plepelits 9bdbfad9b6 Convert many categories to YAML format 5 months ago
Stephan Bösch-Plepelits 5eefa42b41 Replace newlines in description and inscription by <br> 5 months ago
OpenStreetBrowser c8c58dcf68 Merge remote-tracking branch 'weblate/master' 5 months ago
Louis 2188bab57e Translated using Weblate (French) 5 months ago
OpenStreetBrowser c28d884e67 Update category names 5 months ago
OpenStreetBrowser 565bd687fa Update category names 5 months ago
OpenStreetBrowser 6080f46a21 Update category names 5 months ago
OpenStreetBrowser 5ff4bdb7af Update category names 5 months ago
OpenStreetBrowser ab31359632 Update category names 5 months ago
OpenStreetBrowser 8ab5eb1958 Update category names 5 months ago
OpenStreetBrowser f196306ae8 Update category names 5 months ago
OpenStreetBrowser e5ae2bbb10 Update category names 5 months ago
OpenStreetBrowser d5569baca2 Update category names 5 months ago
OpenStreetBrowser 640fc2f943 Update category names 5 months ago
Stephan Bösch-Plepelits 8cf36331d3 culture-media: improvements for 'man_made' 5 months ago
OpenStreetBrowser 68089e671a Update category names 5 months ago
Stephan Bösch-Plepelits c31b9b0e89 culture-media QA: add some features from the man_made category 5 months ago
  1. 13
      administrative.json
  2. 10
      agriculture.json
  3. 10
      alternative_amenities.json
  4. 13
      alternative_routes.json
  5. 21
      buildings-entrances.yaml
  6. 18
      buildings-figure-ground.yaml
  7. 21
      buildings-height.yaml
  8. 21
      buildings-start_date.yaml
  9. 21
      buildings-type.yaml
  10. 16
      buildings.json
  11. 50
      car_amenities.json
  12. 53
      car_amenities.yaml
  13. 7
      car_furniture.json
  14. 203
      car_maxspeed.json
  15. 261
      car_maxspeed.yaml
  16. 66
      car_routes.json
  17. 77
      car_routes.yaml
  18. 124
      children.json
  19. 114
      children.yaml
  20. 16
      climbing.json
  21. 17
      coal.json
  22. 154
      communication.json
  23. 133
      communication.yaml
  24. 13
      construction.json
  25. 85
      craft.json
  26. 90
      craft.yaml
  27. 25
      culture-media.yaml
  28. 142
      culture.json
  29. 131
      culture.yaml
  30. 20
      culture_religion.json
  31. 142
      cycle_amenities.json
  32. 125
      cycle_amenities.yaml
  33. 6
      cycle_directions.yaml
  34. 16
      cycle_routes.json
  35. 180
      cycleway_types.yaml
  36. 17
      cycleway_width.yaml
  37. 55
      detailsBody.html
  38. 12
      developable_areas.json
  39. 142
      education.json
  40. 139
      education.yaml
  41. 12
      electric_power.json
  42. 144
      emergency.json
  43. 124
      emergency.yaml
  44. 74
      etymology.yaml
  45. 113
      financial.json
  46. 104
      financial.yaml
  47. 14
      fixme.yaml
  48. 13
      footways.yaml
  49. 14
      gastro-smoking.json
  50. 69
      gastro.yaml
  51. 247
      health.json
  52. 161
      health.yaml
  53. 28
      heritage.json
  54. 34
      heritage.yaml
  55. 16
      hiking_routes.json
  56. 13
      historic.json
  57. 183
      index.json
  58. 10
      internet.json
  59. 10
      kerbs.yaml
  60. 103
      lang/ast.json
  61. 122
      lang/ca.json
  62. 113
      lang/cs.json
  63. 118
      lang/de.json
  64. 73
      lang/el.json
  65. 115
      lang/en.json
  66. 116
      lang/es.json
  67. 67
      lang/et.json
  68. 123
      lang/fr.json
  69. 113
      lang/gl.json
  70. 121
      lang/hu.json
  71. 118
      lang/it.json
  72. 117
      lang/ja.json
  73. 109
      lang/nb.json
  74. 113
      lang/nl.json
  75. 116
      lang/oc.json
  76. 124
      lang/pl.json
  77. 122
      lang/pt-br.json
  78. 118
      lang/pt.json
  79. 79
      lang/ro.json
  80. 109
      lang/ru.json
  81. 101
      lang/sr.json
  82. 19
      lang/template.json
  83. 128
      lang/tr.json
  84. 87
      lang/uk.json
  85. 69
      law.json
  86. 76
      law.yaml
  87. 8
      leisure.json
  88. 40
      memorial.json
  89. 10
      military.json
  90. 17
      mtb-routes.json
  91. 12
      natural.json
  92. 16
      office.json
  93. 16
      oil_gas.json
  94. 18
      organisations.json
  95. 10
      other.json
  96. 16
      outdoor.json
  97. 8
      paddling.yaml
  98. 8
      paddling_amenities.yaml
  99. 8
      paddling_hazards.yaml
  100. 8
      paddling_routes.yaml

13
administrative.json

@ -2,19 +2,28 @@
"type": "overpass",
"name": {
"ast": "Divisiones Alministratives",
"ca": "Àrees Administratives",
"cs": "Administrativní oblasti",
"de": "Administrative Gebiete",
"el": "Διοικητικά Όρια",
"en": "Administrative Areas",
"es": "Áreas Administrativas",
"et": "Administratiivalad",
"fr": "Zones administratives",
"gl": "Divisións administrativas",
"hu": "Közigazgatási határok",
"it": "Suddivisioni amministrative",
"ja": "行政界",
"nb": "Administrative områder",
"nl": "Administratieve gebieden",
"oc": "Divisions administrativas",
"pl": "Obszary administracyjne",
"pt": "Regiões administrativas",
"pt-br": "Divisão político-administrativa",
"ro": "Zona administrativa",
"ru": "Административные границы"
"ro": "Zona administrativă",
"ru": "Административные границы",
"sr": "Административне зоне",
"tr": "İdari Alanlar"
},
"query": {
"3": [

10
agriculture.json

@ -2,20 +2,28 @@
"type": "overpass",
"name": {
"ast": "Agricultura",
"ca": "Agricultura",
"cs": "Zemědělství",
"de": "Landwirtschaft",
"el": "Γεωργία",
"en": "Agriculture",
"es": "Agricultura",
"et": "Põllumajandus",
"fr": "Agriculture",
"gl": "Agricultura",
"hu": "Mezőgazdaság",
"it": "Agricoltura",
"ja": "農業",
"nb": "Jordbruk",
"nl": "Landbouw",
"oc": "Agricultura",
"pl": "Rolnictwo",
"pt": "Agricultura",
"pt-br": "Agricultura",
"ro": "Agricultura",
"ru": "Сельское хозяйство"
"ru": "Сельское хозяйство",
"sr": "Пољопривреда",
"tr": "Tarım"
},
"query": {
"13": [

10
alternative_amenities.json

@ -1,16 +1,26 @@
{
"name": {
"ast": "Infraestructures",
"ca": "Serveis",
"cs": "Občanská vybavenost",
"de": "Einrichtungen",
"en": "Amenities",
"es": "Instalaciones",
"fr": "Équipement",
"gl": "Instalacións",
"hu": "Létesítmények",
"it": "Infrastrutture",
"ja": "生活環境",
"nb": "Fasiliteter",
"nl": "Voorzieningen",
"oc": "Equipament",
"pl": "Pożyteczne miejsca",
"pt": "Equipamentos",
"pt-br": "Equipamentos",
"ro": "Facilități",
"ru": "Полезные места",
"sr": "Додаци",
"tr": "Tesisler",
"uk": "Amenities"
}
}

13
alternative_routes.json

@ -1,17 +1,26 @@
{
"name": {
"ast": "Rutes",
"ca": "Rutes",
"cs": "Trasy cest",
"de": "(ausgeschilderte) Routen",
"en": "Routes",
"fr": "Routes",
"hu": "Útvonalak",
"es": "Rutas",
"fr": "Itinéraires",
"gl": "Rotas",
"hu": "(Jelzett) útvonalak",
"it": "Itinerari segnalati",
"ja": "ルート",
"nb": "Ruter",
"nl": "Alternatieve routes",
"oc": "Varianta d'itinerari",
"pl": "Trasy",
"pt": "Rotas",
"pt-br": "Rotas",
"ro": "Rute",
"ru": "Маршруты",
"sr": "Трасе",
"tr": "Rotalar",
"uk": "Маршрути"
}
}

21
buildings-entrances.yaml

@ -1,3 +1,24 @@
name:
ca: Entrades
cs: Vstupy
de: Eingänge
en: Entrances
es: Entradas
fr: Entrées
gl: Entradas
hu: Bejáratok
it: Ingressi
ja: エントランス
nb: Innganger
nl: Toegangen
oc: Intradas
pl: Wejścia
pt-br: Entradas
pt: Entradas
ro: Intrări
ru: Входы
sr: Улази
tr: Girişler
query:
16: |-
(

18
buildings-figure-ground.yaml

@ -1,3 +1,21 @@
name:
ca: Mapa a peu de carrer
cs: Schematický diagram
de: Schwarzplan
en: Figure-ground diagram
es: Diagrama figura-fondo
fr: Empreintes
gl: Cheos e baleiros
hu: Fekete épületalaprajzok
it: Schema di Impronta
ja: フィギュア-グランド図式
nb: Figur-bakke diagram
nl: Plattegrond
oc: Marca au sòu
pl: Plan zagospodarowania przestrzennego
pt-br: Cheios e vazios
pt: Cheios e vazios
tr: Figür-zemin diyagramı
query:
16: |-
(

21
buildings-height.yaml

@ -1,3 +1,24 @@
name:
ca: Alçada de l'edifici
cs: Výška budovy
de: Gebäudehöhen
en: Building height
es: Altura del edificio
fr: Hauteur
gl: Altitude do edificio
hu: Épületek magassága
it: Altezza dell'edificio
ja: 建物の高さ
nb: Bygningshøyde
nl: Bouwhoogte
oc: Autor de la bastissa
pl: Wysokości budynków
pt-br: Altura
pt: Altura dos edifícios
ro: Înălțimea clădirii
ru: Высота здания
sr: Висина зграде
tr: Bina yüksekliği
query:
16: |-
(

21
buildings-start_date.yaml

@ -1,3 +1,24 @@
name:
ca: Antiguitat de l'edifici
cs: Stáří budovy
de: Gebäudealter
en: Building age
es: Edad del edificio
fr: Date de construction
gl: Idade do edificio
hu: Épületek kora
it: Età dell'edificio
ja: 築年数
nb: Bygningsalder
nl: Ouderdom van het gebouw
oc: Data de bastison
pl: Wiek budynków
pt-br: Idade
pt: Idade dos edifícios
ro: Vârsta clădirii
ru: Возраст здания
sr: Старост зграде
tr: Bina yaşı
query:
16: |-
(

21
buildings-type.yaml

@ -1,3 +1,24 @@
name:
ca: Tipologies d'edificació
cs: typy budov
de: Gebäudearten
en: Building types
es: Tipos de edificio
fr: Type
gl: Tipos de edificios
hu: Épületek típusa
it: Tipi di edificio
ja: 建物の種類
nb: Bygningstyper
nl: Gebouwtypes
oc: Tipe de bastissa
pl: Rodzaje budynków
pt-br: Tipologias
pt: Tipos dos edifícios
ro: Tipuri de clădiri
ru: Типы зданий
sr: Врста зграде
tr: Bina tipleri
query:
16: nwr[building][building!=no];
feature:

16
buildings.json

@ -1,12 +1,26 @@
{
"type": "index",
"name": {
"ca": "Edificis",
"cs": "Budovy",
"de": "Gebäude",
"en": "Buildings",
"es": "Edificios",
"fr": "Bâtiments",
"gl": "Edificios",
"hu": "Épületek",
"it": "Edifici",
"ja": "建物",
"nb": "Bygninger",
"nl": "Gebouwen",
"oc": "Bastissas",
"pl": "Budynki",
"pt": "Edifícios",
"pt-br": "Edificações"
"pt-br": "Edificações",
"ro": "Clădiri",
"ru": "Здания",
"sr": "Зграде",
"tr": "Binalar"
},
"subCategories": [
{

50
car_amenities.json

@ -1,50 +0,0 @@
{
"type": "overpass",
"name": {
"ast": "Infraestructures",
"cs": "Občasnká vybavenost",
"de": "Einrichtungen",
"en": "Amenities",
"fr": "Équipements auto",
"hu": "Létesítmények",
"it": "Infrastrutture",
"ja": "生活環境",
"nl": "Voorzieningen",
"pt-br": "Equipamentos",
"ru": "Обслуживание транспорта",
"uk": "Amenities"
},
"query": {
"13": [
"(",
"nwr[amenity~\"^(car_rental|car_sharing|fuel)$\"];",
"nwr[amenity~\"^(charging_station)$\"][motorcar][motorcar!=\"no\"];",
"nwr[amenity~\"^(charging_station)$\"][motorcycle][motorcycle!=\"no\"];",
")"
],
"16": [
"(",
"nwr[amenity~\"^(car_rental|car_sharing|car_wash|fuel|motorcycle_parking|parking)$\"];",
"nwr[amenity~\"^(charging_station)$\"][motorcar][motorcar!=\"no\"];",
"nwr[amenity~\"^(charging_station)$\"][motorcycle][motorcycle!=\"no\"];",
")"
]
},
"feature": {
"pre": [
"{% set key = 'amenity' %}",
"{% set value = tags.amenity %}"
],
"description": "{{ tagTrans(key, value) }}",
"markerSign": "{{ const[value] }}"
},
"const": {
"car_rental": "R",
"car_sharing": "S",
"car_wash": "🚿",
"charging_station": "🔌",
"fuel": "⛽",
"parking": "🅿",
"motorcycle_parking": "🅿"
}
}

53
car_amenities.yaml

@ -0,0 +1,53 @@
type: overpass
name:
ast: Infraestructures
ca: Serveis
cs: Občasnká vybavenost
de: Einrichtungen
en: Amenities
es: Instalaciones
fr: Équipements auto
gl: Instalacións
hu: Létesítmények
it: Infrastrutture
ja: 生活環境
nb: Fasiliteter
nl: Voorzieningen
oc: Equipaments auto
pl: Użyteczne w transporcie drogowym
pt: Equipamentos
pt-br: Equipamentos
ro: Dotări
ru: Обслуживание транспорта
sr: Додаци
tr: Tesisler
uk: Amenities
query:
13: |-
(
nwr[amenity~"^(.*;|)(car_rental|car_sharing|fuel)(;.*|)$"];
nwr[amenity~"^(.*;|)(charging_station)(;.*|)$"][motorcar][motorcar!="no"];
nwr[amenity~"^(.*;|)(charging_station)(;.*|)$"][motorcycle][motorcycle!="no"];
)
16: |-
(
nwr[amenity~"^(.*;|)(car_rental|car_sharing|car_wash|fuel|motorcycle_parking|parking)(;.*|)$"];
nwr[amenity~"^(.*;|)(charging_station)(;.*|)$"][motorcar][motorcar!="no"];
nwr[amenity~"^(.*;|)(charging_station)(;.*|)$"][motorcycle][motorcycle!="no"];
)
feature:
pre: |-
{% set key = 'amenity' %}
{% set value = tags.amenity %}
description: |-
{{ tagTransList(key, value) }}
markerSign: |-
{{ const[value] }}
const:
car_rental: R
car_sharing: S
car_wash: 🚿
charging_station: 🔌
fuel:
parking: 🅿
motorcycle_parking: 🅿

7
car_furniture.json

@ -1,18 +1,25 @@
{
"name": {
"ast": "Acondicionamientu urbanu",
"ca": "Mobiliari Urbà",
"cs": "Pouliční přislušenství",
"de": "Straßenausstattung",
"en": "Street Furniture",
"es": "Mobiliario Urbano",
"fr": "Fournitures automobiles",
"gl": "Mobiliario urbano",
"hu": "Jelzőtáblák",
"it": "Dotazioni stradali",
"ja": "街路設置公共物",
"nb": "Gatemøbler",
"nl": "Straatmeubilair",
"oc": "Fornituras automobilas",
"pl": "Elementy drogowe",
"pt": "Mobiliário urbano",
"pt-br": "Mobiliário urbano",
"ro": "Mobilier Stradal",
"ru": "Элементы дороги",
"tr": "Sokak Mobilyaları",
"uk": "Street Furniture"
}
}

203
car_maxspeed.json

@ -1,203 +0,0 @@
{
"type": "overpass",
"name": {
"de": "Höchstgeschwindigkeiten",
"en": "Maxspeed",
"fr": "Limites de vitesse",
"hu": "Sebességkorlátozás",
"pt": "Velocidade máxima",
"pt-br": "Velocidade máxima"
},
"query": {
"11": "way[highway~\"^(motorway|trunk)$\"];",
"13": "way[highway~\"^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|tertiary)$\"];",
"15": "way[highway~\"^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link|residential|unclassified)$\"];",
"17": "way[highway~\"^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link|residential|unclassified|service|living_street|pedestrian|track|road)$\"];"
},
"feature": {
"pre": [
"{% set maxspeedKmh = null %}",
"{% set maxspeed = null %}",
"{% set unit = null %}",
"",
"{% if tags.maxspeed is defined %}",
" {% if const.colorOther[tags.maxspeed] %}",
" {% set maxspeed = tags.maxspeed %}",
" {% elseif tags.maxspeed|matches(\"^[0-9]+$\") %}",
" {% set maxspeedKmh = tags.maxspeed %}",
" {% set maxspeed = tags.maxspeed %}",
" {% set unit = \"km/h\" %}",
" {% elseif tags.maxspeed|matches( \"(^[0-9]+) mph$\") %}",
" {% set m = tags.maxspeed|matches(\"(^[0-9]+) mph$\") %}",
" {% set maxspeedKmh = m[1] * 1.60934 %}",
" {% set maxspeed = m[1] %}",
" {% set unit = \"mph\" %}",
" {% else %}",
" {% set maxspeed = 'other' %}",
" {% endif %}",
"{% endif %}",
"",
"{% if attribute(tags, 'maxspeed:forward') is defined %}",
" {% set x = attribute(tags, 'maxspeed:forward') %}",
" {% if const.colorOther[x] %}",
" {% set maxspeedF = attribute(tags, 'maxspeed:forward') %}",
" {% elseif attribute(tags, 'maxspeed:forward')|matches(\"^[0-9]+$\") %}",
" {% set maxspeedFKmh = attribute(tags, 'maxspeed:forward') %}",
" {% set maxspeedF = attribute(tags, 'maxspeed:forward') %}",
" {% set unit = \"km/h\" %}",
" {% elseif attribute(tags, 'maxspeed:forward')|matches(\"^[0-9]+ mph$\") %}",
" {% set m = attribute(tags, 'maxspeed:forward')|matches(\"(^[0-9]+) mph$\") %}",
" {% set maxspeedFKmh = m[1] * 1.60934 %}",
" {% set maxspeedF = m[1] %}",
" {% set unit = \"mph\" %}",
" {% else %}",
" {% set maxspeedF = 'other' %}",
" {% endif %}",
"{% endif %}",
"",
"{% if attribute(tags, 'maxspeed:backward') is defined %}",
" {% set x = attribute(tags, 'maxspeed:backward') %}",
" {% if const.colorOther[x] %}",
" {% set maxspeedB = attribute(tags, 'maxspeed:backward') %}",
" {% elseif attribute(tags, 'maxspeed:backward')|matches(\"^[0-9]+$\") %}",
" {% set maxspeedBKmh = attribute(tags, 'maxspeed:backward') %}",
" {% set maxspeedB = attribute(tags, 'maxspeed:backward') %}",
" {% set unit = \"km/h\" %}",
" {% elseif attribute(tags, 'maxspeed:backward')|matches(\"^[0-9]+ mph$\") %}",
" {% set m = attribute(tags, 'maxspeed:backward')|matches(\"(^[0-9]+) mph$\") %}",
" {% set maxspeedBKmh = m[1] * 1.60934 %}",
" {% set maxspeedB = m[1] %}",
" {% set unit = \"mph\" %}",
" {% else %}",
" {% set maxspeedB = 'other' %}",
" {% endif %}",
"{% endif %}",
"",
"{% if const.colorOther[maxspeed] %}",
"{% set color = const.colorOther[maxspeed] %}",
"{% elseif not maxspeedKmh %}",
"{% set color = \"#404040\" %}",
"{% else %}",
"{% set color = colorInterpolate(const.colorMap, (maxspeedKmh - const.offsetColorSpeed) / const.highestColorSpeed) %}",
"{% endif %}",
"",
"{% if const.colorOther[maxspeedF] %}",
"{% set colorF = const.colorOther[maxspeedF] %}",
"{% elseif maxspeedFKmh %}",
"{% set colorF = colorInterpolate(const.colorMap, (maxspeedFKmh - const.offsetColorSpeed) / const.highestColorSpeed) %}",
"{% endif %}",
"",
"{% if const.colorOther[maxspeedB] %}",
"{% set colorB = const.colorOther[maxspeedB] %}",
"{% elseif maxspeedBKmh %}",
"{% set colorB = colorInterpolate(const.colorMap, (maxspeedBKmh - const.offsetColorSpeed) / const.highestColorSpeed) %}",
"{% endif %}"
],
"description": "{{ tagTransList('highway', tags.highway) }}",
"details": [
"{% if maxspeedF or maxspeedB %}",
"<span style='color: {{ colorB }}'>{{ maxspeedB == 'other' ? attribute(tags, 'maxspeed:backward') : const.colorOther[maxspeedB] ? tagTrans('maxspeed', maxspeedB) : maxspeedB|default(trans('unknown')) }}</span> / <span style='color: {{ colorF }}'>{{ maxspeedF == 'other' ? attribute(tags, 'maxspeed:forward') : const.colorOther[maxspeedF] ? tagTrans('maxspeed', maxspeedF) : maxspeedF|default(trans('unknown')) }}</span> {{ unit }}",
"{% elseif maxspeed %}",
"<span style='color: {{ color }}'>{{ maxspeed == 'other' ? tags.maxspeed : const.colorOther[maxspeed] ? tagTrans('maxspeed', maxspeed) : maxspeed }} {{ unit }}</span>",
"{% elseif tags.maxspeed %}",
"{{ tags.maxspeed }}",
"{% else %}",
"{{ trans('unknown') }}",
"{% endif %}"
],
"markerSymbol": "",
"listMarkerSymbol": "line",
"styles": "{% if maxspeedB or maxspeedF %}left,right,default{% else %}default{% endif %}",
"style": {
"width": "{% if maxspeedB or maxspeedF %}0{% else %}4{% endif %}",
"color": "{{ color }}",
"text": [
"{% if maxspeedB or maxspeedF %}",
" {% if maxspeedB %}🡸 {{ maxspeedB == 'other' ? attribute(tags, 'maxspeed:backward') : maxspeedB }} {% endif %}|{% if maxspeedF %} {{ maxspeedF == 'other' ? attribute(tags, 'maxspeed:forward') : maxspeedF }} 🡺{% endif %} ",
"{% else %}",
" {{ maxspeed == 'other' ? tags.maxspeed : maxspeed }} ",
"{% endif %}"
],
"textRepeat": "1",
"textOffset": "4",
"textFontWeight": "bold"
},
"style:left": {
"width": "2",
"color": "{{ colorB|default('#404040') }}",
"offset": "-1"
},
"style:right": {
"width": "2",
"color": "{{ colorF|default('#404040') }}",
"offset": "1"
}
},
"const": {
"colorMap": [
"#00af00",
"#ff7f00",
"#ff0000",
"#af00af"
],
"colorOther": {
"none": "#ff00ff",
"walk": "#00afff",
"other": "#0000ff"
},
"highestColorSpeed": 150,
"offsetColorSpeed": 10
},
"info": [
"<table>",
" <tr>",
" <td>{{ markerLine(evaluate({}))|raw }}</td>",
" <td colspan>{{ trans('unknown') }}</td>",
" </tr>",
" <tr>",
" <td>{{ markerLine(evaluate({ \"maxspeed\": \"walk\" }))|raw }}</td>",
" <td colspan>{{ tagTrans('maxspeed', 'walk') }}</td>",
" </tr>",
" <tr>",
" <td>{{ markerLine(evaluate({ \"maxspeed\": \"none\" }))|raw }}</td>",
" <td>{{ tagTrans('maxspeed', 'none') }}</td>",
" </tr>",
" <tr>",
" <td>{{ markerLine(evaluate({ \"maxspeed\": \"other\" }))|raw }}</td>",
" <td>{{ trans('other') }}</td>",
" </tr>",
"</table>",
"<div style='display: inline-block; width: 49%;'>",
"<table>",
"{% for i in range(10, 140, 20) %}",
" <tr>",
" <td>{{ markerLine(evaluate({ \"maxspeed\": i }))|raw }}</td>",
" <td>{{ i }}km/h</td>",
" </tr>",
"{% endfor %}",
" <tr>",
" <td>{{ markerLine(evaluate({ \"maxspeed\": 150 }))|raw }}</td>",
" <td>≥150km/h</td>",
" </tr>",
"</table>",
"</div>",
"<div style='display: inline-block; width: 49%;'>",
"<table>",
"{% for i in range(10, 60, 10) %}",
" <tr>",
" <td>{{ markerLine(evaluate({ \"maxspeed\": (i * 1.60934)|round }))|raw }}</td>",
" <td>{{ i }}mph</td>",
" </tr>",
"{% endfor %}",
" <tr>",
" <td>{{ markerLine(evaluate({ \"maxspeed\": (75 * 1.60934)|round }))|raw }}</td>",
" <td>75mph</td>",
" </tr>",
" <tr>",
" <td>{{ markerLine(evaluate({ \"maxspeed\": (95 * 1.60934)|round }))|raw }}</td>",
" <td>≥95mph</td>",
" </tr>",
"</table>",
"</div>"
]
}

261
car_maxspeed.yaml

@ -0,0 +1,261 @@
type: overpass
name:
ca: Velocitat màxima
cs: Maximální rychlost
de: Höchstgeschwindigkeiten
en: Maxspeed
es: Velocidad máxima
fr: Limites de vitesse
gl: Velocidade máxima
hu: Sebességkorlátozás
it: Velocità massima
ja: 最高速度
nb: Fartsgrense
nl: Snelheidslimiet
oc: Limits de velocitat
pl: Prędkość maksymalna
pt: Velocidade máxima
pt-br: Veloc. máxima
ro: Viteza maximă
ru: Максимальная скорость
sr: Максимална брзина
tr: En yüksek hız
query:
11: way[highway~"^(motorway|trunk)$"];
13: way[highway~"^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|tertiary)$"];
15: way[highway~"^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link|residential|unclassified)$"];
16: |-
(
way[highway~"^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link|residential|unclassified)$"];
node[traffic_sign~"^(|.*;)maxspeed(;.*|)$"];
)
17: |-
(
way[highway~"^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link|residential|unclassified|service|living_street|pedestrian|track|road)$"];
node[traffic_sign~"^(|.*;)maxspeed(;.*|)$"];
)
feature:
pre: |-
{% set maxspeedKmh = null %}
{% set maxspeed = null %}
{% set unit = null %}
{% if tags.maxspeed is defined %}
{% if const.colorOther[tags.maxspeed] %}
{% set maxspeed = tags.maxspeed %}
{% elseif tags.maxspeed|matches("^[0-9]+$") %}
{% set maxspeedKmh = tags.maxspeed %}
{% set maxspeed = tags.maxspeed %}
{% set unit = "km/h" %}
{% elseif tags.maxspeed|matches( "(^[0-9]+) mph$") %}
{% set m = tags.maxspeed|matches("(^[0-9]+) mph$") %}
{% set maxspeedKmh = m[1] * 1.60934 %}
{% set maxspeed = m[1] %}
{% set unit = "mph" %}
{% else %}
{% set maxspeed = 'other' %}
{% endif %}
{% endif %}
{% if attribute(tags, 'maxspeed:forward') is defined %}
{% set x = attribute(tags, 'maxspeed:forward') %}
{% if const.colorOther[x] %}
{% set maxspeedF = attribute(tags, 'maxspeed:forward') %}
{% elseif attribute(tags, 'maxspeed:forward')|matches("^[0-9]+$") %}
{% set maxspeedFKmh = attribute(tags, 'maxspeed:forward') %}
{% set maxspeedF = attribute(tags, 'maxspeed:forward') %}
{% set unit = "km/h" %}
{% elseif attribute(tags, 'maxspeed:forward')|matches("^[0-9]+ mph$") %}
{% set m = attribute(tags, 'maxspeed:forward')|matches("(^[0-9]+) mph$") %}
{% set maxspeedFKmh = m[1] * 1.60934 %}
{% set maxspeedF = m[1] %}
{% set unit = "mph" %}
{% else %}
{% set maxspeedF = 'other' %}
{% endif %}
{% endif %}
{% if attribute(tags, 'maxspeed:backward') is defined %}
{% set x = attribute(tags, 'maxspeed:backward') %}
{% if const.colorOther[x] %}
{% set maxspeedB = attribute(tags, 'maxspeed:backward') %}
{% elseif attribute(tags, 'maxspeed:backward')|matches("^[0-9]+$") %}
{% set maxspeedBKmh = attribute(tags, 'maxspeed:backward') %}
{% set maxspeedB = attribute(tags, 'maxspeed:backward') %}
{% set unit = "km/h" %}
{% elseif attribute(tags, 'maxspeed:backward')|matches("^[0-9]+ mph$") %}
{% set m = attribute(tags, 'maxspeed:backward')|matches("(^[0-9]+) mph$") %}
{% set maxspeedBKmh = m[1] * 1.60934 %}
{% set maxspeedB = m[1] %}
{% set unit = "mph" %}
{% else %}
{% set maxspeedB = 'other' %}
{% endif %}
{% endif %}
{% if const.colorOther[maxspeed] %}
{% set color = const.colorOther[maxspeed] %}
{% elseif not maxspeedKmh %}
{% set color = "#404040" %}
{% else %}
{% set color = colorInterpolate(const.colorMap, (maxspeedKmh - const.offsetColorSpeed) / const.highestColorSpeed) %}
{% endif %}
{% if const.colorOther[maxspeedF] %}
{% set colorF = const.colorOther[maxspeedF] %}
{% elseif maxspeedFKmh %}
{% set colorF = colorInterpolate(const.colorMap, (maxspeedFKmh - const.offsetColorSpeed) / const.highestColorSpeed) %}
{% endif %}
{% if const.colorOther[maxspeedB] %}
{% set colorB = const.colorOther[maxspeedB] %}
{% elseif maxspeedBKmh %}
{% set colorB = colorInterpolate(const.colorMap, (maxspeedBKmh - const.offsetColorSpeed) / const.highestColorSpeed) %}
{% endif %}
description: |-
{% if tags.highway %}
{{ tagTransList('highway', tags.highway) }}
{% else %}
{{ keyTrans('traffic_sign') }}: {{ tagTransList('traffic_sign', tags.traffic_sign) }}
{% endif %}
details: |-
{% if maxspeedF or maxspeedB %}
<span style='color: {{ colorB }}'>{{ maxspeedB == 'other' ? attribute(tags, 'maxspeed:backward') : const.colorOther[maxspeedB] ? tagTrans('maxspeed', maxspeedB) : maxspeedB|default(trans('unknown')) }}</span> / <span style='color: {{ colorF }}'>{{ maxspeedF == 'other' ? attribute(tags, 'maxspeed:forward') : const.colorOther[maxspeedF] ? tagTrans('maxspeed', maxspeedF) : maxspeedF|default(trans('unknown')) }}</span> {{ unit }}
{% elseif maxspeed %}
<span style='color: {{ color }}'>{{ maxspeed == 'other' ? tags.maxspeed : const.colorOther[maxspeed] ? tagTrans('maxspeed', maxspeed) : maxspeed }} {{ unit }}</span>
{% elseif tags.maxspeed %}
{{ tags.maxspeed }}
{% else %}
{{ trans('unknown') }}
{% endif %}
markerSymbol: |-
{% if not tags.highway %}
{{ markerCircle({ color: 'red', width: 2, fill: true, fillColor: '#ffffff', fillOpacity: 1, radius: 9 }) }}
{% endif %}
listMarkerSymbol: |-
{% if tags.highway %}
line
{% else %}
{{ markerCircle({ color: 'red', width: 2, fill: true, fillColor: '#ffffff', fillOpacity: 1, radius: 9 }) }}
{% endif %}
markerSign: |
{% if not tags.highway %}
<span style='font-size: 8pt;
{% if tags.direction != null %}
transform: rotate({{ tags.direction|parseDirection|default(0) + 180 }}deg);
{% endif %}
'>{{ tags.maxspeed|default('?') }}</span>
{% endif %}
listMarkerSign: |
{% if not tags.highway %}
<span style='font-size: 8pt;'>{{ tags.maxspeed|default('?') }}</span>
{% endif %}
styles: |-
{% if not tags.highway %}
traffic_sign
{% elseif maxspeedB or maxspeedF %}
left,right,default
{% else %}
default
{% endif %}
style:
width: '{% if maxspeedB or maxspeedF %}0{% else %}4{% endif %}'
color: '{{ color }}'
text: |-
{% if maxspeedB or maxspeedF %}
{% if maxspeedB %}🡸 {{ maxspeedB == 'other' ? attribute(tags, 'maxspeed:backward') : maxspeedB }} {% endif %}|{% if maxspeedF %} {{ maxspeedF == 'other' ? attribute(tags, 'maxspeed:forward') : maxspeedF }} 🡺{% endif %}
{% else %}
{{ maxspeed == 'other' ? tags.maxspeed : maxspeed }}
{% endif %}
textRepeat: '1'
textOffset: '4'
textFontWeight: bold
style:left:
width: '2'
color: |-
{{ colorB|default('#404040') }}
offset: '-1'
style:right:
width: '2'
color: |
{{ colorF|default('#404040') }}
offset: '1'
style:traffic_sign:
width: 0
radius: 0
const:
colorMap:
- '#00af00'
- '#ff7f00'
- '#ff0000'
- '#af00af'
colorOther:
none: '#ff00ff'
walk: '#00afff'
other: '#0000ff'
highestColorSpeed: 150
offsetColorSpeed: 10
info: |-
<table>
<tr>
<td>{{ markerLine(evaluate({}))|raw }}</td>
<td colspan>{{ trans('unknown') }}</td>
</tr>
<tr>
<td>{{ markerLine(evaluate({ "maxspeed": "walk" }))|raw }}</td>
<td colspan>{{ tagTrans('maxspeed', 'walk') }}</td>
</tr>
<tr>
<td>{{ markerLine(evaluate({ "maxspeed": "none" }))|raw }}</td>
<td>{{ tagTrans('maxspeed', 'none') }}</td>
</tr>
<tr>
<td>{{ markerLine(evaluate({ "maxspeed": "other" }))|raw }}</td>
<td>{{ trans('other') }}</td>
</tr>
</table>
<div style='display: inline-block; width: 49%;'>
<table>
{% for i in range(10, 140, 20) %}
<tr>
<td>{{ markerLine(evaluate({ "maxspeed": i }))|raw }}</td>
<td>{{ i }}km/h</td>
</tr>
{% endfor %}
<tr>
<td>{{ markerLine(evaluate({ "maxspeed": 150 }))|raw }}</td>
<td>≥150km/h</td>
</tr>
</table>
</div>
<div style='display: inline-block; width: 49%;'>
<table>
{% for i in range(10, 60, 10) %}
<tr>
<td>{{ markerLine(evaluate({ "maxspeed": (i * 1.60934)|round }))|raw }}</td>
<td>{{ i }}mph</td>
</tr>
{% endfor %}
<tr>
<td>{{ markerLine(evaluate({ "maxspeed": (75 * 1.60934)|round }))|raw }}</td>
<td>75mph</td>
</tr>
<tr>
<td>{{ markerLine(evaluate({ "maxspeed": (95 * 1.60934)|round }))|raw }}</td>
<td>≥95mph</td>
</tr>
</table>
</div>
filter:
type:
name: |
{{ trans('filter:type') }}
type: select
show_default: true
values: |-
<option value='road' query='way[highway]'>{{ keyTrans('highway') }}</option>
<option value='traffic_sign' query='node[traffic_sign]'>{{ keyTrans('traffic_sign') }}</option>

66
car_routes.json

@ -1,66 +0,0 @@
{
"type": "overpass",
"name": {
"en": "Car routes",
"fr": "Itinéraires auto",
"hu": "Főútvonalak",
"pt-br": "Rotas rodoviárias"
},
"query": {
"10": "relation[type=route][route=road]"
},
"members": true,
"feature": {
"pre": "{% set color = '#' ~ tags.network|default('')|md5|slice(0, 6) %}",
"description": "{% if tags.network %}{{ tagTrans('network', tags.network) }}{% endif %}",
"title": "{% if tags.ref and tags.name %}{{ tags.ref }} - {{ tags.name }}{% elseif tags.ref %}{{ tags.ref }}{% elseif tags.name %}{{ tags.name }}{% endif %}",
"listMarkerSymbol": "{{ markerLine({ 'width': 4, 'color': color })|raw }}",
"markerSymbol": "",
"styles": ""
},
"memberFeature": {
"pre": [
"{% set refs = [] %}",
"{% set color = '#d41d8c' %}",
"{% if tags.ref %}",
" {% for ref in tags.ref|split(';') %}",
" {% set refs = refs|merge([ ref|trim ]) %}",
" {% endfor %}",
"{% endif %}",
"",
"{% for master in masters %}",
" {% if master.tags.network %}",
" {% set color = '#' ~ master.tags.network|md5|slice(0, 6) %}",
" {% endif %}",
" {% if master.tags.ref %}",
" {% set refs = refs|merge([ master.tags.ref ]) %}",
" {% endif %}",
"{% endfor %}",
"",
"{% set refs = refs|unique|natsort({ insensitive: true }) %}"
],
"body": [
"<h4>Routes</h4>",
"<ul>",
"{% for master in masters %}",
" {% set _color = '#' ~ master.tags.operator|default('')|md5|slice(0, 6) %}",
" <li data-object=\"{{ master.id }}\" style='list-style: none;'>",
" <span class='markerParent'><div class='marker'>{{ markerLine({ width: 4, color: _color })|raw }}</div></span>",
" <span class='title'>{% if master.tags.ref and master.tags.name %}{{ master.tags.ref }} - {{ master.tags.name|default(master.tags.ref) }}{% elseif master.tags.ref %}{{ master.tags.ref }}{% elseif master.tags.name %}{{ master.tags.name }}{% else %}{{ trans('unnamed') }}{% endif %}</span>",
" <span class='description'>{{ tagTrans('network', master.tags.network) }}</span>",
" </li>",
"{% endfor %}",
"</ul>"
],
"listExclude": "1",
"style": {
"color": "{{ color }}",
"width": 4,
"opacity": 1,
"text": "{{ refs|join(' · ') }} ",
"textRepeat": "1",
"textOffset": "12",
"textFontWeight": "bold"
}
}
}

77
car_routes.yaml

@ -0,0 +1,77 @@
type: overpass
name:
ca: Rutes en cotxe
cs: Automobilové cesty
de: Autorouten
en: Car routes
es: Rutas de coche
fr: Itinéraires auto
gl: Rotas automobilísticas
hu: Főútvonalak
it: Tratte automobilistiche
ja: 車のルート
nb: Bilruter
nl: Autoroutes
oc: Itineraris auto
pl: Trasy samochodowe
pt: Rotas rodoviárias
pt-br: Rotas rodoviárias
ro: Rute auto
ru: Автомобильные маршруты
sr: Трасе за возила
tr: Araba Rotaları
query:
10: relation[type=route][route=road]
members: true
feature:
pre: |-
{% set color = '#' ~ tags.network|default('')|md5|slice(0, 6) %}
description: |-
{% if tags.network %}{{ tagTrans('network', tags.network) }}{% endif %}
title: |-
{% if tags.ref and tags.name %}{{ tags.ref }} - {{ tags.name }}{% elseif tags.ref %}{{ tags.ref }}{% elseif tags.name %}{{ tags.name }}{% endif %}
listMarkerSymbol: |-
{{ markerLine({ 'width': 4, 'color': color })|raw }}
markerSymbol: ''
styles: ''
memberFeature:
pre: |-
{% set refs = [] %}
{% set color = '#d41d8c' %}
{% if tags.ref %}
{% for ref in tags.ref|split(';') %}
{% set refs = refs|merge([ ref|trim ]) %}
{% endfor %}
{% endif %}
{% for master in masters %}
{% if master.tags.network %}
{% set color = '#' ~ master.tags.network|md5|slice(0, 6) %}
{% endif %}
{% if master.tags.ref %}
{% set refs = refs|merge([ master.tags.ref ]) %}
{% endif %}
{% endfor %}
{% set refs = refs|unique|natsort({ insensitive: true }) %}
body: |-
<h4>Routes</h4>
<ul>
{% for master in masters %}
{% set _color = '#' ~ master.tags.operator|default('')|md5|slice(0, 6) %}
<li data-object="{{ master.id }}" style='list-style: none;'>
<span class='markerParent'><div class='marker'>{{ markerLine({ width: 4, color: _color })|raw }}</div></span>
<span class='title'>{% if master.tags.ref and master.tags.name %}{{ master.tags.ref }} - {{ master.tags.name|default(master.tags.ref) }}{% elseif master.tags.ref %}{{ master.tags.ref }}{% elseif master.tags.name %}{{ master.tags.name }}{% else %}{{ trans('unnamed') }}{% endif %}</span>
<span class='description'>{{ tagTrans('network', master.tags.network) }}</span>
</li>
{% endfor %}
</ul>
listExclude: 1
style:
color: '{{ color }}'
width: 4
opacity: 1
text: '{{ refs|join(" · ") }} '
textRepeat: 1
textOffset: 12
textFontWeight: bold

124
children.json

@ -1,124 +0,0 @@
{
"type": "overpass",
"name": {
"de": "Einrichtungen für Kinder",
"en": "Children amenities",
"fr": "Équipements pour enfants",
"hu": "Gyermekek",
"pt-br": "Equipamentos infantis"
},
"query": {
"15": [
"(",
"node[leisure~'^(playground|summer_camp|indoor_play)$'];",
"way[leisure~'^(playground|summer_camp|indoor_play)$'];",
"relation[leisure~'^(playground|summer_camp|indoor_play)$'];",
"node[shop~'^(baby_goods|toys)$'];",
"way[shop~'^(baby_goods|toys)$'];",
"relation[shop~'^(baby_goods|toys)$'];",
"nwr[changing_table][changing_table!=no];",
"nwr[diaper][diaper!=no];",
"node[kids_area];",
"way[kids_area];",
"relation[kids_area];",
");"
]
},
"feature": {
"description": [
"{% if tags.leisure=='playground' %}",
"{{ tagTrans('leisure', 'playground') }}",
"{% elseif tags.leisure=='summer_camp'%}",
"{{ tagTrans('leisure', 'summer_camp') }}",
"{% elseif tags.leisure=='indoor_play' %}",
"{{ tagTrans('leisure', 'indoor_play') }}",
"{% elseif tags.kids_area %}",
"{{ keyTrans('kids_area') }}",
"{% elseif tags.shop=='baby_goods' or tags.shop=='toys' %}",
"{{ keyTrans('shop') }}: {{ tagTrans('shop', tags.shop) }}",
"{% elseif tags.amenity == 'toilets' and ( (tags.changing_table and tags.changing_table != 'no') or (tags.diaper and tags.diaper != 'no') ) %}",
"{{ tagTrans('amenity', 'toilets changing_table=yes') }}",
"{% elseif (tags.changing_table and tags.changing_table != 'no') or (tags.diaper and tags.diaper != 'no') %}",
"{{ keyTrans('changing_table') }}",
"{% endif %}"
],
"markerSign": [
"{% if tags.leisure=='playground' %}",
"⛹",
"{% elseif tags.leisure=='summer_camp'%}",
"🏕",
"{% elseif tags.leisure=='indoor_play' or tags.kids_area %}",
"🏠",
"{% elseif tags.shop=='baby_goods' or tags.shop=='toys' %}",
"<i class=\"fa fa-shopping-cart\"></i>",
"{% elseif tags.amenity=='toilets' and tags.changing_table and tags.changing_table!='no' %}",
"🚽🚼",
"{% endif %}"
]
},
"info": [
"<table>",
" <tr>",
" <td>{{ markerCircle({})|raw }}<div class='sign'>⛹</div></td>",
" <td>{{ tagTrans('leisure', 'playground') }}</td>",
" </tr>",
" <tr>",
" <td>{{ markerCircle({})|raw }}<div class='sign'>🏠</div></td>",
" <td>{{ tagTrans('leisure', 'indoor_play') }}</td>",
" </tr>",
" <tr>",
" <td>{{ markerCircle({})|raw }}<div class='sign'>🏕</div></td>",
" <td>{{ tagTrans('leisure', 'summer_camp') }}</td>",
" </tr>",
" <tr>",
" <td>{{ markerCircle({})|raw }}<div class='sign'>🏠</div></td>",
" <td>{{ keyTrans('kids_area') }}</td>",
" </tr>",
" <tr>",
" <td>{{ markerCircle({})|raw }}<div class='sign'><i class=\"fa fa-shopping-cart\"></i></div></td>",
" <td>{{ keyTrans('shop') }}: {{ tagTransList('shop', 'baby_goods;toys') }}</td>",
" </tr>",
" <tr>",
" <td>{{ markerCircle({})|raw }}<div class='sign'>🚽🚼</div></td>",
" <td>{{ tagTrans('amenity', 'toilets changing_table=yes') }}</td>",
" </tr>",
"</table>"
],
"filter": {
"type": {
"name": "{{ trans('filter:type') }}",
"type": "select",
"show_default": "true",
"values": {
"playground": {
"name": "{{ tagTrans('leisure', 'playground') }}",
"query": "nwr[leisure=playground]"
},
"indoor_play": {
"name": "{{ tagTrans('leisure', 'indoor_play') }}",
"query": "nwr[leisure=indoor_play]"
},
"summer_camp": {
"name": "{{ tagTrans('leisure', 'summer_camp') }}",
"query": "nwr[leisure=summer_camp]"
},
"kids_area": {
"name": "{{ keyTrans('kids_area') }}",
"query": "nwr[kids_area]"
},
"shop_baby_goods": {
"name": "{{ tagTrans('shop', 'baby_goods') }}",
"query": "nwr[shop=baby_goods]"
},
"shop_toys": {
"name": "{{ tagTrans('shop', 'toys') }}",
"query": "nwr[shop=toys]"
},
"toilets": {
"name": "{{ tagTrans('amenity', 'toilets changing_table=yes') }}",
"query": "nwr[amenity=toilets][changing_table][changing_table!=no]"
}
}
}
}
}

114
children.yaml

@ -0,0 +1,114 @@
type: overpass
name:
ca: Serveis per a infants
cs: Vybavení pro děti
de: Einrichtungen für Kinder
en: Children amenities
es: Instalaciones para niños
fr: Équipements pour enfants
gl: Instalacións infantís
hu: Gyermekek
it: Luoghi per bambini
ja: 子ども用施設
nb: Barnefasiliteter
nl: Voorzieningen voor kinderen
oc: Luòcs per leis enfants
pl: Użyteczne dzieciom
pt: Equipamentos infantis
pt-br: Equipamentos infantis
ro: Facilități copii
sr: Додаци за децу
tr: Çocuk Malzemeleri
query:
15: |-
(
nwr[leisure~'^(playground|summer_camp|indoor_play)$'];
nwr[shop~'^(baby_goods|toys)$'];
nwr[changing_table][changing_table!=no];
nwr[diaper][diaper!=no];
nwr[kids_area];
);
feature:
description: |-
{% if tags.leisure=='playground' %}
{{ tagTrans('leisure', 'playground') }}
{% elseif tags.leisure=='summer_camp'%}
{{ tagTrans('leisure', 'summer_camp') }}
{% elseif tags.leisure=='indoor_play' %}
{{ tagTrans('leisure', 'indoor_play') }}
{% elseif tags.kids_area %}
{{ keyTrans('kids_area') }}
{% elseif tags.shop=='baby_goods' or tags.shop=='toys' %}
{{ keyTrans('shop') }}: {{ tagTrans('shop', tags.shop) }}
{% elseif tags.amenity == 'toilets' and ( (tags.changing_table and tags.changing_table != 'no') or (tags.diaper and tags.diaper != 'no') ) %}
{{ tagTrans('amenity', 'toilets changing_table=yes') }}
{% elseif (tags.changing_table and tags.changing_table != 'no') or (tags.diaper and tags.diaper != 'no') %}
{{ keyTrans('changing_table') }}
{% endif %}
markerSign: |-
{% if tags.leisure=='playground' %}
{% elseif tags.leisure=='summer_camp'%}
🏕
{% elseif tags.leisure=='indoor_play' or tags.kids_area %}
🏠
{% elseif tags.shop=='baby_goods' or tags.shop=='toys' %}
<i class="fa fa-shopping-cart"></i>
{% elseif tags.amenity=='toilets' and tags.changing_table and tags.changing_table!='no' %}
🚽🚼
{% endif %}
info: |-
<table>
<tr>
<td>{{ markerCircle({})|raw }}<div class='sign'>⛹</div></td>
<td>{{ tagTrans('leisure', 'playground') }}</td>
</tr>
<tr>
<td>{{ markerCircle({})|raw }}<div class='sign'>🏠</div></td>
<td>{{ tagTrans('leisure', 'indoor_play') }}</td>
</tr>
<tr>
<td>{{ markerCircle({})|raw }}<div class='sign'>🏕</div></td>
<td>{{ tagTrans('leisure', 'summer_camp') }}</td>
</tr>
<tr>
<td>{{ markerCircle({})|raw }}<div class='sign'>🏠</div></td>
<td>{{ keyTrans('kids_area') }}</td>
</tr>
<tr>
<td>{{ markerCircle({})|raw }}<div class='sign'><i class="fa fa-shopping-cart"></i></div></td>
<td>{{ keyTrans('shop') }}: {{ tagTransList('shop', 'baby_goods;toys') }}</td>
</tr>
<tr>
<td>{{ markerCircle({})|raw }}<div class='sign'>🚽🚼</div></td>
<td>{{ tagTrans('amenity', 'toilets changing_table=yes') }}</td>
</tr>
</table>
filter:
type:
name: |-
{{ trans('filter:type') }}
type: select
show_default: true
values:
playground:
name: '{{ tagTrans("leisure", "playground") }}'
query: nwr[leisure=playground]
indoor_play:
name: '{{ tagTrans("leisure", "indoor_play") }}'
query: nwr[leisure=indoor_play]
summer_camp:
name: '{{ tagTrans("leisure", "summer_camp") }}'
query: nwr[leisure=summer_camp]
kids_area:
name: '{{ keyTrans("kids_area") }}'
query: nwr[kids_area]
shop_baby_goods:
name: '{{ tagTrans("shop", "baby_goods") }}'
query: nwr[shop=baby_goods]
shop_toys:
name: '{{ tagTrans("shop", "toys") }}'
query: nwr[shop=toys]
toilets:
name: '{{ tagTrans("amenity", "toilets changing_table=yes") }}'
query: nwr[amenity=toilets][changing_table][changing_table!=no]

16
climbing.json

@ -1,8 +1,22 @@
{
"type": "overpass",
"name": {
"ca": "Escalada",
"cs": "Lezení",
"de": "Klettern",
"en": "Climbing",
"de": "Klettern"
"fr": "Escalade",
"gl": "Escalada",
"hu": "Hegymászás",
"it": "Arrampicata",
"ja": "登山",
"nb": "Klatring",
"oc": "Escalada",
"pl": "Wspinaczka",
"pt": "Escalada",
"pt-br": "Escalada",
"sr": "Пењање",
"tr": "Tırmanış"
},
"query": {
"12": [

17
coal.json

@ -1,11 +1,26 @@
{
"type": "overpass",
"name": {
"ca": "Carbó",
"cs": "Uhlí",
"de": "Kohle",
"en": "Coal",
"es": "Carbón",
"fr": "Charbon",
"gl": "Carbón",
"hu": "Kőszén",
"pt-br": "Carvão"
"it": "Carbone",
"ja": "石炭",
"nb": "Kull",
"nl": "Kolen",
"oc": "Carbon",
"pl": "Węgiel",
"pt": "Carvão",
"pt-br": "Carvão",
"ro": "Cărbune",
"ru": "Уголь",
"sr": "Угаљ",
"tr": "Kömür"
},
"query": {
"11": [

154
communication.json

@ -1,154 +0,0 @@
{
"type": "overpass",
"name": {
"ast": "Comunicaciones",
"ca": "Comunicacions",
"cs": "Komunikace",
"de": "Kommunikation",
"el": "Επικοινωνίες",
"en": "Communication",
"et": "Kommunikatsioon",
"fr": "Communication",
"hu": "Kommunikácó",
"it": "Communicazioni",
"ja": "交流",
"nl": "Communicatie",
"pt": "Comunicação",
"pt-br": "Comunicação",
"ro": "Comunicatii",
"ru": "Услуги связи",
"uk": "Телекомунікації"
},
"query": {
"13": [
"(",
"nwr[amenity~'^(post_office|internet_cafe)$'];",
"nwr[office~\"^(telecommunication|it|newspaper|publisher|advertising_agency)$\"];",
");"
],
"15": [
"(",
"nwr[amenity~'^(post_office|internet_cafe|post_box|parcel_locker|telephone)$'];",
"nwr[office~\"^(telecommunication|it|newspaper|publisher|advertising_agency)$\"];",
"nwr[vending~\"^(|.*;)parcel_pickup(;.*|)$\"];",
"nwr[vending~\"^(|.*;)parcel_mail_in(;.*|)$\"];",
");"
]
},
"feature": {
"pre": [
"{% if tags.vending %}",
" {% set key = 'amenity' %}",
" {% set value = 'parcel_locker' %}",
" {% set deprecated = ['vending=' ~ tags.vending, 'https://wiki.openstreetmap.org/wiki/Proposed_features/amenity%3Dparcel_locker'] %}",
"{% elseif tags.amenity %}",
" {% set key = 'amenity' %}",
" {% set value = tags.amenity %}",
"{% else %}",
" {% set key = 'office' %}",
" {% set value = tags.office %}",
"{% endif %}"
],
"description": [
"{% if key == 'office' %}",
" {{ keyTrans('office') }} ({{ tagTrans('office', tags.office) }})",
"{% else %}",
" {{ tagTransList(key, value) }}",
"{% endif %}"
],
"body": [
"{% if deprecated %}<div class='warning'>{{ repoTrans('deprecated', deprecated[0], deprecated[1])|raw }}</div>{% endif %}",
"{% if tags.operator %}{{ keyTrans('operator') }}: {{ localizedTag(tags, 'operator') }}<br/>{% endif %}"
],
"markerSign": [
"{% set data = const[key ~ '=' ~ value] %}",
"{% if data %}",