mapcomplete/assets/layers/shops/shops.json

460 lines
12 KiB
JSON
Raw Normal View History

{
2021-11-07 14:37:21 +01:00
"id": "shops",
"name": {
"en": "Shop",
"fr": "Magasin",
"ru": "Магазин",
"ja": "店",
"nl": "Winkel",
2022-04-09 17:35:21 +02:00
"de": "Geschäfte",
2022-04-13 18:42:40 +02:00
"eo": "Butiko",
"ca": "Botiga"
2021-11-07 14:37:21 +01:00
},
"minzoom": 16,
"source": {
"osmTags": {
"and": [
"shop~*"
]
}
},
"title": {
"render": {
"en": "Shop",
"fr": "Magasin",
"ru": "Магазин",
"ja": "店",
"nl": "Winkel",
"de": "Geschäft",
2022-04-13 18:42:40 +02:00
"eo": "Butiko",
"ca": "Botiga"
},
2021-11-07 14:37:21 +01:00
"mappings": [
{
"if": {
"and": [
"name~*"
]
},
"then": {
"en": "{name}",
"fr": "{name}",
"ru": "{name}",
"ja": "{name}",
"de": "{name}",
2022-04-03 03:17:10 +02:00
"eo": "{name}",
2022-04-13 18:42:40 +02:00
"nl": "{name}",
"ca": "{name}"
}
2021-11-07 14:37:21 +01:00
},
{
"if": {
"and": [
"shop!~yes"
]
},
2021-11-07 14:37:21 +01:00
"then": {
"en": "{shop}",
"fr": "{shop}",
"ru": "{shop}",
"ja": "{shop}",
"de": "{shop}",
2022-04-03 03:17:10 +02:00
"eo": "{shop}",
2022-04-13 18:42:40 +02:00
"nl": "{shop}",
"ca": "{shop}"
2021-11-07 14:37:21 +01:00
}
}
]
},
"description": {
"en": "A shop",
"fr": "Un magasin",
"ja": "ショップ",
"nl": "Een winkel",
"ru": "Магазин",
"de": "Ein Geschäft",
"eo": "Butiko"
},
"tagRenderings": [
"images",
{
"question": {
"en": "What is the name of this shop?",
"fr": "Qu'est-ce que le nom de ce magasin?",
"ru": "Как называется этот магазин?",
"ja": "このお店の名前は何ですか?",
"nl": "Wat is de naam van deze winkel?",
"de": "Wie ist der Name dieses Geschäfts?"
},
"render": "This shop is called <i>{name}</i>",
"freeform": {
"key": "name"
},
"id": "shops-name"
},
2021-11-07 14:37:21 +01:00
{
"render": {
"en": "This shop sells {shop}",
"fr": "Ce magasin vends {shop}",
"ja": "こちらのお店では{shop}を販売しております",
"de": "Dieses Geschäft verkauft {shop}",
2022-04-03 03:17:10 +02:00
"eo": "Ĉi tiu butiko vendas {shop}",
"nl": "Deze winkel is van type \"{shop}\""
2021-11-07 14:37:21 +01:00
},
"question": {
"en": "What does this shop sell?",
"fr": "Que vends ce magasin ?",
"ja": "このお店では何を売っていますか?",
"ru": "Что продаётся в этом магазине?",
"de": "Was wird in diesem Geschäft verkauft?",
2022-04-03 03:17:10 +02:00
"eo": "Kion vendas ĉi tiu butiko?",
"nl": "Wat verkoopt deze winkel?"
2021-11-07 14:37:21 +01:00
},
"freeform": {
"key": "shop"
},
"mappings": [
{
2021-11-07 14:37:21 +01:00
"if": {
"and": [
"shop=convenience"
]
},
"then": {
"en": "Convenience store",
"fr": "Épicerie/superette",
"ja": "コンビニエンスストア",
"de": "Lebensmittelladen",
"nl": "Gemakswinkel"
}
},
{
2021-11-07 14:37:21 +01:00
"if": {
"and": [
"shop=supermarket"
]
},
"then": {
"en": "Supermarket",
"fr": "Supermarché",
"ru": "Супермаркет",
"ja": "スーパーマーケット",
"nl": "Supermarkt",
2022-04-13 18:42:40 +02:00
"de": "Supermarkt",
"ca": "Supermercat"
2021-11-07 14:37:21 +01:00
}
},
{
2021-11-07 14:37:21 +01:00
"if": {
"and": [
"shop=clothes"
]
},
"then": {
"en": "Clothing store",
"fr": "Magasin de vêtements",
"ru": "Магазин одежды",
"ja": "衣料品店",
"de": "Bekleidungsgeschäft",
"nl": "Kledingwinkel"
}
},
{
2021-11-07 14:37:21 +01:00
"if": {
"and": [
"shop=hairdresser"
]
},
"then": {
"en": "Hairdresser",
"fr": "Coiffeur",
"ru": "Парикмахерская",
"ja": "理容師",
"nl": "Kapper",
2022-04-13 18:42:40 +02:00
"de": "Friseur",
"ca": "Perruqueria"
2021-11-07 14:37:21 +01:00
}
},
{
2021-11-07 14:37:21 +01:00
"if": {
"and": [
"shop=bakery"
]
},
"then": {
"en": "Bakery",
"fr": "Boulangerie",
"ja": "ベーカリー",
"nl": "Bakkerij",
"de": "Bäckerei",
2022-04-13 18:42:40 +02:00
"eo": "Bakejo",
"ca": "Fleca"
2021-11-07 14:37:21 +01:00
}
},
{
2021-11-07 14:37:21 +01:00
"if": {
"and": [
"shop=car_repair"
]
},
"then": {
"en": "Car repair (garage)",
"fr": "Garage de réparation automobile",
"ja": "自動車修理(ガレージ)",
"de": "Autowerkstatt",
"fi": "Autokorjaamo",
"hu": "Autószerelő",
"id": "Bengkel Mobil",
"it": "Autofficina",
"nb_NO": "Bilverksted",
"nl": "Autogarage",
"pl": "Warsztat samochodowy",
"pt": "Oficina de automóveis",
"pt_BR": "Oficina Mecânica",
"ru": "Автомастерская",
"sv": "Bilverkstad"
}
},
{
2021-11-07 14:37:21 +01:00
"if": {
"and": [
"shop=car"
]
},
"then": {
"en": "Car dealer",
"fr": "Concessionnaire",
"ru": "Автосалон",
"ja": "自動車ディーラー",
"de": "Autohändler",
"nl": "Autodealer"
}
}
2021-11-07 14:37:21 +01:00
],
"id": "shops-shop"
},
2021-11-07 14:37:21 +01:00
{
"render": {
"en": "<a href='tel:{phone}'>{phone}</a>",
"fr": "<a href='tel:{phone}'>{phone}</a>",
"ca": "<a href='tel:{phone}'>{phone}</a>",
"id": "<a href='tel:{phone}'>{phone}</a>",
"ru": "<a href='tel:{phone}'>{phone}</a>",
"ja": "<a href='tel:{phone}'>{phone}</a>",
"de": "<a href='tel:{phone}'>{phone}</a>",
"eo": "<a href='tel:{phone}'>{phone}</a>",
"nl": "<a href='tel:{phone}'>{phone}</a>"
},
"question": {
"en": "What is the phone number?",
"fr": "Quel est le numéro de téléphone ?",
"ja": "電話番号は何番ですか?",
"nl": "Wat is het telefoonnummer?",
"ru": "Какой телефон?",
"de": "Wie ist die Telefonnummer?",
"eo": "Kio estas la telefonnumero?"
},
"freeform": {
"key": "phone",
"type": "phone"
},
"id": "shops-phone"
},
2021-11-07 14:37:21 +01:00
{
"render": {
"en": "<a href='{website}'>{website}</a>",
"fr": "<a href='{website}'>{website}</a>",
"ca": "<a href='{website}'>{website}</a>",
"id": "<a href='{website}'>{website}</a>",
"ru": "<a href='{website}'>{website}</a>",
"ja": "<a href='{website}'>{website}</a>",
"de": "<a href='{website}'>{website}</a>",
2022-04-03 03:17:10 +02:00
"eo": "<a href='{website}'>{website}</a>",
"nl": "<a href='{website}'>{website}</a>"
2021-11-07 14:37:21 +01:00
},
"question": {
"en": "What is the website of this shop?",
"fr": "Quel est le site internet de ce magasin ?",
"ja": "このお店のホームページは何ですか?",
"nl": "Wat is de website van deze winkel?",
"ru": "Какой веб-сайт у этого магазина?",
"de": "Wie lautet die Webseite dieses Geschäfts?"
},
"freeform": {
"key": "website",
"type": "url"
},
"id": "shops-website"
},
2021-11-07 14:37:21 +01:00
{
"render": {
"en": "<a href='mailto:{email}'>{email}</a>",
"fr": "<a href='mailto:{email}'>{email}</a>",
"id": "<a href='mailto:{email}'>{email}</a>",
"ru": "<a href='mailto:{email}'>{email}</a>",
"ja": "<a href='mailto:{email}'>{email}</a>",
"eo": "<a href='mailto:{email}'>{email}</a>",
"nl": "<a href='mailto:{email}'>{email}</a>"
},
"question": {
"en": "What is the email address of this shop?",
"fr": "Quelle est l'adresse électronique de ce magasin ?",
"ja": "このお店のメールアドレスは何ですか?",
"ru": "Каков адрес электронной почты этого магазина?",
"nl": "Wat is het e-mailadres van deze winkel?",
"de": "Wie ist die Email-Adresse dieses Geschäfts?",
"eo": "Kio estas la retpoŝta adreso de ĉi tiu butiko?"
},
"freeform": {
"key": "email",
"type": "email"
},
"id": "shops-email"
},
2021-11-07 14:37:21 +01:00
{
"render": {
"en": "{opening_hours_table(opening_hours)}",
"fr": "{opening_hours_table(opening_hours)}",
"ru": "{opening_hours_table(opening_hours)}",
"ja": "{opening_hours_table(opening_hours)}",
2022-04-13 18:42:40 +02:00
"nl": "{opening_hours_table(opening_hours)}",
"ca": "{opening_hours_table(opening_hours)}"
2021-11-07 14:37:21 +01:00
},
"question": {
"en": "What are the opening hours of this shop?",
"fr": "Quels sont les horaires d'ouverture de ce magasin ?",
"ja": "この店の営業時間は何時から何時までですか?",
"nl": "Wat zijn de openingsuren van deze winkel?",
"ru": "Каковы часы работы этого магазина?",
"de": "Wie sind die Öffnungszeiten dieses Geschäfts?"
},
"freeform": {
"key": "opening_hours",
"type": "opening_hours"
},
"id": "shops-opening_hours"
},
"payment-options",
2021-11-07 14:37:21 +01:00
"questions",
"reviews"
],
"presets": [
{
"tags": [
"shop=yes"
],
"title": {
2022-04-03 03:10:06 +02:00
"en": "a shop",
"fr": "une magasin",
2021-11-07 14:37:21 +01:00
"ru": "Магазин",
"ja": "店",
"nl": "een winkel",
"de": "eine geschäft",
2021-11-07 14:37:21 +01:00
"eo": "Butiko"
},
"description": {
"en": "Add a new shop",
"fr": "Ajouter un nouveau magasin",
"ru": "Добавить новый магазин",
"ja": "新しい店を追加する",
"nl": "Voeg een nieuwe winkel toe",
"de": "Ein neues Geschäft hinzufügen",
"eo": "Enmeti novan butikon"
}
}
],
"deletion": {
"softDeletionTags": {
"and": [
"amenity=",
"disused:amenity:={amenity}"
]
},
"extraDeleteReasons": [
{
"explanation": {
"nl": "{title()} is permanent gestopt",
"en": "{title()} has closed down permanently"
},
"changesetMessage": "shop_closed"
}
]
2021-11-07 14:37:21 +01:00
},
2021-11-07 15:31:55 +01:00
"allowMove": true,
"mapRendering": [
{
"icon": {
"render": "./assets/themes/shops/shop.svg"
},
"iconBadges": [
{
2021-11-07 15:31:55 +01:00
"if": "opening_hours~*",
"then": "isOpen"
}
2021-11-07 15:31:55 +01:00
],
2022-03-16 00:20:15 +01:00
"label": {
"mappings": [
{
"if": "name~*",
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
}
]
},
2021-11-07 15:31:55 +01:00
"iconSize": {
"render": "40,40,center"
},
"location": [
"point",
"centroid"
]
},
{
"color": {
"render": "#00f"
},
"width": {
"render": "8"
}
}
2022-04-04 05:12:14 +02:00
],
"filter": [
{
"id": "shop-type",
2022-04-07 03:14:21 +02:00
"options": [
{
"fields": [
{
"name": "search",
"type": "string"
}
],
"osmTags": "shop~^.*{search}.*$",
"question": {
2022-04-09 17:35:21 +02:00
"en": "Only show shops selling {search}",
2022-04-13 18:42:40 +02:00
"de": "Nur Geschäfte, die {search} verkaufen",
"nl": "Toon enkel winkels die {search} verkopen"
2022-04-07 03:14:21 +02:00
}
2022-04-04 05:12:14 +02:00
}
]
},
{
"id": "shop-name",
2022-04-07 03:14:21 +02:00
"options": [
{
"fields": [
{
"name": "search",
"type": "string"
}
],
"osmTags": "name~^.*{search}.*$",
"question": {
2022-04-09 17:35:21 +02:00
"en": "Only show shops with name {search}",
2022-04-13 18:42:40 +02:00
"de": "Nur Geschäfte mit dem Namen {search} anzeigen",
"nl": "Toon enkel winkels met naam {search}"
2022-04-07 03:14:21 +02:00
}
2022-04-04 05:12:14 +02:00
}
2022-04-07 03:14:21 +02:00
]
}
2021-11-07 15:31:55 +01:00
]
2022-03-18 01:21:00 +01:00
}