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.

14 lines
1.0 KiB

8 years ago
  1. {
  2. "type": "overpass",
  3. "query": {
  4. "13": "(node[amenity~'^(post_office|internet_cafe)$'];way[amenity~'^(post_office|internet_cafe)$'];relation[amenity~'^(post_office|internet_cafe)$'];);",
  5. "16": "(node[amenity~'^(post_office|internet_cafe|post_box|telephone)$'];way[amenity~'^(post_office|internet_cafe)$'];relation[amenity~'^(post_office|internet_cafe)$'];);"
  6. },
  7. "minZoom": 13,
  8. "feature": {
  9. "title": "{{ localizedTag(tags, 'name') |default(localizedTag(tags, 'operator')) |default(tagTrans('amenity', tags.amenity)) }}",
  10. "markerSign": "{% if tags.amenity=='post_office' %}🏤{% elseif tags.amenity=='post_box'%}📮{% elseif tags.amenity=='internet_cafe' %}💻{% elseif tags.amenity=='telephone' %}✆{% endif %}",
  11. "body": "{{ tagTrans('amenity', tags.amenity) }}<br/>{% if tags.operator %}{{ tagTrans('operator') }}: {{ localizedTag(tags, 'operator') }}<br/>{% endif %}",
  12. "description": "{{ tagTrans('amenity', tags.amenity) }}"
  13. }
  14. }