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.

59 lines
2.6 KiB

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ca": "Carbó",
  5. "cs": "Uhlí",
  6. "de": "Kohle",
  7. "en": "Coal",
  8. "es": "Carbón",
  9. "fr": "Charbon",
  10. "gl": "Carbón",
  11. "hu": "Kőszén",
  12. "it": "Carbone",
  13. "ja": "石炭",
  14. "nb": "Kull",
  15. "nl": "Kolen",
  16. "oc": "Carbon",
  17. "pl": "Węgiel",
  18. "pt": "Carvão",
  19. "pt-br": "Carvão",
  20. "ro": "Cărbune",
  21. "ru": "Уголь",
  22. "sr": "Угаљ",
  23. "tr": "Kömür"
  24. },
  25. "query": {
  26. "11": [
  27. "(",
  28. "node[landuse~\"^(quarry)$\"][resource~\"^(|.*;)coal(|;.*)$\"];",
  29. "way[landuse~\"^(quarry)$\"][resource~\"^(|.*;)coal(|;.*)$\"];",
  30. "relation[landuse~\"^(quarry)$\"][resource~\"^(|.*;)coal(|;.*)$\"];",
  31. "node[man_made~\"^(mineshaft)$\"][resource~\"^(|.*;)coal(|;.*)$\"];",
  32. "way[man_made~\"^(mineshaft)$\"][resource~\"^(|.*;)coal(|;.*)$\"];",
  33. "way[man_made~\"^(pipeline|goods_conveyor)$\"][substance~\"^(|.*;)(coal)(|;.*)$\"];",
  34. "relation[man_made~\"^(pipeline|goods_conveyor)$\"][substance~\"^(|.*;)(coal)(|;.*)$\"];",
  35. "node[power~\"^(plant)$\"][\"generator:source\"~\"^(|.*;)(coal)(|;.*)$\"];",
  36. "way[power~\"^(plant)$\"][\"generator:source\"~\"^(|.*;)(coal)(|;.*)$\"];",
  37. "relation[power~\"^(plant)$\"][\"generator:source\"~\"^(|.*;)(coal)(|;.*)$\"];",
  38. ")"
  39. ]
  40. },
  41. "feature": {
  42. "description": [
  43. "{% if tags.man_made == 'pipeline' %}",
  44. "{{ tagTrans('man_made', 'pipeline') }} ({{ tagTrans('substance', tags.substance) }})",
  45. "{% elseif tags.man_made %}",
  46. "{{ tagTrans('man_made', tags.man_made) }}",
  47. "{% elseif tags.power == 'plant' %}",
  48. "{{ tagTrans('power', 'plant') }} {% if attribute(tags, 'generator:source') %}({{ tagTransList('generator:source', attribute(tags, 'generator:source')) }}){% endif %}",
  49. "{% elseif tags.power == 'generator' %}",
  50. "{{ tagTrans('power', 'generator') }} {% if attribute(tags, 'generator:source') %}({{ tagTransList('generator:source', attribute(tags, 'generator:source')) }}){% endif %}",
  51. "{% elseif tags.landuse == 'quarry' %}",
  52. "{{ tagTrans('landuse', tags.landuse) }} {% if tags.resource %}({{ tagTrans('resource', tags.resource) }}){% endif %}",
  53. "{% elseif tags.landuse == 'industrial' %}",
  54. "{{ tagTrans('landuse', tags.landuse) }} ({{ tagTrans('industrial', tags.industrial) }})",
  55. "{% endif %}"
  56. ],
  57. "markerSymbol": null
  58. }
  59. }