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.

44 lines
2.3 KiB

8 years ago
8 years ago
8 years ago
8 years ago
  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Enerxía",
  5. "ca": "Energia Elèctrica",
  6. "cs": "Elektřina",
  7. "de": "Elektrischer Strom",
  8. "en": "Electric Power",
  9. "es": "Energía eléctrica",
  10. "et": "Elekter",
  11. "fr": "Production/transport électrique",
  12. "gl": "Enerxía eléctrica",
  13. "hu": "Áramellátás",
  14. "it": "Energia elettrica",
  15. "ja": "電力",
  16. "nb": "Elektrisk strøm",
  17. "nl": "Stroomvoorziening",
  18. "oc": "Produccion/ Transpòrt d'Energia",
  19. "pl": "Elektroenergetyka",
  20. "pt": "Eletricidade",
  21. "pt-br": "Energia elétrica",
  22. "ro": "Energie",
  23. "ru": "Электроэнергетика",
  24. "sr": "Електрична енергија",
  25. "tr": "Elektrik Enerjisi"
  26. },
  27. "query": {
  28. "11": "(node[power~'^(plant)$'];way[power~'^(plant|line)$'];relation[power~'^(plant)$'];)",
  29. "13": "(node[power~'^(plant|generator|substation)$'];way[power~'^(plant|line|generator|substation)$'];relation[power~'^(plant|generator|substation)$'];)",
  30. "15": "(node[power~'^(plant|generator|substation|transformer|tower)$'];way[power~'^(plant|line|generator|substation|transformer|minor_line)$'];relation[power~'^(plant|generator|substation|transformer)$'];)",
  31. "16": "(node[power];way[power];relation[power];)"
  32. },
  33. "feature": {
  34. "description": "{{ tagTrans('power', tags.power) }}{% set x='generator:source' %}{% if tags[x] %}, {{ tagTransList('generator:source', tags[x]) }}{% endif %}",
  35. "popupDescription": "{{ tagTrans('power', tags.power) }}",
  36. "body": [
  37. "{% set x='generator:source' %}{% if tags[x] %}<br/>{{ keyTrans('generator:source') }}: {{ tagTransList('generator:source', tags[x]) }}{% endif %}",
  38. "{% set x='generator:method' %}{% if tags[x] %}<br/>{{ keyTrans('generator:method') }}: {{ tagTransList('generator:method', tags[x]) }}{% endif %}",
  39. "{% set x='generator:type' %}{% if tags[x] %}<br/>{{ tagTransList('generator:type') }}: {{ tagTrans('generator:type', tags[x]) }}{% endif %}"
  40. ],
  41. "markerSymbol": null,
  42. "priority": "{% if tags.power == 'plant' %}0{% elseif tags.power == 'generator' or tags.power == 'line' %}1{% elseif tags.power == 'substation' %}2{% else %}3{% endif %}"
  43. }
  44. }