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.

57 lines
2.2 KiB

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Llugares",
  5. "ca": "Llocs",
  6. "cs": "Sídla",
  7. "de": "Orte",
  8. "el": "Μέρη",
  9. "en": "Places",
  10. "es": "Lugares",
  11. "et": "Kohad",
  12. "fr": "Lieux",
  13. "gl": "Lugares",
  14. "hu": "Helyek",
  15. "it": "Luoghi",
  16. "ja": "場所",
  17. "nb": "Steder",
  18. "nl": "Plaatsen",
  19. "oc": "Luòcs",
  20. "pl": "Miejsca",
  21. "pt": "Lugares",
  22. "pt-br": "Lugares",
  23. "ro": "Locuri",
  24. "ru": "Места",
  25. "sr": "Места",
  26. "tr": "Yerler",
  27. "uk": "Місцевість"
  28. },
  29. "query": {
  30. "0": "node[place~'^(continent)$']",
  31. "4": "node[place~'^(continent|country)$']",
  32. "6": "node[place~'^(country|city)$']",
  33. "8": "node[place~'^(country|city|state)$']",
  34. "11": "node[place~'^(city|state|region|town|village)$']",
  35. "13": "node[place~'^(city|state|region|town|village|suburb|hamlet|quarter)$']",
  36. "15": "node[place~'^(city|region|town|village|suburb|hamlet|quarter)$']",
  37. "16": "(node[place~'^(region|town|village|suburb|hamlet|quarter|islet|isolated_dwelling|neighbourhood|farm)$'];way[place~'^(isolated_dwelling|neighbourhood|farm)$'];relation[place~'^(isolated_dwelling|neighbourhood|farm)$'];);"
  38. },
  39. "feature": {
  40. "title": "{% set loc_name = localizedTag(tags, 'name') %}{{ loc_name }}{% if loc_name != tags.name %} ({{ tags.name }}){% endif %}",
  41. "description": "{{ tagTrans('place', tags.place) }}",
  42. "body": "{% if tags.population %}{{ keyTrans('population') }}: {{ tags.population }}{% endif %}",
  43. "priority": "{% set priorities = { 'continent': 0, 'country': 1, 'state': 2, 'region': 3, 'city': 4, 'town': 5, 'village': 6, 'suburb': 7, 'hamlet': 8, 'quarter': 9, neighbourhood: 10, 'isolated_dwelling': 11, 'farm': 12 } %}{{ priorities[tags.place] }}"
  44. },
  45. "filter": {
  46. "name": {
  47. "key": [
  48. "name",
  49. "name:*"
  50. ],
  51. "name": "{{ keyTrans('name') }}",
  52. "type": "text",
  53. "change_on": "keyup",
  54. "op": "strsearch"
  55. }
  56. }
  57. }