Main categories of OpenStreetBrowser with support for whitewater
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.

30 lines
1.8 KiB

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  1. {
  2. "name": {
  3. "ast": "Enerxía",
  4. "cs": "Elektřina",
  5. "de": "Energie",
  6. "en": "Power",
  7. "et": "Elekter",
  8. "fr": "Énergie",
  9. "hu": "Áramellátás",
  10. "it": "Energia",
  11. "ja": "電力",
  12. "nl": "Stroomvoorziening",
  13. "ro": "Energie",
  14. "ru": "Энергетика"
  15. },
  16. "type": "overpass",
  17. "query": {
  18. "11": "(node[power~'^(plant)$'];way[power~'^(plant|line)$'];relation[power~'^(plant)$'];)",
  19. "13": "(node[power~'^(plant|generator|substation)$'];way[power~'^(plant|line|generator|substation)$'];relation[power~'^(plant|generator|substation)$'];)",
  20. "15": "(node[power~'^(plant|generator|substation|transformer|tower)$'];way[power~'^(plant|line|generator|substation|transformer|minor_line)$'];relation[power~'^(plant|generator|substation|transformer)$'];)",
  21. "16": "(node[power];way[power];relation[power];)"
  22. },
  23. "minZoom": 11,
  24. "feature": {
  25. "markerSign": "",
  26. "body": "{{ tagTrans('power', tags.power) }}\n{% set x='generator:source' %}{% if tags[x] %}<br/>{{ keyTrans('generator:source') }}: {{ tagTransList('generator:source', tags[x]) }}{% endif %}\n{% set x='generator:method' %}{% if tags[x] %}<br/>{{ keyTrans('generator:method') }}: {{ tagTransList('generator:method', tags[x]) }}{% endif %}\n{% set x='generator:type' %}{% if tags[x] %}<br/>{{ tagTransList('generator:type') }}: {{ tagTrans('generator:type', tags[x]) }}{% endif %}",
  27. "description": "{{ tagTrans('power', tags.power) }}{% set x='generator:source' %}{% if tags[x] %}, {{ tagTransList('generator:source', tags[x]) }}{% endif %}",
  28. "priority": "{% if tags.power == 'plant' %}0{% elseif tags.power == 'generator' or tags.power == 'line' %}1{% elseif tags.power == 'substation' %}2{% else %}3{% endif %}"
  29. }
  30. }