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.

37 lines
1.1 KiB

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Estraición de recursos",
  5. "cs": "Těžba surovin",
  6. "de": "Ressourcengewinnung",
  7. "en": "Resource Extraction",
  8. "fr": "Extraction des ressources",
  9. "it": "Areee estrattive",
  10. "nl": "Grondstoffenwinning",
  11. "ru": "Добыча ресурсов"
  12. },
  13. "query": {
  14. "11": [
  15. "(",
  16. "node[landuse~\"^(quarry|salt_pond)$\"];",
  17. "node[man_made~\"^(mineshaft)$\"];",
  18. "way[landuse~\"^(quarry|salt_pond)$\"];",
  19. "way[man_made~\"^(mineshaft)$\"];",
  20. "relation[landuse~\"^(quarry|salt_pond)$\"];",
  21. "relation[man_made~\"^(mineshaft)$\"];",
  22. ")"
  23. ]
  24. },
  25. "feature": {
  26. "pre": [
  27. "{% if tags.landuse in [ 'quarry', 'salt_pond' ] %}",
  28. " {% set key = 'landuse' %}",
  29. " {% set value = tags.landuse %}",
  30. "{% else %}",
  31. " {% set key = 'man_made' %}",
  32. " {% set value = tags.man_made %}",
  33. "{% endif %}"
  34. ],
  35. "description": "{{ tagTrans(key, value) }}"
  36. }
  37. }