mapcomplete/assets/themes/postboxes/postboxes.json

221 lines
4.7 KiB
JSON
Raw Normal View History

{
2021-10-11 22:32:25 +02:00
"id": "postboxes",
"title": {
2021-10-25 21:48:45 +02:00
"en": "Postbox and Post Office Map",
"de": "Karte mit Briefkästen und Poststellen"
2021-10-11 22:32:25 +02:00
},
"shortDescription": {
2021-10-25 21:48:45 +02:00
"en": "A map showing postboxes and post offices",
"de": "Eine Karte die Briefkästen und Poststellen anzeigt"
2021-10-11 22:32:25 +02:00
},
"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. "
2021-10-11 22:32:25 +02:00
},
"language": [
2021-10-22 13:47:36 +02:00
"en",
"de"
2021-10-11 22:32:25 +02:00
],
"maintainer": "",
"icon": "./assets/themes/postboxes/postbox.svg",
2021-10-11 22:32:25 +02:00
"version": "0",
"startLat": 53.5511,
"startLon": 9.9937,
"startZoom": 13,
"widenFactor": 1.5,
2021-10-11 22:55:11 +02:00
"defaultBackgroundId": "CartoDB.Voyager",
"clustering": {
2021-10-11 22:55:11 +02:00
"maxZoom": 14,
"minNeededElements": 100
},
2021-10-11 22:32:25 +02:00
"layers": [
{
"id": "postboxes",
"name": {
2021-10-11 22:55:11 +02:00
"en": "Postboxes"
2021-10-11 22:32:25 +02:00
},
"minzoom": 12,
"source": {
"osmTags": "amenity=post_box"
2021-10-11 22:32:25 +02:00
},
"title": {
"render": {
"en": "Postbox"
}
},
"description": {
"en": "The layer showing postboxes."
},
"tagRenderings": [
2021-10-31 21:20:03 +01:00
"images"
2021-10-11 22:32:25 +02:00
],
"icon": {
"render": "./assets/themes/postboxes/postbox.svg"
2021-10-11 22:32:25 +02:00
},
"width": {
"render": "1"
},
"iconSize": {
"render": "40,40,bottom"
},
"color": {
"render": "#DADADA"
},
"presets": [
{
"tags": [
"amenity=post_box"
],
"title": {
"en": "postbox"
2021-10-11 22:32:25 +02:00
}
}
],
2021-10-11 22:55:11 +02:00
"wayHandling": 2,
"deletion": {
2021-10-11 23:46:37 +02:00
"softDeletionTags": {
2021-10-11 22:55:11 +02:00
"and": [
"amenity=",
"razed:amenity=post_box"
]
}
2021-10-26 01:39:29 +02:00
},
"mapRendering": [
{
"icon": {
"render": "./assets/themes/postboxes/postbox.svg"
},
"iconSize": {
"render": "40,40,bottom"
},
"location": [
"point",
"centroid"
]
},
{
"color": {
"render": "#DADADA"
},
"width": {
"render": "1"
}
}
]
2021-10-11 22:32:25 +02:00
},
{
"id": "postoffices",
"name": {
2021-10-11 22:55:11 +02:00
"en": "Post offices"
2021-10-11 22:32:25 +02:00
},
"minzoom": 12,
"source": {
"osmTags": "amenity=post_office"
2021-10-11 22:32:25 +02:00
},
"title": {
"render": {
"en": "Post Office"
}
},
"description": {
2021-10-22 13:47:36 +02:00
"en": "A layer showing post offices.",
"de": "Eine Ebene mit Postämtern."
2021-10-11 22:32:25 +02:00
},
"tagRenderings": [
2021-10-31 21:20:03 +01:00
"images"
2021-10-11 22:32:25 +02:00
{
"render": {
"en": "Opening Hours: {opening_hours_table()}"
2021-10-11 22:32:25 +02:00
},
"freeform": {
"key": "opening_hours",
"type": "opening_hours"
},
"question": {
"en": "What are the opening hours for this post office?"
},
"mappings": [
{
"if": "opening_hours=24/7",
"then": {
2021-10-22 13:47:36 +02:00
"en": "24/7 opened (including holidays)",
"de": "durchgehend geöffnet (auch an Feiertagen)"
2021-10-11 22:32:25 +02:00
}
}
],
"id": "OH"
}
],
"icon": {
"render": "square:white;./assets/themes/postboxes/post_office.svg"
2021-10-11 22:32:25 +02:00
},
"iconOverlays": [
{
"if": "opening_hours~*",
2021-10-26 01:39:29 +02:00
"then": "isOpen"
}
],
2021-10-11 22:32:25 +02:00
"width": {
"render": "1"
},
"iconSize": {
"render": "40,40,bottom"
},
"color": {
"render": "#DADADA"
},
"presets": [
{
"tags": [
"amenity=post_office"
],
"title": {
"en": "Post Office"
}
}
],
"wayHandling": 2,
"filter": [
{
"id": "is_open",
"options": [
{
"question": {
"en": "Currently open"
},
"osmTags": "_isOpen=yes"
}
]
}
2021-10-26 01:39:29 +02:00
],
"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"
}
}
]
2021-10-11 22:32:25 +02:00
}
]
2021-10-31 21:18:28 +01:00
}