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

78 lines
2.9 KiB

7 years ago
7 years ago
7 years ago
7 years ago
  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Serviciu Públicu",
  5. "cs": "Veřejné služby",
  6. "de": "Öffentliche Dienste",
  7. "el": "Δημόσιες Υπηρεσίες",
  8. "en": "Public Services",
  9. "et": "Kommunaalteenused",
  10. "fr": "Services Publics",
  11. "hu": "Közszolgáltatások",
  12. "it": "Servizi pubblici",
  13. "ja": "公共サービス",
  14. "nl": "Openbare diensten",
  15. "pt": "Serviços públicos",
  16. "pt-br": "Serviços públicos",
  17. "ro": "Servicii publice",
  18. "ru": "Общественные места",
  19. "uk": "Громадські місця"
  20. },
  21. "query": {
  22. "12": [
  23. "(",
  24. "node[amenity~'^(courthouse|embassy|public_building|townhall)$'];",
  25. "way[amenity~'^(courthouse|embassy|public_building|townhall)$'];",
  26. "relation[amenity~'^(courthouse|embassy|public_building|townhall)$'];",
  27. "node[amenity=recycling][recyling_type=centre];",
  28. "way[amenity=recycling][recyling_type=centre];",
  29. "relation[amenity=recycling][recyling_type=centre];",
  30. ");"
  31. ],
  32. "16": [
  33. "(",
  34. "node[amenity~'^(courthouse|embassy|public_building|townhall|clock|drinking_water|recycling|toilets)$'];",
  35. "way[amenity~'^(courthouse|embassy|public_building|townhall|recycling|toilets)$'];",
  36. "relation[amenity~'^(courthouse|embassy|public_building|townhall|recycling|toilets)$'];",
  37. "node[drinking_water];",
  38. ");"
  39. ]
  40. },
  41. "feature": {
  42. "pre": [
  43. "{% if tags.drinking_water %}",
  44. "{% set value = 'drinking_water' %}",
  45. "{% else %}",
  46. "{% set value = tags.amenity %}",
  47. "{% endif %}"
  48. ],
  49. "title": "{{ tags.name|default(tags.operator)|default(tagTrans('amenity', value)) }}",
  50. "description": "{{ tagTrans('amenity', value) }}",
  51. "body": "{% if tags.operator %}{{ keyTrans('operator') }}: {{ tags.operator }}<br/>{% endif %}",
  52. "markerSign": [
  53. "{% if const[value] %}",
  54. "{{ const[value]|raw }}",
  55. "{% endif %}"
  56. ]
  57. },
  58. "info": [
  59. "<table>",
  60. "{% for value, sign in const %}",
  61. " <tr>",
  62. " <td>{{ markerCircle({})|raw }}<div class='sign'>{{ sign|raw }}</div></td>",
  63. " <td>{{ tagTrans('amenity', value) }}</td>",
  64. " </tr>",
  65. "{% endfor %}",
  66. "</table>"
  67. ],
  68. "const": {
  69. "courthouse": "⚖",
  70. "clock": "<i class='fa fa-clock-o' aria-hidden='true'></i>",
  71. "drinking_water": "<img src='maki:drinking-water'>",
  72. "embassy": "<img src='maki:embassy'>",
  73. "public_building": "<img src='maki:building'>",
  74. "recycling": "<img src='maki:recycling'>",
  75. "toilets": "<img src='maki:toilet'>",
  76. "townhall": "<img src='maki:town-hall'>"
  77. }
  78. }