2020-10-10 13:44:10 +02:00
|
|
|
{
|
|
|
|
"id": "shops",
|
|
|
|
"title": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "Open Shop Map",
|
|
|
|
"fr": "Carte des magasins"
|
2020-10-10 13:44:10 +02:00
|
|
|
},
|
|
|
|
"shortDescription": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "An editable map with basic shop information",
|
|
|
|
"fr": "Carte modifiable affichant les informations de base des magasins"
|
2020-10-10 13:44:10 +02:00
|
|
|
},
|
|
|
|
"description": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "On this map, one can mark basic information about shops, add opening hours and phone numbers",
|
|
|
|
"fr": "Sur cette carte, vous pouvez ajouter des informations sur les magasins, horaires d'ouverture et numéro de téléphone"
|
2020-10-10 13:44:10 +02:00
|
|
|
},
|
|
|
|
"language": [
|
2020-10-31 18:04:22 +01:00
|
|
|
"en",
|
|
|
|
"fr"
|
2020-10-10 13:44:10 +02:00
|
|
|
],
|
|
|
|
"maintainer": "MapComplete",
|
2020-12-02 21:37:53 +01:00
|
|
|
"icon": "./assets/themes/shops/shop.svg",
|
2020-10-10 13:44:10 +02:00
|
|
|
"version": "0",
|
|
|
|
"startLat": 0,
|
|
|
|
"startLon": 0,
|
|
|
|
"startZoom": 1,
|
|
|
|
"widenFactor": 0.05,
|
|
|
|
"socialImage": "",
|
|
|
|
"layers": [
|
|
|
|
{
|
|
|
|
"id": "shops",
|
|
|
|
"name": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "Shop",
|
|
|
|
"fr": "Magasin"
|
2020-10-10 13:44:10 +02:00
|
|
|
},
|
2020-12-02 21:37:53 +01:00
|
|
|
"minzoom": 16,
|
2020-10-10 13:44:10 +02:00
|
|
|
"overpassTags": {
|
|
|
|
"and": [
|
|
|
|
"shop~*"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"title": {
|
|
|
|
"render": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "Shop",
|
|
|
|
"fr": "Magasin"
|
2020-10-10 13:44:10 +02:00
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"name~*"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "{name}",
|
|
|
|
"fr": "{name}"
|
2020-10-10 13:44:10 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"shop!~yes"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "{shop}",
|
|
|
|
"fr": "{shop}"
|
2020-10-10 13:44:10 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"description": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "A shop",
|
|
|
|
"fr": "Un magasin"
|
2020-10-10 13:44:10 +02:00
|
|
|
},
|
|
|
|
"tagRenderings": [
|
2020-11-02 23:17:20 +01:00
|
|
|
"images",
|
2020-12-05 03:22:17 +01:00
|
|
|
{
|
|
|
|
"question": {
|
|
|
|
"en": "What is the name of this shop?",
|
|
|
|
"fr": "Qu'est-ce que le nom de ce magasin?"
|
|
|
|
},
|
|
|
|
"render": "This shop is called <i>{name}</i>",
|
|
|
|
"freeform": {
|
|
|
|
"key": "name"
|
|
|
|
}
|
|
|
|
},
|
2020-10-10 13:44:10 +02:00
|
|
|
{
|
|
|
|
"render": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "This shop sells {shop}",
|
|
|
|
"fr": "Ce magasin vends {shop}"
|
2020-10-10 13:44:10 +02:00
|
|
|
},
|
|
|
|
"question": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "What does this shop sell?",
|
|
|
|
"fr": "Que vends ce magasin ?"
|
2020-10-10 13:44:10 +02:00
|
|
|
},
|
|
|
|
"freeform": {
|
|
|
|
"key": "shop"
|
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"shop=convenience"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "Convenience store",
|
|
|
|
"fr": "Épicerie/superette"
|
2020-10-10 13:44:10 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"shop=supermarket"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "Supermarket",
|
|
|
|
"fr": "Supermarché"
|
2020-10-10 13:44:10 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"shop=clothes"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "Clothing store",
|
|
|
|
"fr": "Magasin de vêtements"
|
2020-10-10 13:44:10 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"shop=hairdresser"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "Hairdresser",
|
|
|
|
"fr": "Coiffeur"
|
2020-10-10 13:44:10 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"shop=bakery"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "Bakery",
|
|
|
|
"fr": "Boulangerie"
|
2020-10-10 13:44:10 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"shop=car_repair"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "Car repair (garage)",
|
|
|
|
"fr": "Garagiste"
|
2020-10-10 13:44:10 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"shop=car"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "Car dealer",
|
|
|
|
"fr": "Concessionnaire"
|
2020-10-10 13:44:10 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"render": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "<a href='tel:{phone}'>{phone}</a>",
|
|
|
|
"fr": "<a href='tel:{phone}'>{phone}</a>"
|
2020-10-10 13:44:10 +02:00
|
|
|
},
|
|
|
|
"question": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "What is the phone number?",
|
|
|
|
"fr": "Quel est le numéro de téléphone ?"
|
2020-10-10 13:44:10 +02:00
|
|
|
},
|
|
|
|
"freeform": {
|
|
|
|
"key": "phone",
|
|
|
|
"type": "phone"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"render": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "<a href='{website}'>{website}</a>",
|
|
|
|
"fr": "<a href='{website}'>{website}</a>"
|
2020-10-10 13:44:10 +02:00
|
|
|
},
|
|
|
|
"question": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "What is the website of this shop?",
|
|
|
|
"fr": "Quel est le site internet de ce magasin ?"
|
2020-10-10 13:44:10 +02:00
|
|
|
},
|
|
|
|
"freeform": {
|
|
|
|
"key": "website",
|
|
|
|
"type": "url"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"render": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "<a href='mailto:{email}'>{email}</a>",
|
|
|
|
"fr": "<a href='mailto:{email}'>{email}</a>"
|
2020-10-10 13:44:10 +02:00
|
|
|
},
|
|
|
|
"question": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "What is the email address of this shop?",
|
|
|
|
"fr": "Quel est l'adresse mail de ce magasin ?"
|
2020-10-10 13:44:10 +02:00
|
|
|
},
|
|
|
|
"freeform": {
|
|
|
|
"key": "email",
|
|
|
|
"type": "email"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"render": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "{opening_hours_table(opening_hours)}",
|
|
|
|
"fr": "{opening_hours_table(opening_hours)}"
|
2020-10-10 13:44:10 +02:00
|
|
|
},
|
|
|
|
"question": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "What are the opening hours of this shop?",
|
|
|
|
"fr": "Quels sont les horaires d'ouverture de ce magasin ?"
|
2020-10-10 13:44:10 +02:00
|
|
|
},
|
|
|
|
"freeform": {
|
|
|
|
"key": "opening_hours",
|
|
|
|
"type": "opening_hours"
|
|
|
|
}
|
2020-12-08 23:44:34 +01:00
|
|
|
},
|
|
|
|
"questions",
|
|
|
|
"reviews"
|
2020-10-10 13:44:10 +02:00
|
|
|
],
|
|
|
|
"hideUnderlayingFeaturesMinPercentage": 0,
|
|
|
|
"icon": {
|
|
|
|
"render": "./assets/themes/shops/shop.svg"
|
|
|
|
},
|
2020-12-05 03:22:17 +01:00
|
|
|
"iconOverlays": [
|
|
|
|
{
|
2020-12-06 00:20:27 +01:00
|
|
|
"if": "opening_hours~*",
|
|
|
|
"then": "isOpen",
|
2020-12-05 03:22:17 +01:00
|
|
|
"badge": true
|
|
|
|
}
|
|
|
|
],
|
2020-10-10 13:44:10 +02:00
|
|
|
"width": {
|
|
|
|
"render": "8"
|
|
|
|
},
|
|
|
|
"iconSize": {
|
|
|
|
"render": "40,40,center"
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"render": "#00f"
|
|
|
|
},
|
|
|
|
"presets": [
|
|
|
|
{
|
|
|
|
"tags": [
|
|
|
|
"shop=yes"
|
|
|
|
],
|
|
|
|
"title": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "Shop",
|
|
|
|
"fr": "Magasin"
|
2020-10-10 13:44:10 +02:00
|
|
|
},
|
|
|
|
"description": {
|
2020-10-31 18:04:22 +01:00
|
|
|
"en": "Add a new shop",
|
|
|
|
"fr": "Ajouter un nouveau magasin"
|
2020-10-10 13:44:10 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"wayHandling": 2
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"roamingRenderings": []
|
|
|
|
}
|