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.

349 lines
9.1 KiB

{
"type": "overpass",
"name": {
"ast": "Compres",
"cs": "Obchody",
"de": "Einkauf",
"el": "Αγορές",
"en": "Shopping",
"et": "Ostmine",
"fr": "Magasins/Boutiques",
"hu": "Vásárlás",
"it": "Acquisti",
"ja": "ショッピング",
"nl": "Winkelen",
"pl": "Zakupy",
"pt": "Compras",
"pt-br": "Compras",
"ro": "Cumpărături",
"ru": "Покупки",
"uk": "Торгівля"
},
"query": {
"14": "(node[shop~'^(mall|department_store)$'];way[shop~'^(mall|department_store)$'];relation[shop~'^(mall|department_store)$'];);",
"16": "(node[shop];way[shop];relation[shop];);"
},
"feature": {
"pre": "{% set shop0 = tags.shop|split(';')[0] %}{% set current = const.default %}{% for v in const.shops %}{% if shop0 in v.types %}{% set current = v %}{% endif %}{% endfor %}",
"description": "{{ tagTransList('shop', tags.shop) }}",
"markerSign": "{% set c = current.sign %}{% if c|slice(0, 3) == 'fa-' %}<i class=\"fa {{ c }}\"></i>{% elseif c|slice(0, 5) == 'maki:' %}<img data-src=\"{{ c }}\">{% else %}{{ c|raw }}{% endif %}"
},
"const": {
"default": {
"sign": "fa-shopping-bag"
},
"shops": [
{
"types": [
"vacant"
],
"sign": "fa-times"
},
{
"types": [
"alcohol",
"beverages"
],
"sign": "fa-wine-bottle"
},
{
"types": [
"baby_goods"
],
"sign": "&#128700;"
},
{
"types": [
"bag",
"general",
"variety_store"
],
"sign": "fa-shopping-bag"
},
{
"types": [
"bakery",
"confectionery",
"pastry"
],
"sign": "fa-birthday-cake"
},
{
"types": [
"bicycle"
],
"sign": "fa-bicycle"
},
{
"types": [
"motorcycle"
],
"sign": "fa-motorcycle"
},
{
"types": [
"boutique",
"clothes",
"fabric",
"fashion",
"leather",
"sewing",
"tailor",
"dry_cleaning"
],
"sign": "&#128090;"
},
{
"types": [
"sea_food"
],
"sign": "fa-fish"
},
{
"types": [
"butcher",
"cheese",
"chocolate",
"deli",
"dairy",
"farm",
"greengrocer",
"pasta",
"spices"
],
"sign": "fa-cutlery"
},
{
"types": [
"coffee",
"tea"
],
"sign": "fa-coffee"
},
{
"types": [
"convenience"
],
"sign": "fa-shopping-basket"
},
{
"types": [
"department_store",
"mall"
],
"sign": "fa-building"
},
{
"types": [
"electronics",
"computer"
],
"sign": "fa-tv"
},
{
"types": [
"electrical"
],
"sign": "fa-bolt"
},
{
"types": [
"lighting"
],
"sign": "fa-bulb"
},
{
"types": [
"fishing"
],
"sign": "&#127907;"
},
{
"types": [
"toys"
],
"sign": "fa-dice"
},
{
"types": [
"florist",
"garden_centre"
],
"sign": "&#127799;"
},
{
"types": [
"hairdresser"
],
"sign": "&#128113;"
},
{
"types": [
"ice_cream"
],
"sign": "&#127848;"
},
{
"types": [
"jewelry"
],
"sign": "fa-ring"
},
{
"types": [
"kiosk",
"newsagent"
],
"sign": "fa-newspaper-o"
},
{
"types": [
"shoes"
],
"sign": "fa-shoe-prints"
},
{
"types": [
"travel_agency"
],
"sign": "&#129523;"
},
{
"types": [
"supermarket"
],
"sign": "fa-shopping-cart"
},
{
"types": [
"watches"
],
"sign": "&#8986;"
},
{
"types": [
"gift"
],
"sign": "fa-gift"
},
{
"types": [
"locksmith"
],
"sign": "fa-key"
},
{
"types": [
"doityourself",
"hardware"
],
"sign": "fa-tools"
},
{
"types": [
"art"
],
"sign": "fa-palette"
},
{
"types": [
"stationery"
],
"sign": "fa-pencil-ruler"
},
{
"types": [
"funeral_directors"
],
"sign": "maki:monument"
},
{
"types": [
"copyshop"
],
"sign": "fa-copy"
},
{
"types": [
"tobacco"
],
"sign": "fa-smoking"
},
{
"types": [
"furniture",
"interior_decoration"
],
"sign": "fa-couch"
},
{
"types": [
"car_repair",
"car",
"car_parts",
"tyres"
],
"sign": "fa-car"
},
{
"types": [
"beauty",
"cosmetics"
],
"sign": ""
},
{
"types": [
"music"
],
"sign": "fa-guitar"
},
{
"types": [
"optician"
],
"sign": "fa-glasses"
},
{
"types": [
"books"
],
"sign": "fa-book"
},
{
"types": [
"sports"
],
"sign": "fa-basketball-ball"
},
{
"types": [
"chemist"
],
"sign": "fa-tablets"
},
{
"types": [
"pet"
],
"sign": "fa-paw"
},
{
"types": [
"mobile_phone"
],
"sign": "fa-mobile-alt"
}
]
},
"filter": {
"shop": {
"name": "{{ trans('filter:type') }}",
"type": "select",
"show_default": "true",
"values": "{% set list = [] %}{% for k, v in const.shops %}{% for t in v.types %}<option value=\"{{ t }}\">{% set list = list|merge([ t ]) %}{{ tagTrans('shop', t) }}</option>{% endfor %}{% endfor %}<option weight='1' value='other' query='nwr[shop][shop!~\"^(|.*;)({{ list|join('|') }})(|;.*)$\"]'>{{ trans('other') }}</option>",
"sort": "natsort",
"op": "has"
}
}
}