Main categories of OpenStreetBrowser with public transport zoom level
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.

19 lines
1.1 KiB

  1. {
  2. "type": "category",
  3. "query": {
  4. "0": "node[place~'^(continent)$']",
  5. "4": "node[place~'^(continent|country)$']",
  6. "6": "node[place~'^(country|city)$']",
  7. "8": "node[place~'^(country|city|state)$']",
  8. "11": "node[place~'^(city|state|region|town|village)$']",
  9. "13": "node[place~'^(city|state|region|town|village|suburb|hamlet|quarter)$']",
  10. "15": "node[place~'^(city|region|town|village|suburb|hamlet|quarter)$']",
  11. "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)$'];);"
  12. },
  13. "minZoom": 0,
  14. "feature": {
  15. "title": "{% set loc_name = localizedTag(tags, 'name') %}{{ loc_name }}{% if loc_name != tags.name %} ({{ tags.name }}){% endif %}",
  16. "body": "{{ tagTrans('place', tags.place) }}\n{% if tags.population %}<br/>{{ tagTrans('population') }}: {{ tags.population }}{% endif %} \n",
  17. "description": "{{ tagTrans('place', tags.place) }}"
  18. }
  19. }