mapcomplete/assets/layers/postoffices/postoffices.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

434 lines
13 KiB
JSON
Raw Normal View History

2022-08-11 12:52:26 +02:00
{
"id": "postoffices",
"name": {
"en": "Post offices",
"de": "Poststellen",
"ru": "Почтовые отделения",
"zh_Hant": "郵局",
"id": "Kantor pos",
"hu": "Posták",
"nl": "Postkantoren",
"ca": "Oficines de correus",
"es": "Oficinas de correo",
"fr": "Bureaux de poste",
"nb_NO": "Postkontor"
},
"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",
"nl": "Postkantoor",
"ca": "Oficina de correus",
"es": "Oficina de Correo",
"fr": "Bureau de poste",
"nb_NO": "Postkontor"
},
"mappings": [
{
"if": {
"and": [
"post_office=post_partner",
"name="
]
},
"then": {
"en": "Post partner at a shop",
"de": "Postfiliale im Einzelhandel",
"nl": "Postpartner in een winkel"
}
},
{
"if": {
"and": [
"post_office=post_partner",
"name~*"
]
},
"then": {
"en": "Post partner at {name}",
"de": "Postfiliale im {name}"
}
}
]
},
"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.",
"nl": "Een laag die postkantoren toont.",
"es": "Una capa que muestra oficinas de correo.",
"fr": "Un claque montrant les bureaux de poste.",
"nb_NO": "Et lag som viser postkontor."
},
"tagRenderings": [
"images",
{
"id": "minimap",
"render": "{minimap(18): height: 5rem; overflow: hidden; border-radius:3rem; }"
},
{
"builtin": "opening_hours",
"override": {
"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?",
"de": "Wie sind die Öffnungszeiten dieser Poststelle?",
"es": "¿Cuáles son las horas de apertura para esta oficina de correos?",
"nl": "Wat zijn de openingsuren voor dit postkantoor?",
"fr": "Quelles sont les heures douverture de ce bureau de poste ?"
2022-08-11 12:52:26 +02:00
}
}
2022-08-11 12:52:26 +02:00
},
{
"id": "post_partner",
"question": {
2022-10-27 02:05:54 +02:00
"en": "Is this a post partner?",
"de": "Ist dies ein Post-Partner?"
2022-08-11 12:52:26 +02:00
},
"condition": "post_office=post_partner",
"mappings": [
{
"if": "post_office=post_partner",
"then": {
2022-10-27 02:05:54 +02:00
"en": "This shop is a post partner",
"de": "Dieses Geschäft ist ein Post-Partner"
2022-08-11 12:52:26 +02:00
}
},
{
"if": "post_office=",
"then": {
2022-10-27 02:05:54 +02:00
"en": "This shop is not a post partner",
"de": "Dieses Geschäft ist kein Post-Partner"
2022-08-11 12:52:26 +02:00
},
"addExtraTags": [
"was:post_office=post_partner"
]
}
]
},
{
"id": "partner-brand",
"render": {
2022-10-27 02:05:54 +02:00
"en": "This location offers services for {post_office:brand}",
"de": "Dieser Standort bietet Dienstleistungen für {post_office:brand} an"
2022-08-11 12:52:26 +02:00
},
"question": {
2022-10-27 02:05:54 +02:00
"en": "For which brand does this location offer services?",
"de": "Für welche Marke bietet dieser Standort Dienstleistungen an?"
2022-08-11 12:52:26 +02:00
},
"condition": "post_office=post_partner",
"freeform": {
"key": "post_office:brand",
"type": "string"
},
"multiAnswer": true,
"mappings": [
{
"if": "post_office:brand=DHL",
"then": {
2022-10-27 02:05:54 +02:00
"en": "This location offers services for DHL",
2022-11-14 01:28:41 +01:00
"de": "Dieser Standort bietet Dienstleistungen für DHL an",
"nl": "Deze locatie biedt diensten aan voor DHL"
2022-08-11 12:52:26 +02:00
},
"hideInAnswer": "_country=de"
},
{
"if": "post_office:brand=DPD",
"then": {
2022-10-27 02:05:54 +02:00
"en": "This location offers services for DPD",
2022-11-14 01:28:41 +01:00
"de": "Dieser Standort bietet Dienstleistungen für DPD an",
"nl": "Deze locatie biedt diensten aan voor DPD"
2022-08-11 12:52:26 +02:00
}
},
{
"if": "post_office:brand=GLS",
"then": {
2022-10-27 02:05:54 +02:00
"en": "This location offers services for GLS",
2022-11-14 01:28:41 +01:00
"de": "Dieser Standort bietet Dienstleistungen für GLS an",
"nl": "Deze locatie biedt diensten aan voor GLS"
2022-08-11 12:52:26 +02:00
}
},
{
"if": "post_office:brand=UPS",
"then": {
2022-10-27 02:05:54 +02:00
"en": "This location offers services for UPS",
2022-11-14 01:28:41 +01:00
"de": "Dieser Standort bietet Dienstleistungen für UPS an",
"nl": "Deze locatie biedt diensten aan voor UPS"
2022-08-11 12:52:26 +02:00
}
},
{
"if": "post_office:brand=DHL Paketshop",
"then": {
2022-10-27 02:05:54 +02:00
"en": "This location is a DHL Paketshop",
"de": "Dieser Standort ist ein DHL Paketshop"
2022-08-11 12:52:26 +02:00
},
"hideInAnswer": "_country!=de"
},
{
"if": "post_office:brand=Hermes PaketShop",
"then": {
2022-10-27 02:05:54 +02:00
"en": "This location is a Hermes PaketShop",
"de": "Dieser Standort ist ein Hermes PaketShop"
2022-08-11 12:52:26 +02:00
},
"hideInAnswer": "_country!=de"
},
{
"if": "post_office:brand=PostNL",
"then": {
2022-10-27 02:05:54 +02:00
"en": "This location is a PostNL-point",
2022-11-14 01:28:41 +01:00
"de": "Dieser Standort ist ein PostNL-Punkt",
"nl": "Deze locatie is een PostNL-punt"
2022-08-11 12:52:26 +02:00
},
"hideInAnswer": {
"and": [
"_country!=nl",
"_country!=be"
]
}
},
{
"if": "post_office:brand=bpost",
"then": {
2022-10-27 02:05:54 +02:00
"en": "This location offers services for bpost",
2022-11-14 01:28:41 +01:00
"de": "Dieser Standort bietet Dienstleistungen für bpost an",
"nl": "Deze locatie biedt diensten aan voor bpost"
2022-08-11 12:52:26 +02:00
},
"hideInAnswer": "_country!=be"
}
]
},
{
"id": "letter-from",
"render": {
2022-10-27 02:05:54 +02:00
"en": "You can post letters with these companies: {post_office:letter_from}",
2023-01-10 19:34:07 +01:00
"de": "Mit diesen Unternehmen können Sie Briefe aufgeben: {post_office:letter_from}",
"nl": "Je kan brieven posten met de volgende bedrijven: {post_office:letter_from}"
2022-08-11 12:52:26 +02:00
},
"question": {
2022-10-27 02:05:54 +02:00
"en": "Can you post a letter here?",
2023-01-10 19:34:07 +01:00
"de": "Können Sie hier einen Brief aufgeben?",
"nl": "Kan je hier een brief posten?"
2022-08-11 12:52:26 +02:00
},
"freeform": {
"key": "post_office:letter_from",
"type": "string"
},
"mappings": [
{
"if": "post_office:letter_from=yes",
"then": {
2022-10-27 02:05:54 +02:00
"en": "You can post letters here",
2023-01-10 19:34:07 +01:00
"de": "Sie können Briefe hier aufgeben",
"nl": "Je kan hier brieven posten"
2022-08-11 12:52:26 +02:00
}
},
{
"if": "post_office:letter_from=no",
"then": {
2022-10-27 02:05:54 +02:00
"en": "You can't post letters here",
2023-01-10 19:34:07 +01:00
"de": "Sie können hier keine Briefe aufgeben",
"nl": "Je kan hier geen brieven posten"
2022-08-11 12:52:26 +02:00
}
}
]
},
{
"id": "parcel-from",
"render": {
2022-10-27 02:05:54 +02:00
"en": "You can post parcels with these companies: {post_office:parcel_from}",
2022-11-14 01:28:41 +01:00
"de": "Sie können Pakete mit diesen Unternehmen versenden: {post_office:parcel_from}",
"nl": "Je kan pakketten versturen met deze bedrijven: {post_office:parcel_from}"
2022-08-11 12:52:26 +02:00
},
"question": {
2022-10-27 02:05:54 +02:00
"en": "Can you send a parcel here?",
2022-11-14 01:28:41 +01:00
"de": "Können Sie hier Pakete versenden?",
"nl": "Kan je hier pakketten versturen?"
2022-08-11 12:52:26 +02:00
},
"freeform": {
"key": "post_office:parcel_from",
"type": "string"
},
"mappings": [
{
"if": "post_office:parcel_from=yes",
"then": {
2022-10-27 02:05:54 +02:00
"en": "You can send parcels here",
2022-11-14 01:28:41 +01:00
"de": "Hier können Sie Pakete versenden",
"nl": "Je kan hier pakketten versturen"
2022-08-11 12:52:26 +02:00
}
},
{
"if": "post_office:parcel_from=no",
"then": {
2022-10-27 02:05:54 +02:00
"en": "You can't send parcels here",
2022-11-14 01:28:41 +01:00
"de": "Sie können hier keine Pakete versenden",
"nl": "Je kan hier geen pakketten versturen"
2022-08-11 12:52:26 +02:00
}
}
]
},
{
"id": "parcel-pickup",
"render": {
2022-10-27 02:05:54 +02:00
"en": "You can pick up parcels from these companies: {post_office:parcel_pickup}",
"de": "Sie können Pakete von diesen Unternehmen abholen: {post_office:parcel_pickup}"
2022-08-11 12:52:26 +02:00
},
"question": {
2022-10-27 02:05:54 +02:00
"en": "Can you pick up missed parcels here?",
"de": "Können Sie hier verpasste Pakete abholen?"
2022-08-11 12:52:26 +02:00
},
"freeform": {
"key": "post_office:parcel_pickup",
"type": "string"
},
"mappings": [
{
"if": "post_office:parcel_pickup=yes",
"then": {
2022-10-27 02:05:54 +02:00
"en": "You can pick up missed parcels here",
"de": "Hier können Sie verpasste Pakete abholen"
2022-08-11 12:52:26 +02:00
}
},
{
"if": "post_office:parcel_pickup=no",
"then": {
2022-10-27 02:05:54 +02:00
"en": "You can't pick up missed parcels here",
"de": "Sie können hier keine verpassten Pakete abholen"
2022-08-11 12:52:26 +02:00
}
}
]
},
{
"id": "parcel-to",
"render": {
2022-10-27 02:05:54 +02:00
"en": "You can send parcels to here for pickup with these companies: {post_office:parcel_to}",
"de": "Mit diesen Unternehmen können Sie Pakete zur Abholung hierher senden: {post_office:parcel_to}"
2022-08-11 12:52:26 +02:00
},
"question": {
2022-10-27 02:05:54 +02:00
"en": "Can you send parcels to here for pickup?",
"de": "Können Sie Pakete zur Abholung hierher schicken?"
2022-08-11 12:52:26 +02:00
},
"freeform": {
"key": "post_office:parcel_to",
"type": "string"
},
"mappings": [
{
"if": "post_office:parcel_to=yes",
"then": {
2022-10-27 02:05:54 +02:00
"en": "You can send parcels to here for pickup",
"de": "Sie können Pakete zur Abholung hierher schicken"
2022-08-11 12:52:26 +02:00
}
},
{
"if": "post_office:parcel_to=no",
"then": {
2022-10-27 02:05:54 +02:00
"en": "You can't send parcels to here for pickup",
"de": "Sie können keine Pakete zur Abholung hierher schicken"
2022-08-11 12:52:26 +02:00
}
}
]
},
{
"id": "stamps",
"render": {
2022-10-27 02:05:54 +02:00
"en": "You can buy stamps from companies: {post_office:stamps}",
2022-11-14 01:28:41 +01:00
"de": "Sie können Briefmarken folgender Unternehmen kaufen: {post_office:stamps}",
"nl": "Je kan hier postzegels kopen van de volgende bedrijven: {post_office:stamps}"
2022-08-11 12:52:26 +02:00
},
"question": {
2022-10-27 02:05:54 +02:00
"en": "Can you buy stamps here?",
2022-11-14 01:28:41 +01:00
"de": "Kann man hier Briefmarken kaufen?",
"nl": "Kan je hier postzegels kopen?"
2022-08-11 12:52:26 +02:00
},
"freeform": {
"key": "post_office:stamps",
"type": "string"
},
"mappings": [
{
"if": "post_office:stamps=yes",
"then": {
2022-10-27 02:05:54 +02:00
"en": "You can buy stamps here",
2022-11-14 01:28:41 +01:00
"de": "Sie können hier Briefmarken kaufen",
"nl": "Je kan hier postzegels kopen"
2022-08-11 12:52:26 +02:00
}
},
{
"if": "post_office:stamps=no",
"then": {
2022-10-27 02:05:54 +02:00
"en": "You can't buy stamps here",
2022-11-14 01:28:41 +01:00
"de": "Sie können hier keine Briefmarken kaufen",
"nl": "Je kan hier geen postzegels kopen"
2022-08-11 12:52:26 +02:00
}
}
]
}
],
"presets": [
{
"tags": [
"amenity=post_office"
],
"title": {
"en": "a post office",
"de": "eine Poststelle",
"ru": "Почтовое отделение",
"zh_Hant": "郵局",
"id": "Kantor Pos",
"hu": "Posta",
"nl": "een postkantoor",
"ca": "una oficina de correus",
"es": "una oficina de correo",
"nb_NO": "et postkontor",
"fr": "un bureau de poste"
}
}
],
"filter": [
2022-09-26 19:18:11 +02:00
"open_now"
2022-08-11 12:52:26 +02:00
],
"mapRendering": [
{
"icon": {
"render": "square:white;./assets/layers/postoffices/post_office.svg"
},
"iconBadges": [
{
"if": "opening_hours~*",
"then": "isOpen"
},
{
"if": "shop~*",
"then": "./assets/themes/shops/shop.svg"
}
],
"iconSize": "40,40,center",
"location": [
"point",
"centroid"
]
},
{
"color": "#DADADA",
"width": "1"
}
]
2022-10-27 01:50:01 +02:00
}