Compare commits

...

153 Commits

Author SHA1 Message Date
Stephan Bösch-Plepelits 6d3e7c932e pt: show directions in hover and selected 4 years ago
Stephan Bösch-Plepelits 4225e151fa pt: show arrowHeads to indicate direction of routes 4 years ago
Stephan Bösch-Plepelits 2ab2a904b2 pt: instead of circles on stops use markers of type circle (always on top) 4 years ago
Stephan Bösch-Plepelits 0613261833 Cycle routes: hover/selected on the member features instead of master 4 years ago
Stephan Bösch-Plepelits 11c08791ea Cycle routes: show directions on ways 4 years ago
Stephan Bösch-Plepelits f968b451ad New category: power routes 4 years ago
Stephan Bösch-Plepelits 11c5fd6b7d coal, oil_gas: description for power=generator 4 years ago
Stephan Bösch-Plepelits 5adefe2457 Energy: add new 'renewables' category 4 years ago
Stephan Bösch-Plepelits 1a1c093ef4 historic/religion: also show wayside_chapel in religion 4 years ago
Stephan Bösch-Plepelits fd3659240d Make new categories translateable 4 years ago
Stephan Bösch-Plepelits 0ca6f228a0 remove fossil-energy (has been split into oil_gas and coal) 4 years ago
Stephan Bösch-Plepelits a8ef4e5e26 Merge branch 'energy' 4 years ago
Stephan Bösch-Plepelits 6e629d8420 Merge branch 'maxspeed' 4 years ago
Stephan Bösch-Plepelits 3122a83cbe railway-maxspeed: prefix name by railway (DE/EN) 4 years ago
Stephan Bösch-Plepelits e6838b8e2d car_maxspeed/railway-maxspeed: show speed (w/o unit) as label 4 years ago
Stephan Bösch-Plepelits a1c25cfe76 railway-maxspeed: new category 4 years ago
Stephan Bösch-Plepelits 85f3dc53d9 Merge branch 'historic_improvements' 4 years ago
Stephan Bösch-Plepelits 7c98911738 pt: show 'loading' on stops when not fully loaded yet or 'unknown' when unnamed (or can't be referenced from not loaded stop_area) 4 years ago
Stephan Bösch-Plepelits 60a90b2725 All routes: join route refs by ' · ' 4 years ago
Stephan Bösch-Plepelits aba940bc6e car_routes: improve refs 4 years ago
Stephan Bösch-Plepelits dd826ba6e6 coal, oil_gas: improvements 4 years ago
Stephan Bösch-Plepelits 8261dedec9 Split fossil-energy in coal resp oil_gas 4 years ago
Stephan Bösch-Plepelits 2564cbd9ef historic/religion: move wayside_cross/wayside_shrine to religion 4 years ago
Stephan Bösch-Plepelits 979714e92c Memorial: use "historic=memorial memorial=*" (or alias memorial:type=*) as description 4 years ago
Stephan Bösch-Plepelits 0d37e906c8 Split memorial from historic 4 years ago
Stephan Bösch-Plepelits 6f93c24123 Health: bugfix icons 4 years ago
Stephan Bösch-Plepelits a97bdff17f Import hu translations to categories 4 years ago
Stephan Bösch-Plepelits 596042834e Merge branch 'patch-4' of https://github.com/debyos/openstreetbrowser-categories-main 4 years ago
Stephan Bösch-Plepelits 60bd5cb3a1
Merge pull request #20 from debyos/patch-3 4 years ago
debyos d14db0f125
Another minor improvement 4 years ago
debyos c8a0dea299
Minor improvements 4 years ago
Stephan Bösch-Plepelits 6c95b95080 Import hu translations to categories 4 years ago
Stephan Bösch-Plepelits db620d0140
Merge pull request #19 from debyos/patch-2 4 years ago
debyos 61969d4ae0
Update and completion of missing translations 4 years ago
Stephan Bösch-Plepelits fe7792fda7 Add some category titles which were accidentially missing 4 years ago
Stephan Bösch-Plepelits ec620a9823 Fix order of language strings in lang/ files 4 years ago
Stephan Bösch-Plepelits aa4849675a Import hu translations to categories 4 years ago
Stephan Bösch-Plepelits 3adf2dcf46
Merge pull request #18 from debyos/patch-1 4 years ago
debyos bd815e0553
Hungarian translation completed 4 years ago
Stephan Bösch-Plepelits 937d96a177 historic: use different translation/icon for "historic=memorial memorial=plaque" 4 years ago
Stephan Bösch-Plepelits e066f56f4d Payment options: tooltip for each value 4 years ago
Stephan Bösch-Plepelits e9981668b6 Separate payment options by ',' 4 years ago
Stephan Bösch-Plepelits 363b6021b4 Translate payment options 4 years ago
Stephan Bösch-Plepelits fa0abe70ec Import pt-br translations to categories 4 years ago
Stephan Bösch-Plepelits 6de4ac1f86
Merge pull request #16 from IgorEliezer/patch-1 4 years ago
Igor Eliezer a180b52039
Fix pt-br.json 4 years ago
Igor Eliezer e3d43961a9
Merge pull request #5 from plepe/master 4 years ago
Stephan Bösch-Plepelits 8b6f136101 Import pt-br translations to categories 4 years ago
Stephan Bösch-Plepelits 4120b34011
Merge pull request #15 from IgorEliezer/patch-1 4 years ago
Stephan Bösch-Plepelits 52d041e50a emergency: fix descriptions and icons 4 years ago
Igor Eliezer 8f5154ef15
Update pt-br.json 4 years ago
Igor Eliezer 9ff770ed4f
Merge pull request #4 from plepe/master 4 years ago
Stephan Bösch-Plepelits 484ec0904b water: waterway=drain 4 years ago
Stephan Bösch-Plepelits 15aa49c4ea Merge translations into categories (pt-br) 4 years ago
Stephan Bösch-Plepelits 5dab28760c
Merge pull request #14 from IgorEliezer/patch-1 4 years ago
Igor Eliezer 572441044e
Update pt-br.json 4 years ago
Igor Eliezer 535a3be5f9
Merge pull request #3 from plepe/master 4 years ago
Stephan Bösch-Plepelits 2339038885 Merge translations into categories (fr) 4 years ago
Stephan Bösch-Plepelits 1cbac8f3c0
Merge pull request #13 from Cybereric/patch-7 4 years ago
Cybereric 5892b4b98b
Update fr.json 4 years ago
Stephan Bösch-Plepelits 1147a67d83 Re-organize infrastructure/energy; Rename power->electric_power 4 years ago
Stephan Bösch-Plepelits 96e273a8b3 gastro: show dietary options 4 years ago
Stephan Bösch-Plepelits f10910dc63 popupBody: link to wikipedia 4 years ago
Stephan Bösch-Plepelits b09b903aa6 pt: order fields as written by openstreetbrowser-editor 4 years ago
Stephan Bösch-Plepelits 529e8ecfd8 car_routes: complete; color by 'network' tag 4 years ago
Stephan Bösch-Plepelits 31e66a0388 car_routes: inital code (mostly copied from cycle_routes) 4 years ago
Stephan Bösch-Plepelits a0bfccf64e Update language files 4 years ago
Stephan Bösch-Plepelits dcb7010a71 pt: show only stops with min. 1 route 4 years ago
Stephan Bösch-Plepelits ece5008798 pt: route icons in stop/way popup 4 years ago
Stephan Bösch-Plepelits ce40299b2a PT: re-enable PT Amenities category 4 years ago
Stephan Bösch-Plepelits fb8fc5c05c pt: support PTv1 (and PTv3?) 4 years ago
Stephan Bösch-Plepelits 95a2fa0cb4 New sub category 'outdoor' which includes mtb routes 4 years ago
Stephan Bösch-Plepelits 805e910681 cycle_routes, hiking_routes: fix priority 4 years ago
Stephan Bösch-Plepelits d767e9303f * routes: improve popup display 4 years ago
Stephan Bösch-Plepelits 0c9e212b4a cycle_routes, hiking_routes: improve popup 4 years ago
Stephan Bösch-Plepelits f9c0ba53ab railway-routes: improve popup 4 years ago
Stephan Bösch-Plepelits e4ad01f1ce railway-routes: color routes by operator 4 years ago
Stephan Bösch-Plepelits fcd65084ca railway-routes 4 years ago
Stephan Bösch-Plepelits 256dc89193 cycle_routes, hiking_routes: improve code 4 years ago
Stephan Bösch-Plepelits 300b6d78a8 Hiking Routes: copy code from cycle networks 4 years ago
Stephan Bösch-Plepelits 601fcd0f31 fix 4 years ago
Stephan Bösch-Plepelits bedbfe18a1 cycle_routes: add map key, list symbols, improve colors 4 years ago
Stephan Bösch-Plepelits e17ef2db6d cycle_routes: use new members queries 4 years ago
Stephan Bösch-Plepelits bd4585e532 pt: Add list names to lang/ 4 years ago
Stephan Bösch-Plepelits 0e5fbf4606 Merge branch 'master' into pt 4 years ago
Stephan Bösch-Plepelits 89746d5e1e Replace null in lang strings by ""; remove deleted categories 4 years ago
Stephan Bösch-Plepelits 034d0c448b pt: fixes 4 years ago
Stephan Bösch-Plepelits add73ee88d pt: hide platforms, marker for stops in list 4 years ago
Stephan Bösch-Plepelits 4fe9d70dcc railway-electrification: translate non electrified 4 years ago
Stephan Bösch-Plepelits ea69d063c4 pt: remove duplicate refs, order naturally 4 years ago
Stephan Bösch-Plepelits 01997790e5 pt: different styles for stop, way, platform 4 years ago
Stephan Bösch-Plepelits 3b8466b204 pt: also load stop_areas, use relation name if stop_position has no name 4 years ago
Stephan Bösch-Plepelits 2338dfdd29 pt: show route refs on ways 4 years ago
Stephan Bösch-Plepelits 89b8bb41c9 pt: improvements 4 years ago
Stephan Bösch-Plepelits 1acb3fd7f8 railway-infrastructure: include usage=* and service=* in description 4 years ago
Stephan Bösch-Plepelits bcfeb519cb railway-infrastructure: localization for usage tag 4 years ago
Stephan Bösch-Plepelits fdf93ee86e railway-infrastructure: localization for service tag 4 years ago
Stephan Bösch-Plepelits 371ca42047 pt: sub lists 4 years ago
Stephan Bösch-Plepelits 2d1ca4dfe5 pt: improve colors 4 years ago
Stephan Bösch-Plepelits 8c4fc6f64e pt: fixes 4 years ago
Stephan Bösch-Plepelits e40239f646 Replace pt_routes/pt_stops by new pt category 4 years ago
Stephan Bösch-Plepelits c74852a03b lint 4 years ago
Stephan Bösch-Plepelits da702616f4 Merge branch 'waldyrious-patch-1' 4 years ago
Stephan Bösch-Plepelits 63bad9136c Distribute pt language strings to categories 4 years ago
Waldir Pimenta 30bf3b4e82
Create pt.json 4 years ago
Igor Eliezer 270ca44713
Merge pull request #2 from plepe/master 4 years ago
Stephan Bösch-Plepelits 7c89f678a7 Merge branch 'IgorEliezer-11' 5 years ago
Stephan Bösch-Plepelits 1d38fc7ea9 Distribute language strings to categories (pt-br) 5 years ago
Stephan Bösch-Plepelits 9858d79080 fossil-energy: include quarry and mine_shaft (coal) 5 years ago
Igor Eliezer e12e971a75
Fix for consistency 5 years ago
Igor Eliezer fe9344ccc5
Update pt-br 5 years ago
Igor Eliezer 3b5a3cd1c6
Merge pull request #1 from plepe/master 5 years ago
Stephan Bösch-Plepelits 31d0d59148 Religion: description depends on the building=* tag 5 years ago
Stephan Bösch-Plepelits aee96a7e11 cycle_amenities: translate bicycle tube dispensers 5 years ago
Stephan Bösch-Plepelits 44fe15406c Fossil Energy: include coal and power generators 5 years ago
Stephan Bösch-Plepelits f737061637 Craft: import translation (fr) 5 years ago
Stephan Bösch-Plepelits 5bd5f67f69
Merge pull request #10 from Cybereric/patch-6 5 years ago
Cybereric 10af6d8202
Update fr.json 5 years ago
Stephan Bösch-Plepelits cc2f1c06b7 Fossil Energy: new category 5 years ago
Stephan Bösch-Plepelits 5412b0b57e Bugfixes (API adaption) 5 years ago
Stephan Bösch-Plepelits b3500f5491 Tourism Services: bugfix (API adaption) 5 years ago
Stephan Bösch-Plepelits 3ed43d7f7d
Cycle Amenities: show charging stations from z13 5 years ago
Stephan Bösch-Plepelits 318e97494e Craft: new category 5 years ago
Stephan Bösch-Plepelits 80a07e84aa Car / Cycle Amenities: include ev charging stations 5 years ago
Stephan Bösch-Plepelits b6707d9d62 Historic: center icon of memorials 5 years ago
Stephan Bösch-Plepelits baaf77be4d gastro-smoking: update lang fr 5 years ago
Stephan Bösch-Plepelits b072f74489
Merge pull request #9 from Cybereric/patch-5 5 years ago
Cybereric 4320c21324
Smoking free category FR translation 5 years ago
Stephan Bösch-Plepelits a58a5ae4dd Update translations 5 years ago
Stephan Bösch-Plepelits 256d9630e4 Merge remote-tracking branch 'origin/master' 5 years ago
Stephan Bösch-Plepelits 65cd20ab6f
Merge pull request #8 from Cybereric/patch-4 5 years ago
Cybereric b8dcb0e4e1
Better french translations 5 years ago
Stephan Bösch-Plepelits 82ad789095 Index: move gastro-smoking to special 5 years ago
Stephan Bösch-Plepelits 6f91f00762 Gastronomy Smoking: new category! 5 years ago
Stephan Bösch-Plepelits 6d373b0066 Health: handle tag keys (drawback: duplicate entries in info) 5 years ago
Stephan Bösch-Plepelits ad500f33c1 Emergency: use emergency=phone instead amenity=emergency_phone 5 years ago
Stephan Bösch-Plepelits 8cfdc2c23c Culture and Religion: fix title (en, fr) 5 years ago
Stephan Bösch-Plepelits d976bb063d Import category titles from translation (fr) 5 years ago
Stephan Bösch-Plepelits 9687b637b9 Merge branch 'master' of github.com:plepe/openstreetbrowser-categories-main 5 years ago
Stephan Bösch-Plepelits c96f2c0c53
Merge pull request #6 from Cybereric/patch-2 5 years ago
Cybereric a0b6ccb06e
Categories update 5 years ago
Stephan Bösch-Plepelits b4897eadd2 Agriculture: priorities 5 years ago
Stephan Bösch-Plepelits 411044a164 Translations: add template.json file 5 years ago
Stephan Bösch-Plepelits 22c878b47c Import category titles from translation (pt-br) 5 years ago
Stephan Bösch-Plepelits 73ca7808fb
Merge pull request #5 from IgorEliezer/patch-1 5 years ago
Igor Eliezer 8ff6fde7be
Fix missing comma 5 years ago
Igor Eliezer a567b73d1a
Create pt-br.json 5 years ago
Stephan Bösch-Plepelits 6e50207339 Update 'culture_religion.json' 5 years ago
Stephan Bösch-Plepelits ed68cdb2a3 Import category titles from translation (fr) 5 years ago
Stephan Bösch-Plepelits 91ceada260 Merge remote-tracking branch 'origin/master' 5 years ago
Stephan Bösch-Plepelits 7b7bf9f422
Merge pull request #4 from Cybereric/patch-1 5 years ago
Cybereric c6c77239ab
Update fr.json 5 years ago
Cybereric 11b84e3c9c
Update fr.json 5 years ago
  1. 4
      administrative.json
  2. 13
      agriculture.json
  3. 2
      alternative_amenities.json
  4. 3
      alternative_routes.json
  5. 5
      buildings.json
  6. 8
      car_amenities.json
  7. 5
      car_furniture.json
  8. 10
      car_maxspeed.json
  9. 65
      car_routes.json
  10. 4
      children.json
  11. 41
      coal.json
  12. 2
      communication.json
  13. 5
      construction.json
  14. 77
      craft.json
  15. 2
      culture.json
  16. 11
      culture_religion.json
  17. 18
      cycle_amenities.json
  18. 144
      cycle_routes.json
  19. 5
      detailsBody.html
  20. 5
      education.json
  21. 6
      electric_power.json
  22. 34
      emergency.json
  23. 7
      financial.json
  24. 70
      gastro-smoking.json
  25. 18
      gastro.json
  26. 34
      health.json
  27. 95
      hiking_routes.json
  28. 26
      historic.json
  29. 102
      index.json
  30. 5
      internet.json
  31. 63
      lang/ast.json
  32. 121
      lang/ca.json
  33. 63
      lang/cs.json
  34. 47
      lang/de.json
  35. 87
      lang/el.json
  36. 49
      lang/en.json
  37. 123
      lang/es.json
  38. 96
      lang/et.json
  39. 65
      lang/fr.json
  40. 108
      lang/hu.json
  41. 71
      lang/it.json
  42. 69
      lang/ja.json
  43. 65
      lang/nl.json
  44. 106
      lang/pl.json
  45. 79
      lang/pt-br.json
  46. 79
      lang/pt.json
  47. 82
      lang/ro.json
  48. 71
      lang/ru.json
  49. 79
      lang/template.json
  50. 78
      lang/uk.json
  51. 3
      leisure.json
  52. 67
      memorial.json
  53. 4
      military.json
  54. 53
      mtb-routes.json
  55. 4
      natural.json
  56. 64
      oil_gas.json
  57. 4
      other.json
  58. 15
      outdoor.json
  59. 3
      phone.json
  60. 2
      places.json
  61. 2
      places_geo.json
  62. 3
      playgrounds.json
  63. 26
      popupBody.html
  64. 4
      post.json
  65. 63
      power_routes.json
  66. 235
      pt.json
  67. 2
      pt_amenities.json
  68. 80
      pt_routes.json
  69. 47
      pt_stops.json
  70. 3
      public.json
  71. 11
      railway-electrification.json
  72. 22
      railway-infrastructure.json
  73. 117
      railway-maxspeed.json
  74. 60
      railway-routes.json
  75. 39
      religion.json
  76. 37
      renewables.json
  77. 2
      residential.json
  78. 3
      resources.json
  79. 4
      shop.json
  80. 6
      sport.json
  81. 8
      tourism_attractions.json
  82. 8
      tourism_services.json
  83. 3
      transport_alternative.json
  84. 4
      walk_amenities.json
  85. 5
      waste.json
  86. 13
      water.json
  87. 6
      wikipedia.json
  88. 5
      works.json

4
administrative.json

@ -8,9 +8,11 @@
"en": "Administrative Areas",
"et": "Administratiivalad",
"fr": "Zones administratives",
"hu": "Adminisztratív határok",
"hu": "Közigazgatási határok",
"it": "Suddivisioni amministrative",
"nl": "Administratieve gebieden",
"pt": "Regiões administrativas",
"pt-br": "Divisão político-administrativa",
"ro": "Zona administrativa",
"ru": "Административные границы"
},

13
agriculture.json

@ -12,6 +12,8 @@
"it": "Agricoltura",
"ja": "農業",
"nl": "Landbouw",
"pt": "Agricultura",
"pt-br": "Agricultura",
"ro": "Agricultura",
"ru": "Сельское хозяйство"
},
@ -25,6 +27,15 @@
]
},
"feature": {
"description": "{{ tagTrans('landuse', tags.landuse) }}"
"description": "{{ tagTrans('landuse', tags.landuse) }}",
"priority": [
"{% if tags.landuse == 'farmyard' %}",
"0",
"{% elseif tags.landuse == 'allotments' %}",
"1",
"{% else %}",
"2",
"{% endif %}"
]
}
}

2
alternative_amenities.json

@ -5,9 +5,11 @@
"de": "Einrichtungen",
"en": "Amenities",
"fr": "Équipement",
"hu": "Létesítmények",
"it": "Infrastrutture",
"ja": "生活環境",
"nl": "Voorzieningen",
"pt-br": "Equipamentos",
"ru": "Полезные места",
"uk": "Amenities"
}

3
alternative_routes.json

@ -5,9 +5,12 @@
"de": "(ausgeschilderte) Routen",
"en": "Routes",
"fr": "Routes",
"hu": "Útvonalak",
"it": "Itinerari segnalati",
"ja": "ルート",
"nl": "Alternatieve routes",
"pt": "Rotas",
"pt-br": "Rotas",
"ru": "Маршруты",
"uk": "Маршрути"
}

5
buildings.json

@ -3,7 +3,10 @@
"name": {
"de": "Gebäude",
"en": "Buildings",
"fr": "Bâtiments"
"fr": "Bâtiments",
"hu": "Épületek",
"pt": "Edifícios",
"pt-br": "Edificações"
},
"query": {
"16": [

8
car_amenities.json

@ -5,10 +5,12 @@
"cs": "Občasnká vybavenost",
"de": "Einrichtungen",
"en": "Amenities",
"fr": "Infrastructures routières",
"fr": "Équipements auto",
"hu": "Létesítmények",
"it": "Infrastrutture",
"ja": "生活環境",
"nl": "Voorzieningen",
"pt-br": "Equipamentos",
"ru": "Обслуживание транспорта",
"uk": "Amenities"
},
@ -18,6 +20,8 @@
"node[amenity~\"^(car_rental|car_sharing|fuel)$\"];",
"way[amenity~\"^(car_rental|car_sharing|fuel)$\"];",
"relation[amenity~\"^(car_rental|car_sharing|fuel)$\"];",
"node[amenity~\"^(charging_station)$\"][car!=\"no\"];",
"node[amenity~\"^(charging_station)$\"][motorcycle!=\"no\"];",
")"
],
"16": [
@ -40,7 +44,7 @@
"car_rental": "R",
"car_sharing": "S",
"car_wash": "🚿",
"charging_station": "🔌 ",
"charging_station": "🔌",
"fuel": "⛽",
"parking": "🅿",
"motorcycle_parking": "🅿"

5
car_furniture.json

@ -4,11 +4,14 @@
"cs": "Pouliční přislušenství",
"de": "Straßenausstattung",
"en": "Street Furniture",
"fr": "Infrastrucutures résidentielles",
"fr": "Fournitures automobiles",
"hu": "Jelzőtáblák",
"it": "Dotazioni stradali",
"ja": "街路設置公共物",
"nl": "Straatmeubilair",
"pl": "Elementy drogowe",
"pt": "Mobiliário urbano",
"pt-br": "Mobiliário urbano",
"ru": "Элементы дороги",
"uk": "Street Furniture"
}

10
car_maxspeed.json

@ -3,7 +3,10 @@
"name": {
"de": "Höchstgeschwindigkeiten",
"en": "Maxspeed",
"fr": "Limites de vitesse"
"fr": "Limites de vitesse",
"hu": "Sebességkorlátozás",
"pt": "Velocidade máxima",
"pt-br": "Velocidade máxima"
},
"query": {
"11": "way[highway~\"^(motorway|trunk)$\"];",
@ -54,7 +57,10 @@
"listMarkerSymbol": "line",
"style": {
"width": "3",
"color": "{{ color }}"
"color": "{{ color }}",
"text": "{{ maxspeed }} ",
"textRepeat": "1",
"textFontWeight": "bold"
}
},
"const": {

65
car_routes.json

@ -0,0 +1,65 @@
{
"type": "overpass",
"name": {
"en": "Car routes",
"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 }}{% else %}{{ trans('unnamed') }}{% 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"
}
}
}

4
children.json

@ -3,7 +3,9 @@
"name": {
"de": "Einrichtungen für Kinder",
"en": "Children amenities",
"fr": "Équipements pour enfants"
"fr": "Équipements pour enfants",
"hu": "Gyermekek",
"pt-br": "Equipamentos infantis"
},
"query": {
"15": [

41
coal.json

@ -0,0 +1,41 @@
{
"type": "overpass",
"name": {
"de": "Kohle",
"en": "Coal"
},
"query": {
"11": [
"(",
"node[landuse~\"^(quarry)$\"][resource~\"^(|.*;)coal(|;.*)$\"];",
"way[landuse~\"^(quarry)$\"][resource~\"^(|.*;)coal(|;.*)$\"];",
"relation[landuse~\"^(quarry)$\"][resource~\"^(|.*;)coal(|;.*)$\"];",
"node[man_made~\"^(mineshaft)$\"][resource~\"^(|.*;)coal(|;.*)$\"];",
"way[man_made~\"^(mineshaft)$\"][resource~\"^(|.*;)coal(|;.*)$\"];",
"way[man_made~\"^(pipeline|goods_conveyor)$\"][substance~\"^(|.*;)(coal)(|;.*)$\"];",
"relation[man_made~\"^(pipeline|goods_conveyor)$\"][substance~\"^(|.*;)(coal)(|;.*)$\"];",
"node[power~\"^(plant)$\"][\"generator:source\"~\"^(|.*;)(coal)(|;.*)$\"];",
"way[power~\"^(plant)$\"][\"generator:source\"~\"^(|.*;)(coal)(|;.*)$\"];",
"relation[power~\"^(plant)$\"][\"generator:source\"~\"^(|.*;)(coal)(|;.*)$\"];",
")"
]
},
"feature": {
"description": [
"{% if tags.man_made == 'pipeline' %}",
"{{ tagTrans('man_made', 'pipeline') }} ({{ tagTrans('substance', tags.substance) }})",
"{% elseif tags.man_made %}",
"{{ tagTrans('man_made', tags.man_made) }}",
"{% elseif tags.power == 'plant' %}",
"{{ tagTrans('power', 'plant') }} {% if attribute(tags, 'generator:source') %}({{ tagTransList('generator:source', attribute(tags, 'generator:source')) }}){% endif %}",
"{% elseif tags.power == 'generator' %}",
"{{ tagTrans('power', 'generator') }} {% if attribute(tags, 'generator:source') %}({{ tagTransList('generator:source', attribute(tags, 'generator:source')) }}){% endif %}",
"{% elseif tags.landuse == 'quarry' %}",
"{{ tagTrans('landuse', tags.landuse) }} {% if tags.resource %}({{ tagTrans('resource', tags.resource) }}){% endif %}",
"{% elseif tags.landuse == 'industrial' %}",
"{{ tagTrans('landuse', tags.landuse) }} ({{ tagTrans('industrial', tags.industrial) }})",
"{% endif %}"
],
"markerSymbol": null
}
}

2
communication.json

@ -13,6 +13,8 @@
"it": "Communicazioni",
"ja": "交流",
"nl": "Communicatie",
"pt": "Comunicação",
"pt-br": "Comunicação",
"ro": "Comunicatii",
"ru": "Услуги связи",
"uk": "Телекомунікації"

5
construction.json

@ -5,10 +5,13 @@
"cs": "Staveniště",
"de": "Baustellen",
"en": "Construction Sites",
"fr": "Zones industrielles",
"fr": "Constructions",
"hu": "Építési terület",
"it": "Cantieri",
"ja": "工事中",
"nl": "Bouwterrein",
"pt": "Locais de construção",
"pt-br": "Terrenos vazios e obras",
"ru": "Места строительства"
},
"query": {

77
craft.json

@ -0,0 +1,77 @@
{
"type": "overpass",
"name": {
"de": "Handwerk",
"en": "Craft",
"fr": "Artisanat",
"hu": "Műhelyek",
"pt": "Artesanato",
"pt-br": "Ofícios"
},
"query": {
"15": "(node[craft];way[craft];relation[craft];);"
},
"feature": {
"description": "{{ tagTransList('craft', tags.craft) }}",
"markerSign": "{% set craft0 = tags.craft|split(';')[0] %}{% if const.crafts[craft0] %}{% set v = const.crafts[craft0] %}{% else %}{% set v = const.default %}{% endif %}{% if v|slice(0, 3) == 'fa-' %}<i class=\"fa {{ v }}\"></i>{% else %}{{ v|raw }}{% endif %}"
},
"const": {
"default": "",
"crafts": {
"bakery": "fa-birthday-cake",
"beekeeper": "🐝",
"blacksmith": "🔨",
"boatbuilder": "⛵",
"bookbinder": "📕",
"brewery": "fa-beer",
"builder": "🚧",
"carpenter": "",
"carpet_layer": "",
"caterer": "fa-birthday-cake",
"chimney_sweeper": "",
"clockmaker": "⌚",
"confectionery": "",
"distillery": "🍷",
"dressmaker": "&#128090;",
"electrician": "🔌",
"floorer": "",
"gardener": "⚘",
"glaziery": "",
"handicraft": "",
"hvac": "",
"insulation": "",
"jeweller": "💍",
"key_cutter": "🔑",
"locksmith": "🔑",
"metal_construction": "",
"optician": "👓",
"painter": "🖌",
"parquet_layer": "",
"photographer": "📷",
"photographic_laboratory": "📷",
"piano_tuner": "",
"plasterer": "",
"plumber": "",
"pottery": "",
"rigger": "",
"roofer": "",
"saddler": "🐎",
"sailmaker": "⛵",
"sawmill": "",
"scaffolder": "",
"sculptor": "",
"shoemaker": "👞",
"stand_builder": "",
"stonemason": "",
"sun_protection": "",
"tailor": "&#128090;",
"tiler": "",
"tinsmith": "",
"turner": "",
"upholsterer": "",
"watchmaker": "⌚",
"window_construction": "",
"winery": "🍷"
}
}
}

2
culture.json

@ -15,6 +15,8 @@
"ja": "文化",
"nl": "Cultuur",
"pl": "Kultura",
"pt": "Cultura",
"pt-br": "Cultura",
"ro": "Cultura",
"ru": "Культура",
"uk": "Культура "

11
culture_religion.json

@ -6,15 +6,17 @@
"cs": "Kultura",
"de": "Kultur und Religion",
"el": "Πολιτισμός",
"en": "Culture",
"en": "Culture and Religion",
"es": "Cultura y religión",
"et": "Kultuur ja religioon",
"fr": "Culture",
"hu": "Kultúra",
"fr": "Culture et Religion",
"hu": "Kultúra és vallás",
"it": "Cultura",
"ja": "文化",
"nl": "Cultuur",
"pl": "Kultura",
"pt": "Cultura e religião",
"pt-br": "Cultura",
"ro": "Cultura",
"ru": "Культура",
"uk": "Культура "
@ -26,6 +28,9 @@
{
"id": "historic"
},
{
"id": "memorial"
},
{
"id": "religion"
},

18
cycle_amenities.json

@ -3,7 +3,9 @@
"name": {
"de": "Einrichtungen",
"en": "Amenities",
"fr": "Équipements"
"fr": "Équipements vélo",
"hu": "Kerékpáros létesítmények",
"pt-br": "Equipamentos"
},
"query": {
"13": [
@ -11,6 +13,7 @@
"node[amenity~\"^(bicycle_rental)$\"];",
"way[amenity~\"^(bicycle_rental)$\"];",
"relation[amenity~\"^(bicycle_rental)$\"];",
"node[amenity~\"^(charging_station)$\"][bicycle!=\"no\"];",
"node[shop~\"^(bicycle)$\"];",
"way[shop~\"^(bicycle)$\"];",
"relation[shop~\"^(bicycle)$\"];",
@ -21,6 +24,7 @@
"node[amenity~\"^(bicycle_.*|compressed_air)$\"];",
"way[amenity~\"^(bicycle_.*|compressed_air)$\"];",
"relation[amenity~\"^(bicycle_.*|compressed_air)$\"];",
"node[amenity~\"^(charging_station)$\"][bicycle!=\"no\"];",
"node[shop~\"^(bicycle)$\"];",
"way[shop~\"^(bicycle)$\"];",
"relation[shop~\"^(bicycle)$\"];",
@ -56,7 +60,13 @@
"",
"{% if tags.capacity %}({{ tags.capacity }}){% endif %}"
],
"description": "{{ tagTrans(key, value) }}",
"description": [
"{% if tags.amenity == 'vending_machine' %}",
"{{ tagTransList('amenity=vending_machine vending', value) }}",
"{% else %}",
"{{ tagTrans(key, value) }}",
"{% endif %}"
],
"body": [
"{% if tags.capacity %}",
" {{ keyTrans('capacity') }}: {{ tags.capacity }}",
@ -121,6 +131,10 @@
"amenity=compressed_air": {
"sign": "A",
"priority": 2
},
"amenity=charging_station": {
"sign": "🔌",
"priority": 2
}
}
}

144
cycle_routes.json

@ -3,7 +3,10 @@
"name": {
"de": "Radrouten",
"en": "Cycle Routes",
"fr": "Itinéraires vélo"
"fr": "Itinéraires vélo",
"hu": "Kerékpáros útvonalak",
"pt": "Ciclovias",
"pt-br": "Ciclorrotas"
},
"query": {
"6": "relation[type=route][route=bicycle][network~'^(icn)$']",
@ -11,12 +14,141 @@
"12": "relation[type=route][route=bicycle][network~'^(icn|ncn|rcn)$']",
"15": "relation[type=route][route=bicycle]"
},
"members": true,
"feature": {
"priority": "{% if tags.network=='icn' %}0{% elseif tags.network=='ncn' %}1{% elseif tags.network=='rcn' %}2{% else %}3{% endif %}",
"priority": "{{ const[tags.network].priority|default(4) }}",
"description": "{{ tagTrans('network', tags.network) }}",
"listMarkerSymbol": "{{ markerLine({ 'width': 4, 'color': const[tags.network].color|default(const[''].color) })|raw }}",
"title": "{% if tags.ref and tags.name %}{{ tags.ref }} - {{ tags.name }}{% elseif tags.ref %}{{ tags.ref }}{% elseif tags.name %}{{ tags.name }}{% else %}{{ trans('unnamed') }}{% endif %}",
"styles": "",
"style:hover": {
"width": 0
},
"style:selected": {
"width": 0
},
"markerSymbol": ""
},
"memberFeature": {
"pre": [
"{% set priority = 4 %}",
"{% set network = '' %}",
"{% set refs = [] %}",
"{% set dirForward = false %}",
"{% set dirBackward = false %}",
"{% set hover = false %}",
"{% set selected = false %}",
"",
"{% for master in masters %}",
" {% set _p = const[master.tags.network].priority|default(4) %}",
" {% if _p < priority %}",
" {% set priority = _p %}",
" {% set network = master.tags.network %}",
" {% endif %}",
" {% if master.tags.ref %}",
" {% set refs = refs|merge([ master.tags.ref ]) %}",
" {% endif %}",
" {% if master.role == 'forward' %}{% set dirForward = true %}",
" {% elseif master.role == 'backward' %}{% set dirBackward = true %}",
" {% else %}{% set dirForward = true %}{% set dirBackward = true %}",
" {% endif %}",
" {% if master.flags.hover %}{% set hover = master.role|default('both') %}{% endif %}",
" {% if master.flags.selected %}{% set selected = master.role|default('both') %}{% endif %}",
"{% endfor %}"
],
"title": "",
"body": [
"<h4>Routes</h4>",
"<ul class='overpass-layer-list'>",
"{% for master in masters %}",
" <li data-object=\"{{ master.id }}\">",
" <span class='markerParent'><div class='marker'>{{ markerLine({ width: 4, color: const[master.tags.network].color|default(const[''].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",
"styles": "default{% if hover %},hover{% endif %}{% if selected %},selected{% endif %}",
"style": {
"width": 4,
"color": "{% if tags.network=='icn' %}#ff0000{% elseif tags.network=='ncn' %}#ff007f{% elseif tags.network=='rcn' %}#7f00ff{% else %}#0000ff{% endif %}",
"opacity": 1
"color": "{{ const[network].color }}",
"width": "{% if not dirForward or not dirBackward %}0{% else %}4{% endif %}",
"opacity": 1,
"text": "{{ refs|join(' · ') }} ",
"textRepeat": "1",
"textOffset": "12",
"textFontWeight": "bold",
"pattern": "{% if dirForward and dirBackward %}{% else %}arrowHead{% endif %}",
"pattern-pixelSize": "4",
"pattern-repeat": "7",
"pattern-polygon": "",
"pattern-path-weight": "2",
"pattern-path-color": "{{ const[network].color }}",
"pattern-path-angleCorrection": "{% if dirBackward %}180{% else %}0{% endif %}"
},
"style:hover": {
"pane": "hover",
"width": "{% if hover == 'forward' or hover == 'backward' %}0{% else %}4{% endif %}",
"color": "black",
"pattern": "{% if hover == 'forward' or hover == 'backward' %}arrowHead{% endif %}",
"pattern-pixelSize": "4",
"pattern-repeat": "7",
"pattern-polygon": "",
"pattern-path-weight": "2",
"pattern-path-color": "black",
"pattern-path-angleCorrection": "{% if hover == 'backward' %}180{% else %}0{% endif %}"
},
"style:selected": {
"pane": "selected",
"width": "{% if selected == 'forward' or selected == 'backward' %}0{% else %}3{% endif %}",
"color": "#3f3f3f",
"pattern": "{% if selected == 'forward' or selected == 'backward' %}arrowHead{% endif %}",
"pattern-pixelSize": "4",
"pattern-repeat": "7",
"pattern-polygon": "",
"pattern-path-weight": "2",
"pattern-path-color": "#3f3f3f",
"pattern-path-angleCorrection": "{% if selected == 'backward' %}180{% else %}0{% endif %}"
}
},
"const": {
"icn": {
"color": "#ff0000",
"priority": 0,
"zoom": 6
},
"ncn": {
"color": "#ff00ba",
"priority": 1,
"zoom": 9
},
"rcn": {
"color": "#ba00ff",
"priority": 2,
"zoom": 12
},
"lcn": {
"color": "#0000ff",
"priority": 3,
"zoom": 15
},
"": {
"color": "#007fff",
"priority": 4,
"zoom": 15
}
}
},
"info": [
"<table>",
"{% for value, data in const %}",
"{% if data.zoom <= map.zoom %}",
" <tr>",
" <td>{{ markerLine({ 'width': 4, color: data.color })|raw }}</td>",
" <td>{% if value %}{{ tagTrans('network', value) }}{% else %}{{ trans('unknown') }}{% endif %}</td>",
" </tr>",
"{% endif %}",
"{% endfor %}",
"</table>"
]
}

5
detailsBody.html

@ -93,8 +93,11 @@
<i class="fa fa-money" aria-hidden="true"></i>
<span class='key'>{{ keyTrans('payment') }}:</span>
<span class='value'>
{% set i = 0 %}
{% for k, tag in payment %}
{% if tags[tag] == 'no' %}<s>{{ k }}</s> {% else %}{{ k }} {% endif %}
{%- if i > 0 %},{% endif %}
<span title="{{ tagTrans(k, tags[tag]) }}">{% if tags[tag] == 'no' %}<s>{{ keyTrans(tag, { default: k }) }}</s>{% else %}{{ keyTrans(tag, { default: k }) }}{% endif -%}</span>
{% set i = i + 1 -%}
{% endfor %}
</span>
</li>

5
education.json

@ -7,11 +7,14 @@
"el": "Υπηρεσίες Εκπαίδευσης",
"en": "Educational Services",
"et": "Haridusteenused",
"fr": "Services éducatifs",
"fr": "Éducation",
"hu": "Oktatás",
"it": "Istruzione",
"ja": "教育サービス",
"nl": "Onderwijs",
"pl": "Edukacyjne",
"pt": "Educação",
"pt-br": "Educação",
"ro": "Servicii educatie",
"ru": "Образование",
"uk": "Освіта"

6
power.json → electric_power.json

@ -3,14 +3,16 @@
"name": {
"ast": "Enerxía",
"cs": "Elektřina",
"de": "Energie",
"en": "Power",
"de": "Elektrischer Strom",
"en": "Electric Power",
"et": "Elekter",
"fr": "Énergie",
"hu": "Áramellátás",
"it": "Energia",
"ja": "電力",
"nl": "Stroomvoorziening",
"pt": "Eletricidade",
"pt-br": "Energia",
"ro": "Energie",
"ru": "Энергетика"
},

34
emergency.json

@ -10,9 +10,12 @@
"es": "Servicios de emergencia",
"et": "Hädaabi teenused",
"fr": "Services d'urgence",
"hu": "Vészhelyzet",
"it": "Servizi d'emergenza",
"ja": "緊急サービス",
"nl": "Hulpdiensten",
"pt": "Emergência",
"pt-br": "Emergência",
"ro": "Servicii urgenta",
"ru": "Экстренные службы",
"uk": "Швидка допомога"
@ -27,16 +30,27 @@
],
"13": [
"(",
"node[amenity~\"^(fire_station|hospital|police|emergency_phone)$\"];",
"way[amenity~\"^(fire_station|hospital|police|emergency_phone)$\"];",
"relation[amenity~\"^(fire_station|hospital|police|emergency_phone)$\"];",
"node[amenity~\"^(fire_station|hospital|police)$\"];",
"way[amenity~\"^(fire_station|hospital|police)$\"];",
"relation[amenity~\"^(fire_station|hospital|police)$\"];",
"node[emergency~\"^(phone)$\"];",
")"
]
},
"feature": {
"description": "{{ tagTrans('amenity', tags.amenity) }}",
"pre": [
"{% if tags.amenity in [ 'fire_station', 'hospital', 'police' ] %}",
"{% set key = 'amenity' %}",
"{% set value = tags.amenity %}",
"{% elseif tags.emergency %}",
"{% set key = 'emergency' %}",
"{% set value = tags.emergency %}",
"{% endif %}",
"{% set kv = key ~ \"=\" ~ value %}"
],
"description": "{{ tagTrans(key, value) }}",
"markerSign": [
"{% set data = const[tags.amenity] %}",
"{% set data = const[kv] %}",
"{% if data %}",
"{{ data.sign }}",
"{% endif %}"
@ -48,26 +62,26 @@
"{% if data.zoom <= map.zoom %}",
" <tr>",
" <td>{{ markerCircle({})|raw }}<div class='sign'>{{ data.sign }}</div></td>",
" <td>{{ tagTrans('amenity', value) }}</td>",
" <td>{{ tagTrans(value|split('=')[0], value|split('=')[1]) }}</td>",
" </tr>",
"{% endif %}",
"{% endfor %}",
"</table>"
],
"const": {
"fire_station": {
"amenity=fire_station": {
"zoom": "11",
"sign": "🔥"
},
"hospital": {
"amenity=hospital": {
"zoom": "11",
"sign": "🏥"
},
"police": {
"amenity=police": {
"zoom": "13",
"sign": "👮"
},
"emergency_phone": {
"emergency=phone": {
"zoom": "13",
"sign": "📞"
}

7
financial.json

@ -7,10 +7,13 @@
"el": "Χρήμα",
"en": "Financial",
"fr": "Finance",
"hu": "Pénzügyek",
"it": "Finanze",
"ja": "金融",
"nl": "Financieel",
"pl": "Finasowe",
"pt": "Finanças",
"pt-br": "Finanças",
"ro": "Financiar",
"ru": "Финансы",
"uk": "Фінанси"
@ -20,14 +23,14 @@
"(",
"node[amenity~\"^(bank)$\"];",
"way[amenity~\"^(bank)$\"];",
"relation[amenity~\"^(bank)$\"]",
"relation[amenity~\"^(bank)$\"];",
")"
],
"15": [
"(",
"node[amenity~\"^(bank|bureau_de_change|atm)$\"];",
"way[amenity~\"^(bank|bureau_de_change|atm)$\"];",
"relation[amenity~\"^(bank|bureau_de_change|atm)$\"]",
"relation[amenity~\"^(bank|bureau_de_change|atm)$\"];",
")"
]
},

70
gastro-smoking.json

@ -0,0 +1,70 @@
{
"type": "overpass",
"name": {
"de": "Rauchfreie Gastronomie",
"en": "Smokefree Gastronomy",
"fr": "Restauration sans tabac",
"hu": "Nem dohányzó vendéglátóhelyek",
"pt": "Restauração livre de tabaco",
"pt-br": "Gastronomia sem fumo"
},
"query": {
"16": "(node[amenity~'^(bar|biergarten|cafe|fast_food|ice_cream|pub|restaurant)$'];way[amenity~'^(bar|biergarten|cafe|fast_food|ice_cream|pub|restaurant)$'];relation[amenity~'^(bar|biergarten|cafe|fast_food|ice_cream|pub|restaurant)$'];);"
},
"feature": {
"pre": [
"{% if tags.smoking == 'yes' or tags.smoking == 'dedicated' %}",
" {% set smoking_color='red' %}",
" {% set smoking_icon='🚬' %}",
"{% elseif tags.smoking == 'separated' or tags.smoking == 'isolated' %}",
" {% set smoking_color='#ffdf00' %}",
" {% set smoking_icon='🚬' %}",
"{% elseif tags.smoking == 'no' or tags.smoking == 'outside' or tags.smokefree == 'yes' %}",
" {% set smoking_color='#00ff00' %}",
" {% set smoking_icon='🚭' %}",
"{% else %}",
" {% set smoking_color='white' %}",
" {% set smoking_icon='' %}",
"{% endif %}"
],
"description": "{{ tagTrans('amenity', tags.amenity) }}",
"body": [
"<ul>",
" <li class='hasSymbol'>",
" <i class=\"fa fa-cutlery\" aria-hidden=\"true\"></i>",
" <span class='key'>{{ keyTrans('cuisine') }}:</span>",
" <span class='value'>{{ tagTransList('cuisine', tags.cuisine)|default(trans('unknown')) }}</span>",
" </li>",
" <li class='hasSymbol'>",
" <span class='symbol'>🚬</span>",
" <span class='key'>{{ keyTrans('smoking') }}:</span>",
" <span class='value'>{% if tags.smoking %}{{ tagTrans('smoking', tags.smoking) }}{% else %}{{ trans('unknown') }}{% endif %}</span>",
" </li>",
"</ul>"
],
"markerSign": "{% if tags.amenity=='bar' %}&#127864;{% elseif tags.amenity=='biergarten'%}&#127867;{% elseif tags.amenity=='cafe' %}&#9749;{% elseif tags.amenity=='fast_food' %}&#127828;{% elseif tags.amenity=='ice_cream' %}&#127848;{% elseif tags.amenity=='pub' %}&#127866;{% else %}&#127860;{% endif %}",
"markerSymbol": "{{ markerPointer({\"fillColor\": smoking_color })|raw }}",
"listMarkerSymbol": "{{ markerCircle({\"fillColor\": smoking_color })|raw }}"
},
"info": [
"{{ keyTrans('smoking') }}:",
"<table>",
" <tr>",
" <td>{{ markerCircle({ \"fillColor\": \"#00ff00\" })|raw }}</td>",
" <td>{{ tagTrans('smoking', 'no') }}, {{ tagTrans('smoking', 'outside') }}</td>",
" </tr>",
" <tr>",
" <td>{{ markerCircle({ \"fillColor\": \"#ffdf00\" })|raw }}</td>",
" <td>{{ tagTrans('smoking', 'separated') }}, {{ tagTrans('smoking', 'isolated') }}</td>",
" </tr>",
" <tr>",
" <td>{{ markerCircle({ \"fillColor\": \"red\" })|raw }}</td>",
" <td>{{ tagTrans('smoking', 'yes') }}, {{ tagTrans('smoking', 'dedicated') }}</td>",
" </tr>",
" <tr>",
" <td>{{ markerCircle({ \"fillColor\": \"white\" })|raw }}</td>",
" <td>{{ trans('unknown') }}</td>",
" </tr>",
"</table>"
]
}

18
gastro.json

@ -6,12 +6,14 @@
"de": "Gastronomie",
"el": "Γαστρονομία",
"en": "Gastronomy",
"fr": "Gastronomie",
"hu": "Gasztronómia",
"fr": "Restauration",
"hu": "Vendéglátás",
"it": "Gastronomia",
"ja": "食べ物",
"nl": "Gastronomie",
"pl": "Gastronomia",
"pt": "Restauração",
"pt-br": "Gastronomia",
"ro": "Gastronomie",
"ru": "Общепит",
"uk": "Гастрономія"
@ -28,6 +30,18 @@
" <span class='key'>{{ keyTrans('cuisine') }}:</span>",
" <span class='value'>{{ tagTransList('cuisine', tags.cuisine)|default(trans('unknown')) }}</span>",
" </li>",
" {% set diets = tagsPrefix(tags, 'diet:') %}",
" {% if diets %}",
" <li class='hasSymbol'>",
" <i class=\"fa fa-cutlery\" aria-hidden=\"true\"></i>",
" <span class='key'>{{ keyTrans('diet') }}:</span>",
" <span class='value'>",
" {% for kv, k in diets %}",
" {% set v = tags[k] %}",
" <span title='{{ k ~ '=' ~ v }}' style='white-space: nowrap; margin-right: 0.5em;'>{% if v == 'no' %}✘ {% elseif v == 'only' %}❗{% else %}✔{% endif %}{{ keyTrans(k) }}</span>",
" {% endfor %}",
" </span></li>",
" {% endif %}",
"</ul>"
],
"markerSign": "{% if tags.amenity=='bar' %}&#127864;{% elseif tags.amenity=='biergarten'%}&#127867;{% elseif tags.amenity=='cafe' %}&#9749;{% elseif tags.amenity=='fast_food' %}&#127828;{% elseif tags.amenity=='ice_cream' %}&#127848;{% elseif tags.amenity=='pub' %}&#127866;{% else %}&#127860;{% endif %}"

34
health.json

@ -7,10 +7,13 @@
"el": "Υγεία",
"en": "Health",
"fr": "Santé",
"hu": "Egészségügy",
"it": "Sanità",
"ja": "健康",
"nl": "Gezondheid",
"pl": "Zdrowie",
"pt": "Saúde",
"pt-br": "Saúde e assistência",
"ro": "Sanatate",
"ru": "Медицина",
"uk": "Здоров'я"
@ -58,31 +61,32 @@
"{{ tagTransList('healthcare:speciality', attribute(tags, 'healthcare:speciality')) }}",
"{% endif %}"
],
"markerSign": "{{ const[value]|raw }}"
"markerSign": "{{ const[key ~ '=' ~ value]|raw }}"
},
"info": [
"<table>",
"{% for value, sign in const %}",
" <tr>",
" <td>{{ markerCircle({})|raw }}<div class='sign'>{{ sign|raw }}</div></td>",
" <td>{{ tagTrans('amenity', value) }}</td>",
" <td>{{ tagTrans(value|split('=')[0], value|split('=')[1]) }}</td>",
" </tr>",
"{% endfor %}",
"</table>"
],
"const": {
"baby_hatch": "🚼",
"blood_bank": "<img src='maki:blood-bank'>",
"blood_donation": "<img src='maki:blood-bank'>",
"clinic": "🏥",
"defibrillator": "<img src='maki:defibrillator'>",
"dentist": "<img src='maki:dentist'>",
"doctor": "<img src='maki:doctor'>",
"doctors": "<img src='maki:doctor'>",
"hospital": "🏥",
"nursing_home": "",
"pharmacy": "<img src='maki:pharmacy'>",
"social_facility": "",
"veterinary": "<img src='maki:veterinary'>"
"amenity=baby_hatch": "🚼",
"healthcare=blood_bank": "<img src='maki:blood-bank'>",
"healthcare=blood_donation": "<img src='maki:blood-bank'>",
"healthcare=clinic": "🏥",
"emergency=defibrillator": "<img src='maki:defibrillator'>",
"healthcare=dentist": "<img src='maki:dentist'>",
"healthcare=doctor": "<img src='maki:doctor'>",
"amenity=doctors": "<img src='maki:doctor'>",
"amenity=hospital": "🏥",
"healthcare=hospital": "🏥",
"amenity=nursing_home": "",
"amenity=pharmacy": "<img src='maki:pharmacy'>",
"amenity=social_facility": "",
"amenity=veterinary": "<img src='maki:veterinary'>"
}
}

95
hiking_routes.json

@ -2,7 +2,11 @@
"type": "overpass",
"name": {
"de": "Wanderrouten",
"en": "Hiking routes"
"en": "Hiking routes",
"fr": "Itinéraires pédestres",
"hu": "Turistautak",
"pt": "Rotas de caminhada",
"pt-br": "Rotas de caminhada"
},
"query": {
"10": "relation[type=route][route=hiking][network~\"^(iwn)$\"]",
@ -10,27 +14,92 @@
"12": "relation[type=route][route=hiking][network~\"^(iwn|nwn|rwn)$\"]",
"14": "relation[type=route][route=hiking]"
},
"members": true,
"feature": {
"description": "{{ tagTrans('network', tags.network) }}",
"priority": [
"{% set network_data = const[tags.network] %}",
"{% if network_data %}",
"{{ network_data.priority }}",
"{% endif %}"
]
"priority": "{{ const[tags.network].priority|default(4) }}",
"description": "{% if tags.network %}{{ tagTrans('network', tags.network) }}{% endif %}",
"listMarkerSymbol": "{{ markerLine({ 'width': 4, 'color': const[tags.network|default('')].color|default(const[''].color) })|raw }}",
"title": "{% if tags.ref and tags.name %}{{ tags.ref }} - {{ tags.name }}{% elseif tags.ref %}{{ tags.ref }}{% elseif tags.name %}{{ tags.name }}{% else %}{{ trans('unnamed') }}{% endif %}",
"styles": "",
"markerSymbol": ""
},
"memberFeature": {
"pre": [
"{% set priority = 4 %}",
"{% set network = '' %}",
"{% set refs = [] %}",
"",
"{% for master in masters %}",
" {% set _p = const[master.tags.network].priority|default(4) %}",
" {% if _p < priority %}",
" {% set priority = _p %}",
" {% set network = master.tags.network %}",
" {% endif %}",
" {% if master.tags.ref %}",
" {% set refs = refs|merge([ master.tags.ref ]) %}",
" {% endif %}",
"{% endfor %}"
],
"body": [
"<h4>Routes</h4>",
"<ul class='overpass-layer-list'>",
"{% for master in masters %}",
" <li data-object=\"{{ master.id }}\">",
" <span class='markerParent'><div class='marker'>{{ markerLine({ width: 4, color: const[master.tags.network].color|default(const[''].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": "{{ const[network].color }}",
"width": 4,
"opacity": 1,
"text": "{{ refs|join(' · ') }} ",
"textRepeat": "1",
"textOffset": "12",
"textFontWeight": "bold"
}
},
"const": {
"iwn": {
"priority": 1
"color": "#ff0000",
"priority": 0,
"zoom": 10
},
"nwn": {
"priority": 2
"color": "#ff00ba",
"priority": 1,
"zoom": 11
},
"rwn": {
"priority": 3
"color": "#ba00ff",
"priority": 2,
"zoom": 12
},
"lwn": {
"priority": 4
"color": "#0000ff",
"priority": 3,
"zoom": 14
},
"": {
"color": "#007fff",