563 lines
No EOL
16 KiB
JSON
563 lines
No EOL
16 KiB
JSON
{
|
|
"id": "postboxes",
|
|
"title": {
|
|
"en": "Postbox and Post Office Map",
|
|
"de": "Karte mit Briefkästen und Poststellen",
|
|
"nb_NO": "Postboks og postkontor-kart",
|
|
"it": "Buche delle lettere e uffici postali",
|
|
"zh_Hant": "郵筒與郵局地圖",
|
|
"hu": "Posta- és postaládatérkép"
|
|
},
|
|
"shortDescription": {
|
|
"en": "A map showing postboxes and post offices",
|
|
"de": "Eine Karte die Briefkästen und Poststellen anzeigt",
|
|
"it": "Una cartina che mostra le buche delle lettere e gli uffici postali",
|
|
"zh_Hant": "顯示郵筒與郵局的地圖",
|
|
"hu": "Posták és postaládák térképe"
|
|
},
|
|
"description": {
|
|
"en": "On this map you can find and add data of post offices and post boxes. You can use this map to find where you can mail your next postcard! :)<br/>Spotted an error or is a post box missing? You can edit this map with a free OpenStreetMap account. ",
|
|
"it": "In questa cartina puoi veder e modificare gli uffici postali e le buche delle lettere. Puoi usare questa cartina per trovare dove imbucare la tua prossima cartolina! :)<br/>Hai trovato un errore o una buca delle lettere mancante? Puoi modificare questa cartina con un account gratuito su OpenStreetMap. ",
|
|
"zh_Hant": "在這份地圖你能找到與新增有關郵局與郵筒的資料,你可以用這份地圖找到寄送您下張明信片的地方!:)<br/>發現錯誤或是有郵筒遺漏嗎?你可以用免費的開放街圖帳號來編輯。 ",
|
|
"hu": "Ezen a térképen postahivatalok és postaládák adatait találod és egészítheted ki. Utánanézhetsz, hogy hol adhatod fel a következő képeslapodat! :)<br/>Hibát találtál, vagy hiányzik egy postaláda? Ezt a térképet mindössze egy ingyenes OpenStreetMap-fiókkal szerkesztheted. "
|
|
},
|
|
"maintainer": "nicolelaine",
|
|
"icon": "./assets/themes/postboxes/postbox.svg",
|
|
"version": "0",
|
|
"startLat": 53.5511,
|
|
"startLon": 9.9937,
|
|
"startZoom": 13,
|
|
"widenFactor": 1.5,
|
|
"defaultBackgroundId": "CartoDB.Voyager",
|
|
"clustering": {
|
|
"maxZoom": 14,
|
|
"minNeededElements": 100
|
|
},
|
|
"layers": [
|
|
{
|
|
"id": "postboxes",
|
|
"name": {
|
|
"en": "Postboxes",
|
|
"de": "Brieflästen",
|
|
"ru": "Почтовые ящики",
|
|
"zh_Hant": "郵筒",
|
|
"id": "Kotak pos",
|
|
"hu": "Postaládák"
|
|
},
|
|
"minzoom": 12,
|
|
"source": {
|
|
"osmTags": "amenity=post_box"
|
|
},
|
|
"title": {
|
|
"render": {
|
|
"en": "Postbox",
|
|
"de": "Briefkasten",
|
|
"ru": "Почтовый ящик",
|
|
"zh_Hant": "郵筒",
|
|
"id": "Kotak pos",
|
|
"hu": "Postaláda"
|
|
}
|
|
},
|
|
"description": {
|
|
"en": "The layer showing postboxes.",
|
|
"de": "Die Ebene zeigt Briefkästen.",
|
|
"zh_Hant": "這圖層顯示郵筒。",
|
|
"id": "Layer yang memperlihatkan kotak pos.",
|
|
"hu": "A postaládákat megjelenítő réteg."
|
|
},
|
|
"tagRenderings": [
|
|
"images",
|
|
{
|
|
"id": "minimap",
|
|
"render": "{minimap(18): height: 5rem; overflow: hidden; border-radius:3rem; }"
|
|
}
|
|
],
|
|
"presets": [
|
|
{
|
|
"tags": [
|
|
"amenity=post_box"
|
|
],
|
|
"title": {
|
|
"en": "postbox",
|
|
"de": "Briefkasten",
|
|
"ru": "почтовый ящик",
|
|
"zh_Hant": "郵筒",
|
|
"id": "kotak pos",
|
|
"hu": "postaláda"
|
|
}
|
|
}
|
|
],
|
|
"deletion": {
|
|
"softDeletionTags": {
|
|
"and": [
|
|
"amenity=",
|
|
"razed:amenity=post_box"
|
|
]
|
|
}
|
|
},
|
|
"mapRendering": [
|
|
{
|
|
"icon": {
|
|
"render": "./assets/themes/postboxes/postbox.svg"
|
|
},
|
|
"iconSize": {
|
|
"render": "40,40,bottom"
|
|
},
|
|
"location": [
|
|
"point",
|
|
"centroid"
|
|
]
|
|
},
|
|
{
|
|
"color": {
|
|
"render": "#DADADA"
|
|
},
|
|
"width": {
|
|
"render": "1"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "postoffices",
|
|
"name": {
|
|
"en": "Post offices",
|
|
"de": "Poststellen",
|
|
"ru": "Почтовые отделения",
|
|
"zh_Hant": "郵局",
|
|
"id": "Kantor pos",
|
|
"hu": "Posták"
|
|
},
|
|
"minzoom": 12,
|
|
"source": {
|
|
"osmTags": {
|
|
"or": [
|
|
"amenity=post_office",
|
|
"post_office=post_partner"
|
|
]
|
|
}
|
|
},
|
|
"title": {
|
|
"render": {
|
|
"en": "Post Office",
|
|
"de": "Poststelle",
|
|
"ru": "Почтовое отделение",
|
|
"zh_Hant": "郵局",
|
|
"id": "Kantor Pos",
|
|
"hu": "Posta"
|
|
}
|
|
},
|
|
"description": {
|
|
"en": "A layer showing post offices.",
|
|
"de": "Eine Ebene mit Postämtern.",
|
|
"zh_Hant": "圖層顯示郵局。",
|
|
"id": "Layer yang menunjukkan kantor pos.",
|
|
"hu": "Postákat megjelenítő réteg."
|
|
},
|
|
"tagRenderings": [
|
|
"images",
|
|
{
|
|
"id": "minimap",
|
|
"render": "{minimap(18): height: 5rem; overflow: hidden; border-radius:3rem; }"
|
|
},
|
|
{
|
|
"render": {
|
|
"en": "Opening Hours: {opening_hours_table()}",
|
|
"ru": "Часы работы: {opening_hours_table()}",
|
|
"zh_Hant": "開放時間:{opening_hours_table()}",
|
|
"id": "Jam Buka: {opening_hours_table()}",
|
|
"hu": "Nyitva tartás: {opening_hours_table()}"
|
|
},
|
|
"freeform": {
|
|
"key": "opening_hours",
|
|
"type": "opening_hours"
|
|
},
|
|
"question": {
|
|
"en": "What are the opening hours for this post office?",
|
|
"zh_Hant": "這間郵局的開放時間是?",
|
|
"id": "Jam berapa kantor pos ini buka?",
|
|
"hu": "Mikor van nyitva ez a posta?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "opening_hours=24/7",
|
|
"then": {
|
|
"en": "24/7 opened (including holidays)",
|
|
"de": "durchgehend geöffnet (auch an Feiertagen)",
|
|
"zh_Hant": "24/7 開放 (包括假日)",
|
|
"id": "Buka 24 jam (termasuk hari libur)",
|
|
"hu": "Éjjel-nappal nyitva (munkaszüneti napokon is)"
|
|
}
|
|
}
|
|
],
|
|
"id": "OH"
|
|
},
|
|
{
|
|
"id": "post_partner",
|
|
"question": {
|
|
"en": "Is this a post partner?"
|
|
},
|
|
"condition": "post_office=post_partner",
|
|
"mappings": [
|
|
{
|
|
"if": "post_office=post_partner",
|
|
"then": {
|
|
"en": "This shop is a post partner"
|
|
}
|
|
},
|
|
{
|
|
"if": "post_office=",
|
|
"then": {
|
|
"en": "This shop is not a post partner"
|
|
},
|
|
"addExtraTags": [
|
|
"was:post_office=post_partner"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "partner-brand",
|
|
"render": {
|
|
"en": "This location offers services for {post_office:brand}"
|
|
},
|
|
"question": {
|
|
"en": "For which brand does this location offer services?"
|
|
},
|
|
"condition": "post_office=post_partner",
|
|
"freeform": {
|
|
"key": "post_office:brand",
|
|
"type": "string"
|
|
},
|
|
"multiAnswer": true,
|
|
"mappings": [
|
|
{
|
|
"if": "post_office:brand=DHL",
|
|
"then": {
|
|
"en": "This location offers services for DHL"
|
|
},
|
|
"hideInAnswer": "_country=de"
|
|
},
|
|
{
|
|
"if": "post_office:brand=DPD",
|
|
"then": {
|
|
"en": "This location offers services for DPD"
|
|
}
|
|
},
|
|
{
|
|
"if": "post_office:brand=GLS",
|
|
"then": {
|
|
"en": "This location offers services for GLS"
|
|
}
|
|
},
|
|
{
|
|
"if": "post_office:brand=UPS",
|
|
"then": {
|
|
"en": "This location offers services for UPS"
|
|
}
|
|
},
|
|
{
|
|
"if": "post_office:brand=DHL Paketshop",
|
|
"then": {
|
|
"en": "This location is a DHL Paketshop"
|
|
},
|
|
"hideInAnswer": "_country!=de"
|
|
},
|
|
{
|
|
"if": "post_office:brand=Hermes PaketShop",
|
|
"then": {
|
|
"en": "This location is a Hermes PaketShop"
|
|
},
|
|
"hideInAnswer": "_country!=de"
|
|
},
|
|
{
|
|
"if": "post_office:brand=PostNL",
|
|
"then": {
|
|
"en": "This location is a PostNL-point"
|
|
},
|
|
"hideInAnswer": {
|
|
"and": [
|
|
"_country!=nl",
|
|
"_country!=be"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"if": "post_office:brand=bpost",
|
|
"then": {
|
|
"en": "This location offers services for bpost"
|
|
},
|
|
"hideInAnswer": "_country!=be"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "letter-from",
|
|
"render": {
|
|
"en": "You can post letters with these companies: {post_office:letter_from}"
|
|
},
|
|
"question": {
|
|
"en": "Can you post a letter here?"
|
|
},
|
|
"freeform": {
|
|
"key": "post_office:letter_from",
|
|
"type": "string"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "post_office:letter_from=yes",
|
|
"then": {
|
|
"en": "You can post letters here"
|
|
}
|
|
},
|
|
{
|
|
"if": "post_office:letter_from=no",
|
|
"then": {
|
|
"en": "You can't post letters here"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "parcel-from",
|
|
"render": {
|
|
"en": "You can post parcels with these companies: {post_office:parcel_from}"
|
|
},
|
|
"question": {
|
|
"en": "Can you send a parcel here?"
|
|
},
|
|
"freeform": {
|
|
"key": "post_office:parcel_from",
|
|
"type": "string"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "post_office:parcel_from=yes",
|
|
"then": {
|
|
"en": "You can send parcels here"
|
|
}
|
|
},
|
|
{
|
|
"if": "post_office:parcel_from=no",
|
|
"then": {
|
|
"en": "You can't send parcels here"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "parcel-pickup",
|
|
"render": {
|
|
"en": "You can pick up parcels from these companies: {post_office:parcel_pickup}"
|
|
},
|
|
"question": {
|
|
"en": "Can you pick up missed parcels here?"
|
|
},
|
|
"freeform": {
|
|
"key": "post_office:parcel_pickup",
|
|
"type": "string"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "post_office:parcel_pickup=yes",
|
|
"then": {
|
|
"en": "You can pick up missed parcels here"
|
|
}
|
|
},
|
|
{
|
|
"if": "post_office:parcel_pickup=no",
|
|
"then": {
|
|
"en": "You can't pick up missed parcels here"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "parcel-to",
|
|
"render": {
|
|
"en": "You can send parcels to here for pickup with these companies: {post_office:parcel_to}"
|
|
},
|
|
"question": {
|
|
"en": "Can you send parcels to here for pickup?"
|
|
},
|
|
"freeform": {
|
|
"key": "post_office:parcel_to",
|
|
"type": "string"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "post_office:parcel_to=yes",
|
|
"then": {
|
|
"en": "You can send parcels to here for pickup"
|
|
}
|
|
},
|
|
{
|
|
"if": "post_office:parcel_to=no",
|
|
"then": {
|
|
"en": "You can't send parcels to here for pickup"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "stamps",
|
|
"render": {
|
|
"en": "You can buy stamps from companies: {post_office:stamps}"
|
|
},
|
|
"question": {
|
|
"en": "Can you buy stamps here?"
|
|
},
|
|
"freeform": {
|
|
"key": "post_office:stamps",
|
|
"type": "string"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "post_office:stamps=yes",
|
|
"then": {
|
|
"en": "You can buy stamps here"
|
|
}
|
|
},
|
|
{
|
|
"if": "post_office:stamps=no",
|
|
"then": {
|
|
"en": "You can't buy stamps here"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"presets": [
|
|
{
|
|
"tags": [
|
|
"amenity=post_office"
|
|
],
|
|
"title": {
|
|
"en": "Post Office",
|
|
"de": "Poststelle",
|
|
"ru": "Почтовое отделение",
|
|
"zh_Hant": "郵局",
|
|
"id": "Kantor Pos",
|
|
"hu": "Posta"
|
|
}
|
|
}
|
|
],
|
|
"filter": [
|
|
{
|
|
"id": "is_open",
|
|
"options": [
|
|
{
|
|
"question": {
|
|
"en": "Currently open",
|
|
"de": "Aktuell geöffnet",
|
|
"zh_Hant": "目前開放",
|
|
"id": "Saat ini buka",
|
|
"hu": "Most nyitva"
|
|
},
|
|
"osmTags": "_isOpen=yes"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"mapRendering": [
|
|
{
|
|
"icon": {
|
|
"render": "square:white;./assets/themes/postboxes/post_office.svg"
|
|
},
|
|
"iconBadges": [
|
|
{
|
|
"if": "opening_hours~*",
|
|
"then": "isOpen"
|
|
}
|
|
],
|
|
"iconSize": {
|
|
"render": "40,40,bottom"
|
|
},
|
|
"location": [
|
|
"point",
|
|
"centroid"
|
|
]
|
|
},
|
|
{
|
|
"color": {
|
|
"render": "#DADADA"
|
|
},
|
|
"width": {
|
|
"render": "1"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "addLayer",
|
|
"name": {
|
|
"en": "Shops"
|
|
},
|
|
"description": {
|
|
"en": "Add a new post partner to the map in an existing shop"
|
|
},
|
|
"source": {
|
|
"osmTags": "shop~*"
|
|
},
|
|
"minzoom": 20,
|
|
"minzoomVisible": 20,
|
|
"title": {
|
|
"render": {
|
|
"en": "Shop"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "name~*",
|
|
"then": {
|
|
"en": "{name}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"mapRendering": [
|
|
{
|
|
"icon": {
|
|
"render": "./assets/themes/shops/shop.svg"
|
|
},
|
|
"iconSize": {
|
|
"render": "40,40,center"
|
|
},
|
|
"location": [
|
|
"point",
|
|
"centroid"
|
|
]
|
|
},
|
|
{
|
|
"color": {
|
|
"render": "#DADADA"
|
|
},
|
|
"width": {
|
|
"render": "1"
|
|
}
|
|
}
|
|
],
|
|
"tagRenderings": [
|
|
{
|
|
"id": "post_partner",
|
|
"question": {
|
|
"en": "Is this shop a post partner?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "post_office=post_partner",
|
|
"then": {
|
|
"en": "This shop is a post partner"
|
|
}
|
|
},
|
|
{
|
|
"if": "post_office=",
|
|
"then": {
|
|
"en": "This shop is not a post partner"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |