Split out layers, added parcel lockers

This commit is contained in:
Robin van der Linde 2022-08-11 12:52:26 +02:00
parent c1570e401a
commit 573d88af43
No known key found for this signature in database
GPG key ID: 53956B3252478F0D
11 changed files with 830 additions and 618 deletions

View file

@ -0,0 +1,13 @@
[
{
"path": "parcel_lockers.svg",
"license": "CC-BY",
"authors": [
"Emmanuel Darmon",
"Noun Project"
],
"sources": [
"https://thenounproject.com/icon/parcel-locker-249755/"
]
}
]

View file

@ -0,0 +1,62 @@
{
"id": "parcel_lockers",
"name": {
"en": "Parcel Lockers"
},
"description": {
"en": "Layer showing parcel lockers for collecting and sending parcels."
},
"minzoom": 12,
"source": {
"osmTags": "amenity=parcel_locker"
},
"presets": [
{
"title": {
"en": "a parcel locker",
"nl": "een pakketautomaat"
},
"preciseInput": {
"preferredBackground": "photo"
},
"tags": [
"amenity=parcel_locker"
]
}
],
"title": {
"render": {
"en": "Parcel Locker"
},
"mappings": [
{
"if": "brand~*",
"then": {
"en": "{brand} parcel locker"
}
}
]
},
"tagRenderings": [],
"filter": [],
"allowMove": {
"enableImproveAccuracy": true
},
"deletion": {},
"mapRendering": [
{
"icon": "./assets/layers/parcel_lockers/parcel_lockers.svg",
"iconBadges": [
{
"if": "opening_hours~*",
"then": "isOpen"
}
],
"iconSize": "40,40,center",
"location": [
"point",
"centroid"
]
}
]
}

View file

@ -0,0 +1,177 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="700pt" height="700pt" version="1.1" viewBox="0 0 700 700" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<symbol id="u" overflow="visible">
<path d="m5.2188-0.3125c-0.27344 0.13672-0.55469 0.24219-0.84375 0.3125-0.29297 0.070312-0.59375 0.10938-0.90625 0.10938-0.94922 0-1.6992-0.25781-2.25-0.78125-0.55469-0.53125-0.82812-1.25-0.82812-2.1562s0.27344-1.625 0.82812-2.1562c0.55078-0.53125 1.3008-0.79688 2.25-0.79688 0.3125 0 0.61328 0.039062 0.90625 0.10938 0.28906 0.074219 0.57031 0.17969 0.84375 0.3125v1.1875c-0.27344-0.1875-0.54297-0.32031-0.8125-0.40625-0.26172-0.09375-0.53906-0.14062-0.82812-0.14062-0.52344 0-0.93359 0.16797-1.2344 0.5-0.29297 0.33594-0.4375 0.79688-0.4375 1.3906 0 0.58594 0.14453 1.043 0.4375 1.375 0.30078 0.33594 0.71094 0.5 1.2344 0.5 0.28906 0 0.56641-0.039063 0.82812-0.125 0.26953-0.082031 0.53906-0.21875 0.8125-0.40625z"/>
</symbol>
<symbol id="b" overflow="visible">
<path d="m3.8125-3.0938c-0.11719-0.0625-0.23438-0.10156-0.35938-0.125-0.11719-0.03125-0.23047-0.046875-0.34375-0.046875-0.35547 0-0.625 0.11719-0.8125 0.34375-0.1875 0.21875-0.28125 0.54297-0.28125 0.96875v1.9531h-1.3594v-4.25h1.3594v0.6875c0.17578-0.26953 0.375-0.46875 0.59375-0.59375 0.22656-0.13281 0.50391-0.20312 0.82812-0.20312 0.039062 0 0.085938 0.007813 0.14062 0.015625 0.050781 0 0.12891 0.007812 0.23438 0.015625z"/>
</symbol>
<symbol id="a" overflow="visible">
<path d="m4.9062-2.1406v0.39062h-3.1875c0.03125 0.32422 0.14453 0.5625 0.34375 0.71875 0.19531 0.15625 0.47266 0.23438 0.82812 0.23438 0.28906 0 0.58203-0.039063 0.875-0.125 0.30078-0.082031 0.61328-0.21094 0.9375-0.39062v1.0469c-0.32422 0.125-0.64844 0.21875-0.96875 0.28125-0.32422 0.0625-0.64844 0.09375-0.96875 0.09375-0.77344 0-1.3711-0.19141-1.7969-0.57812-0.42969-0.39453-0.64062-0.94531-0.64062-1.6562 0-0.69531 0.20703-1.2422 0.625-1.6406 0.42578-0.39453 1.0039-0.59375 1.7344-0.59375 0.67578 0 1.2109 0.20312 1.6094 0.60938 0.40625 0.39844 0.60938 0.93359 0.60938 1.6094zm-1.4062-0.45312c0-0.25781-0.078125-0.46875-0.23438-0.625-0.14844-0.15625-0.33984-0.23438-0.57812-0.23438-0.26172 0-0.47656 0.074219-0.64062 0.21875-0.16797 0.14844-0.27344 0.35938-0.3125 0.64062z"/>
</symbol>
<symbol id="f" overflow="visible">
<path d="m2.5625-1.9219c-0.28125 0-0.49609 0.054687-0.64062 0.15625-0.14844 0.09375-0.21875 0.23438-0.21875 0.42188 0 0.16797 0.054687 0.30469 0.17188 0.40625 0.11328 0.09375 0.27344 0.14062 0.48438 0.14062 0.25781 0 0.47266-0.085937 0.64062-0.26562 0.17578-0.1875 0.26562-0.42188 0.26562-0.70312v-0.15625zm2.0781-0.5v2.4219h-1.375v-0.625c-0.17969 0.25-0.38281 0.4375-0.60938 0.5625-0.23047 0.11328-0.51172 0.17188-0.84375 0.17188-0.4375 0-0.79688-0.125-1.0781-0.375-0.27344-0.25781-0.40625-0.59766-0.40625-1.0156 0-0.5 0.17188-0.86328 0.51562-1.0938 0.34375-0.22656 0.88281-0.34375 1.625-0.34375h0.79688v-0.10938c0-0.21875-0.085937-0.375-0.25-0.46875-0.16797-0.10156-0.43359-0.15625-0.79688-0.15625-0.29297 0-0.5625 0.03125-0.8125 0.09375-0.25 0.054687-0.48438 0.13672-0.70312 0.25v-1.0312c0.28906-0.070313 0.58203-0.125 0.875-0.15625 0.30078-0.039063 0.59766-0.0625 0.89062-0.0625 0.75781 0 1.3125 0.15234 1.6562 0.45312 0.34375 0.30469 0.51562 0.79688 0.51562 1.4844z"/>
</symbol>
<symbol id="e" overflow="visible">
<path d="m2.1406-5.4688v1.2188h1.4062v0.96875h-1.4062v1.7969c0 0.19922 0.035156 0.33594 0.10938 0.40625 0.082031 0.074219 0.23828 0.10938 0.46875 0.10938h0.70312v0.96875h-1.1719c-0.53125 0-0.91406-0.10938-1.1406-0.32812-0.21875-0.22656-0.32812-0.61328-0.32812-1.1562v-1.7969h-0.67188v-0.96875h0.67188v-1.2188z"/>
</symbol>
<symbol id="l" overflow="visible">
<path d="m3.5469-3.625v-2.2812h1.375v5.9062h-1.375v-0.60938c-0.1875 0.25-0.39844 0.43359-0.625 0.54688-0.21875 0.11328-0.48047 0.17188-0.78125 0.17188-0.52344 0-0.95312-0.20703-1.2969-0.625-0.33594-0.41406-0.5-0.95312-0.5-1.6094s0.16406-1.1914 0.5-1.6094c0.34375-0.41406 0.77344-0.625 1.2969-0.625 0.30078 0 0.5625 0.0625 0.78125 0.1875 0.22656 0.11719 0.4375 0.29688 0.625 0.54688zm-0.89062 2.75c0.28906 0 0.50781-0.10156 0.65625-0.3125 0.15625-0.21875 0.23438-0.53125 0.23438-0.9375s-0.078125-0.71094-0.23438-0.92188c-0.14844-0.21875-0.36719-0.32812-0.65625-0.32812-0.29297 0-0.51562 0.10938-0.67188 0.32812-0.14844 0.21094-0.21875 0.51562-0.21875 0.92188s0.070313 0.71875 0.21875 0.9375c0.15625 0.21094 0.37891 0.3125 0.67188 0.3125z"/>
</symbol>
<symbol id="k" overflow="visible">
<path d="m2.9219-0.875c0.28906 0 0.50781-0.10156 0.65625-0.3125 0.15625-0.21875 0.23438-0.53125 0.23438-0.9375s-0.078125-0.71094-0.23438-0.92188c-0.14844-0.21875-0.36719-0.32812-0.65625-0.32812-0.29297 0-0.51562 0.10938-0.67188 0.32812-0.15625 0.21094-0.23438 0.51562-0.23438 0.92188s0.078125 0.71875 0.23438 0.9375c0.15625 0.21094 0.37891 0.3125 0.67188 0.3125zm-0.90625-2.75c0.1875-0.25 0.39453-0.42969 0.625-0.54688 0.22656-0.125 0.48828-0.1875 0.78125-0.1875 0.51953 0 0.94531 0.21094 1.2812 0.625 0.34375 0.41797 0.51562 0.95312 0.51562 1.6094s-0.17188 1.1953-0.51562 1.6094c-0.33594 0.41797-0.76172 0.625-1.2812 0.625-0.29297 0-0.55469-0.058594-0.78125-0.17188-0.23047-0.125-0.4375-0.30469-0.625-0.54688v0.60938h-1.3594v-5.9062h1.3594z"/>
</symbol>
<symbol id="j" overflow="visible">
<path d="m0.09375-4.25h1.3594l1.1406 2.875 0.98438-2.875h1.3594l-1.7969 4.6562c-0.17969 0.46875-0.38672 0.79688-0.625 0.98438-0.24219 0.1875-0.55859 0.28125-0.95312 0.28125h-0.78125v-0.89062h0.42188c0.22656 0 0.39453-0.039062 0.5-0.10938 0.10156-0.074219 0.1875-0.20312 0.25-0.39062l0.03125-0.125z"/>
</symbol>
<symbol id="i" overflow="visible">
<path d="m0.71875-5.6719h3.9375v1.1094h-2.4844v1.0469h2.3438v1.1094h-2.3438v1.2969h2.5781v1.1094h-4.0312z"/>
</symbol>
<symbol id="d" overflow="visible">
<path d="m4.5938-3.5469c0.17578-0.25781 0.37891-0.45703 0.60938-0.59375 0.23828-0.14453 0.5-0.21875 0.78125-0.21875 0.48828 0 0.86328 0.15234 1.125 0.45312 0.25781 0.30469 0.39062 0.74219 0.39062 1.3125v2.5938h-1.375v-2.2188-0.09375-0.15625c0-0.30078-0.046875-0.51953-0.14062-0.65625-0.085937-0.13281-0.22656-0.20312-0.42188-0.20312-0.25 0-0.44922 0.10938-0.59375 0.32812-0.13672 0.21094-0.21094 0.51172-0.21875 0.90625v2.0938h-1.3594v-2.2188c0-0.46875-0.042969-0.76953-0.125-0.90625-0.085937-0.13281-0.23047-0.20312-0.4375-0.20312-0.26172 0-0.46484 0.10938-0.60938 0.32812-0.13672 0.21094-0.20312 0.51172-0.20312 0.90625v2.0938h-1.375v-4.25h1.375v0.625c0.16406-0.25 0.35938-0.42969 0.57812-0.54688 0.21875-0.125 0.45703-0.1875 0.71875-0.1875 0.28906 0 0.54688 0.074219 0.76562 0.21875 0.22656 0.13672 0.39844 0.33594 0.51562 0.59375z"/>
</symbol>
<symbol id="g" overflow="visible">
<path d="m4.9375-2.5938v2.5938h-1.375v-1.9844c0-0.36328-0.011719-0.61328-0.03125-0.75-0.011719-0.14453-0.039062-0.25-0.078125-0.3125-0.054687-0.09375-0.125-0.16016-0.21875-0.20312-0.09375-0.050781-0.19922-0.078125-0.3125-0.078125-0.28125 0-0.50781 0.10938-0.67188 0.32812-0.15625 0.21875-0.23438 0.52344-0.23438 0.90625v2.0938h-1.3594v-4.25h1.3594v0.625c0.20703-0.25 0.42578-0.42969 0.65625-0.54688 0.22656-0.125 0.48438-0.1875 0.76562-0.1875 0.48828 0 0.85938 0.15234 1.1094 0.45312 0.25781 0.30469 0.39062 0.74219 0.39062 1.3125z"/>
</symbol>
<symbol id="h" overflow="visible">
<path d="m0.60938-1.6562v-2.5938h1.3594v0.42188 0.875 0.6875c0 0.34375 0.003906 0.59375 0.015625 0.75 0.019531 0.14844 0.050781 0.25 0.09375 0.3125 0.0625 0.09375 0.13281 0.16797 0.21875 0.21875 0.09375 0.042969 0.19531 0.0625 0.3125 0.0625 0.28906 0 0.51562-0.10938 0.67188-0.32812 0.16406-0.21875 0.25-0.51953 0.25-0.90625v-2.0938h1.3594v4.25h-1.3594v-0.60938c-0.21094 0.24219-0.42969 0.42188-0.65625 0.54688-0.23047 0.11328-0.48438 0.17188-0.76562 0.17188-0.49219 0-0.86719-0.14844-1.125-0.45312-0.25-0.30078-0.375-0.73828-0.375-1.3125z"/>
</symbol>
<symbol id="t" overflow="visible">
<path d="m0.65625-5.9062h1.3594v5.9062h-1.3594z"/>
</symbol>
<symbol id="s" overflow="visible">
<path d="m2.1719-4.5625v3.4531h0.53125c0.59375 0 1.0469-0.14453 1.3594-0.4375 0.32031-0.30078 0.48438-0.73438 0.48438-1.2969s-0.15625-0.98828-0.46875-1.2812c-0.3125-0.28906-0.77344-0.4375-1.375-0.4375zm-1.4531-1.1094h1.5312c0.86328 0 1.5039 0.0625 1.9219 0.1875 0.42578 0.125 0.78906 0.33594 1.0938 0.625 0.26953 0.25 0.46875 0.54688 0.59375 0.89062 0.125 0.33594 0.1875 0.71094 0.1875 1.125 0 0.42969-0.0625 0.8125-0.1875 1.1562-0.125 0.33594-0.32422 0.625-0.59375 0.875-0.30469 0.29297-0.66797 0.5-1.0938 0.625-0.42969 0.125-1.0703 0.1875-1.9219 0.1875h-1.5312z"/>
</symbol>
<symbol id="c" overflow="visible">
<path d="m2.6719-3.3906c-0.30469 0-0.53125 0.10938-0.6875 0.32812s-0.23438 0.53125-0.23438 0.9375 0.078125 0.71875 0.23438 0.9375 0.38281 0.32812 0.6875 0.32812c0.30078 0 0.53125-0.10938 0.6875-0.32812s0.23438-0.53125 0.23438-0.9375-0.078125-0.71875-0.23438-0.9375-0.38672-0.32812-0.6875-0.32812zm0-0.96875c0.73828 0 1.3125 0.19922 1.7188 0.59375 0.41406 0.39844 0.625 0.94531 0.625 1.6406 0 0.69922-0.21094 1.2461-0.625 1.6406-0.40625 0.39844-0.98047 0.59375-1.7188 0.59375-0.73047 0-1.3047-0.19531-1.7188-0.59375-0.41797-0.39453-0.625-0.94141-0.625-1.6406 0-0.69531 0.20703-1.2422 0.625-1.6406 0.41406-0.39453 0.98828-0.59375 1.7188-0.59375z"/>
</symbol>
<symbol id="r" overflow="visible">
<path d="m3.4531-5.9062v0.89062h-0.75c-0.19922 0-0.33594 0.039063-0.40625 0.10938-0.074219 0.0625-0.10938 0.18359-0.10938 0.35938v0.29688h1.1562v0.96875h-1.1562v3.2812h-1.3594v-3.2812h-0.6875v-0.96875h0.6875v-0.29688c0-0.46875 0.125-0.8125 0.375-1.0312 0.25781-0.21875 0.66016-0.32812 1.2031-0.32812z"/>
</symbol>
<symbol id="q" overflow="visible">
<path d="m4.9375-2.5938v2.5938h-1.375v-1.9688c0-0.375-0.011719-0.62891-0.03125-0.76562-0.011719-0.14453-0.039062-0.25-0.078125-0.3125-0.054687-0.09375-0.125-0.16016-0.21875-0.20312-0.09375-0.050781-0.19922-0.078125-0.3125-0.078125-0.28125 0-0.50781 0.10938-0.67188 0.32812-0.15625 0.21875-0.23438 0.52344-0.23438 0.90625v2.0938h-1.3594v-5.9062h1.3594v2.2812c0.20703-0.25 0.42578-0.42969 0.65625-0.54688 0.22656-0.125 0.48438-0.1875 0.76562-0.1875 0.48828 0 0.85938 0.15234 1.1094 0.45312 0.25781 0.30469 0.39062 0.74219 0.39062 1.3125z"/>
</symbol>
<symbol id="p" overflow="visible">
<path d="m0.71875-5.6719h1.625l2.0625 3.8906v-3.8906h1.3906v5.6719h-1.625l-2.0781-3.8906v3.8906h-1.375z"/>
</symbol>
<symbol id="o" overflow="visible">
<path d="m0.71875-5.6719h2.4219c0.71875 0 1.2695 0.16406 1.6562 0.48438 0.39453 0.3125 0.59375 0.76562 0.59375 1.3594 0 0.60547-0.19922 1.0703-0.59375 1.3906-0.38672 0.3125-0.9375 0.46875-1.6562 0.46875h-0.96875v1.9688h-1.4531zm1.4531 1.0625v1.5781h0.8125c0.28125 0 0.5-0.066406 0.65625-0.20312 0.15625-0.13281 0.23438-0.33203 0.23438-0.59375 0-0.25-0.078125-0.44141-0.23438-0.57812-0.15625-0.13281-0.375-0.20312-0.65625-0.20312z"/>
</symbol>
<symbol id="n" overflow="visible">
<path d="m0.65625-4.25h1.3594v4.1719c0 0.57031-0.14062 1.0039-0.42188 1.2969-0.27344 0.30078-0.66406 0.45312-1.1719 0.45312h-0.6875v-0.89062h0.25c0.25 0 0.42188-0.058594 0.51562-0.17188 0.10156-0.11719 0.15625-0.34375 0.15625-0.6875zm0-1.6562h1.3594v1.1094h-1.3594z"/>
</symbol>
<symbol id="m" overflow="visible">
<path d="m4.0938-4.125v1.1094c-0.1875-0.125-0.375-0.21875-0.5625-0.28125s-0.38281-0.09375-0.57812-0.09375c-0.375 0-0.67188 0.11719-0.89062 0.34375-0.21094 0.21875-0.3125 0.52734-0.3125 0.92188 0 0.39844 0.10156 0.71094 0.3125 0.9375 0.21875 0.21875 0.51562 0.32812 0.89062 0.32812 0.21875 0 0.42188-0.03125 0.60938-0.09375s0.36328-0.15625 0.53125-0.28125v1.1094c-0.21875 0.085938-0.4375 0.14062-0.65625 0.17188-0.21875 0.039062-0.4375 0.0625-0.65625 0.0625-0.76172 0-1.3594-0.19531-1.7969-0.59375-0.4375-0.39453-0.65625-0.94141-0.65625-1.6406 0-0.69531 0.21875-1.2422 0.65625-1.6406 0.4375-0.39453 1.0352-0.59375 1.7969-0.59375 0.22656 0 0.44531 0.023437 0.65625 0.0625 0.21875 0.042969 0.4375 0.10156 0.65625 0.17188z"/>
</symbol>
</defs>
<path d="m157.11 316.95h42v18.668h-42z" fill-rule="evenodd"/>
<path d="m180.45 221.28c0 5.1875-7.7773 5.1875-7.7773 0 0-5.1836 7.7773-5.1836 7.7773 0" fill-rule="evenodd"/>
<path d="m144.67 232.95h65.332v74.668h-65.332z" fill-rule="evenodd"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m7.0011 18.501v293.52" fill="none" stroke="#000" stroke-linecap="square" stroke-width="3"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m77.999 18.501v293.52" fill="none" stroke="#000" stroke-linecap="square" stroke-width="3"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m152 18.501v293.52" fill="none" stroke="#000" stroke-linecap="square" stroke-width="3"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m225 18.501v293.52" fill="none" stroke="#000" stroke-linecap="square" stroke-width="3"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m297 18.501v293.52" fill="none" stroke="#000" stroke-linecap="square" stroke-width="3"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m369 18.501v293.52" fill="none" stroke="#000" stroke-linecap="square" stroke-width="3"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m443 18.501v293.52" fill="none" stroke="#000" stroke-linecap="square" stroke-width="3"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m8.0006 18.001h434.5" fill="none" stroke="#000" stroke-linecap="square" stroke-width="4"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m8.0006 313h434.5" fill="none" stroke="#000" stroke-linecap="square" stroke-width="4"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m8.0006 85.001h68.59" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m8.0006 101h68.59" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m8.0006 117h68.59" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m8.0006 134h68.59" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m8.0006 150h68.59" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m8.0006 166h68.59" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m8.0006 182h68.59" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m8.0006 199h68.59" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m8.0006 215h68.59" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m8.0006 247h68.59" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m152 85.001h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m152 102h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m152 118h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m152 134h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m152 151h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m152 166h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m152 182h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m152 199h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m152 215h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m152 248h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m222 248h73.002" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m296 248h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m368 248h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m222 215h73.002" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m294 215h73.002" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m369 215h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m369 182h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m299 182h73.002" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m224 199h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m224 182h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m224 166h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m224 151h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m295 151h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m370 151h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m370 118h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m297 118h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m223 118h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m223 134h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m223 102h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m223 85.001h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m294 85.001h73.002" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m370 85.001h72.999" fill="none" stroke="#000" stroke-linecap="square" stroke-width="2"/>
<path d="m0 29.168h700v26.445h-700z" fill-rule="evenodd"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m76 15v-14.499" fill="none" stroke="#000" stroke-linecap="square"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m150 15v-14.499" fill="none" stroke="#000" stroke-linecap="square"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m225 15v-14.499" fill="none" stroke="#000" stroke-linecap="square"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m299 15v-14.499" fill="none" stroke="#000" stroke-linecap="square"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m373 15v-14.499" fill="none" stroke="#000" stroke-linecap="square"/>
<path d="m1.5547 509.83h695.33v32.668h-695.33z" fill-rule="evenodd"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m77 329v-14.499" fill="none" stroke="#000" stroke-linecap="square"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m151 329v-14.499" fill="none" stroke="#000" stroke-linecap="square"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m225 329v-14.499" fill="none" stroke="#000" stroke-linecap="square"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m299 328v-14.502" fill="none" stroke="#000" stroke-linecap="square"/>
<path transform="matrix(1.5556 0 0 1.5556 0 29.167)" d="m372 328v-14.502" fill="none" stroke="#000" stroke-linecap="square"/>
<g>
<use y="565.832031" xlink:href="#u"/>
<use x="5.707031" y="565.832031" xlink:href="#b"/>
<use x="9.542969" y="565.832031" xlink:href="#a"/>
<use x="14.820312" y="565.832031" xlink:href="#f"/>
<use x="20.066406" y="565.832031" xlink:href="#e"/>
<use x="23.785156" y="565.832031" xlink:href="#a"/>
<use x="29.058594" y="565.832031" xlink:href="#l"/>
<use x="37.335937" y="565.832031" xlink:href="#k"/>
<use x="42.902344" y="565.832031" xlink:href="#j"/>
<use x="50.679687" y="565.832031" xlink:href="#i"/>
<use x="55.992187" y="565.832031" xlink:href="#d"/>
<use x="64.097656" y="565.832031" xlink:href="#d"/>
<use x="72.203125" y="565.832031" xlink:href="#f"/>
<use x="77.453125" y="565.832031" xlink:href="#g"/>
<use x="82.988281" y="565.832031" xlink:href="#h"/>
<use x="88.523438" y="565.832031" xlink:href="#a"/>
<use x="93.800781" y="565.832031" xlink:href="#t"/>
<use x="99.175781" y="565.832031" xlink:href="#s"/>
<use x="105.628906" y="565.832031" xlink:href="#f"/>
<use x="110.878906" y="565.832031" xlink:href="#b"/>
<use x="114.714844" y="565.832031" xlink:href="#d"/>
<use x="122.820312" y="565.832031" xlink:href="#c"/>
<use x="128.164062" y="565.832031" xlink:href="#g"/>
<use y="573.609375" xlink:href="#r"/>
<use x="3.382812" y="573.609375" xlink:href="#b"/>
<use x="7.21875" y="573.609375" xlink:href="#c"/>
<use x="12.5625" y="573.609375" xlink:href="#d"/>
<use x="23.375" y="573.609375" xlink:href="#e"/>
<use x="27.09375" y="573.609375" xlink:href="#q"/>
<use x="32.628906" y="573.609375" xlink:href="#a"/>
<use x="40.613281" y="573.609375" xlink:href="#p"/>
<use x="47.121094" y="573.609375" xlink:href="#c"/>
<use x="52.464844" y="573.609375" xlink:href="#h"/>
<use x="58.003906" y="573.609375" xlink:href="#g"/>
<use x="66.246094" y="573.609375" xlink:href="#o"/>
<use x="71.949219" y="573.609375" xlink:href="#b"/>
<use x="75.785156" y="573.609375" xlink:href="#c"/>
<use x="81.128906" y="573.609375" xlink:href="#n"/>
<use x="83.792969" y="573.609375" xlink:href="#a"/>
<use x="89.070312" y="573.609375" xlink:href="#m"/>
<use x="93.679687" y="573.609375" xlink:href="#e"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 23 KiB

View file

@ -0,0 +1,14 @@
[
{
"path": "postbox.svg",
"license": "CC BY 4.0",
"authors": [
"Vincent Le Moign",
"https://twitter.com/webalys"
],
"sources": [
"https://upload.wikimedia.org/wikipedia/commons/6/6d/726-postbox.svg",
"http://emoji.streamlineicons.com"
]
}
]

View file

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

View file

@ -0,0 +1,101 @@
{
"id": "postboxes",
"name": {
"en": "Postboxes",
"de": "Briefkästen",
"ru": "Почтовые ящики",
"zh_Hant": "郵筒",
"id": "Kotak pos",
"hu": "Postaládák",
"nl": "Brievenbussen",
"ca": "Bústies",
"es": "Buzones de correo",
"nb_NO": "Postbokser",
"fr": "Boîtes à lettres"
},
"minzoom": 12,
"source": {
"osmTags": "amenity=post_box"
},
"title": {
"render": {
"en": "Postbox",
"de": "Briefkasten",
"ru": "Почтовый ящик",
"zh_Hant": "郵筒",
"id": "Kotak pos",
"hu": "Postaláda",
"ca": "Bústia",
"es": "Buzón de correo",
"nb_NO": "Postboks",
"fr": "Boîte à lettres",
"nl": "Brievenbus"
}
},
"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.",
"nl": "Deze laag toont brievenbussen.",
"es": "La capa que muestra buzones de correo.",
"fr": "Le calque montrant les boîtes à lettres."
},
"tagRenderings": [
"images",
{
"id": "minimap",
"render": "{minimap(18): height: 5rem; overflow: hidden; border-radius:3rem; }"
}
],
"presets": [
{
"tags": [
"amenity=post_box"
],
"title": {
"en": "a postbox",
"de": "ein Briefkasten",
"ru": "почтовый ящик",
"zh_Hant": "郵筒",
"id": "kotak pos",
"hu": "postaláda",
"nl": "een brievenbus",
"ca": "una bústia",
"es": "un buzón de correo",
"fr": "une boîte à lettres"
}
}
],
"deletion": {
"softDeletionTags": {
"and": [
"amenity=",
"razed:amenity=post_box"
]
}
},
"mapRendering": [
{
"icon": {
"render": "./assets/layers/postboxes/postbox.svg"
},
"iconSize": {
"render": "40,40,bottom"
},
"location": [
"point",
"centroid"
]
},
{
"color": {
"render": "#DADADA"
},
"width": {
"render": "1"
}
}
]
}

View file

@ -9,17 +9,5 @@
"https://commons.wikimedia.org/wiki/File:Emojione_BW_1F3E4.svg",
"https://github.com/emojione/emojione/blob/2.2.7/assets/svg_bw/1f3e4.svg"
]
},
{
"path": "postbox.svg",
"license": "CC BY 4.0",
"authors": [
"Vincent Le Moign",
"https://twitter.com/webalys"
],
"sources": [
"https://upload.wikimedia.org/wikipedia/commons/6/6d/726-postbox.svg",
"http://emoji.streamlineicons.com"
]
}
]

View file

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 9.8 KiB

View file

@ -0,0 +1,431 @@
{
"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; }"
},
{
"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()}",
"de": "Öffnungszeiten: {opening_hours_table()}",
"es": "Horas de Apertura: {opening_hours_table()}",
"nb_NO": "Åpningstider: {opening_hours_table()}",
"nl": "Openingsuren: {opening_hours_table()}",
"fr": "Heures douverture : {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?",
"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 ?"
},
"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)",
"es": "Abierta 24/7 (incluyendo festivos)",
"nl": "24/7 open (ook tijdens feestdagen)",
"fr": "Ouvert 24h/24 (jours fériés compris)",
"nb_NO": "Døgnåpent (inkludert helligdager)"
}
}
],
"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": "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": [
{
"id": "is_open",
"options": [
{
"question": {
"en": "Currently open",
"de": "Aktuell geöffnet",
"zh_Hant": "目前開放",
"id": "Saat ini buka",
"hu": "Most nyitva",
"nl": "Momenteel geopend",
"ca": "Actualment obert",
"es": "Actualmente abierta",
"fr": "Ouvert actuellement"
},
"osmTags": "_isOpen=yes"
}
]
}
],
"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"
}
]
}

View file

@ -301,7 +301,7 @@
},
{
"if": "theme=postboxes",
"then": "./assets/themes/postboxes/postbox.svg"
"then": "./assets/layers/postboxes/postbox.svg"
},
{
"if": "theme=rainbow_crossings",

View file

@ -32,7 +32,7 @@
"fr": "Trouvez et ajoutez des bureaux de poste et boîtes à lettres sur cette carte. Utilisez cette carte où vous pouvez envoyer vos cartes postales ! :)<br/>Vous avez trouvez une erreur ou une boîte à lettres est manquante ? Vous pouvez modifier cette carte avec un compte OpenStreetMap gratuit. "
},
"maintainer": "nicolelaine",
"icon": "./assets/themes/postboxes/postbox.svg",
"icon": "./assets/layers/postboxes/postbox.svg",
"version": "0",
"startLat": 53.5511,
"startLon": 9.9937,
@ -44,615 +44,41 @@
"minNeededElements": 100
},
"layers": [
"postboxes",
"postoffices",
"parcel_lockers",
{
"id": "postboxes",
"name": {
"en": "Postboxes",
"de": "Briefkästen",
"ru": "Почтовые ящики",
"zh_Hant": "郵筒",
"id": "Kotak pos",
"hu": "Postaládák",
"nl": "Brievenbussen",
"ca": "Bústies",
"es": "Buzones de correo",
"nb_NO": "Postbokser",
"fr": "Boîtes à lettres"
},
"minzoom": 12,
"source": {
"osmTags": "amenity=post_box"
},
"title": {
"render": {
"en": "Postbox",
"de": "Briefkasten",
"ru": "Почтовый ящик",
"zh_Hant": "郵筒",
"id": "Kotak pos",
"hu": "Postaláda",
"ca": "Bústia",
"es": "Buzón de correo",
"nb_NO": "Postboks",
"fr": "Boîte à lettres",
"nl": "Brievenbus"
}
},
"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.",
"nl": "Deze laag toont brievenbussen.",
"es": "La capa que muestra buzones de correo.",
"fr": "Le calque montrant les boîtes à lettres."
},
"tagRenderings": [
"images",
{
"id": "minimap",
"render": "{minimap(18): height: 5rem; overflow: hidden; border-radius:3rem; }"
}
],
"presets": [
{
"tags": [
"amenity=post_box"
],
"title": {
"en": "a postbox",
"de": "ein Briefkasten",
"ru": "почтовый ящик",
"zh_Hant": "郵筒",
"id": "kotak pos",
"hu": "postaláda",
"nl": "een brievenbus",
"ca": "una bústia",
"es": "un buzón de correo",
"fr": "une boîte à lettres"
}
}
],
"deletion": {
"softDeletionTags": {
"and": [
"amenity=",
"razed:amenity=post_box"
]
}
},
"mapRendering": [
{
"icon": {
"render": "./assets/themes/postboxes/postbox.svg"
},
"iconSize": {
"render": "40,40,bottom"
},
"location": [
"point",
"centroid"
]
"builtin": "shops",
"override": {
"minzoom": 21,
"minzoomVisible": 21,
"description": {
"en": "Add a new post partner to the map in an existing shop"
},
{
"color": {
"render": "#DADADA"
},
"width": {
"render": "1"
}
}
]
},
{
"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": [
"+tagRenderings": [
{
"if": {
"and": [
"post_office=post_partner",
"name="
]
"id": "post_partner",
"question": {
"en": "Is this shop a post partner?"
},
"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}"
}
"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"
}
}
]
}
]
},
"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; }"
},
{
"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()}",
"de": "Öffnungszeiten: {opening_hours_table()}",
"es": "Horas de Apertura: {opening_hours_table()}",
"nb_NO": "Åpningstider: {opening_hours_table()}",
"nl": "Openingsuren: {opening_hours_table()}",
"fr": "Heures douverture : {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?",
"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 ?"
},
"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)",
"es": "Abierta 24/7 (incluyendo festivos)",
"nl": "24/7 open (ook tijdens feestdagen)",
"fr": "Ouvert 24h/24 (jours fériés compris)",
"nb_NO": "Døgnåpent (inkludert helligdager)"
}
}
],
"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": "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": [
{
"id": "is_open",
"options": [
{
"question": {
"en": "Currently open",
"de": "Aktuell geöffnet",
"zh_Hant": "目前開放",
"id": "Saat ini buka",
"hu": "Most nyitva",
"nl": "Momenteel geopend",
"ca": "Actualment obert",
"es": "Actualmente abierta",
"fr": "Ouvert actuellement"
},
"osmTags": "_isOpen=yes"
}
]
}
],
"mapRendering": [
{
"icon": {
"render": "square:white;./assets/themes/postboxes/post_office.svg"
},
"iconBadges": [
{
"if": "opening_hours~*",
"then": "isOpen"
},
{
"if": "shop~*",
"then": "./assets/themes/shops/shop.svg"
}
],
"iconSize": {
"render": "40,40,bottom"
},
"location": [
"point",
"centroid"
]
},
{
"color": {
"render": "#DADADA"
},
"width": {
"render": "1"
}
}
]
},
{
"id": "shops",
"name": {
"en": "Shops"
},
"description": {
"en": "Add a new post partner to the map in an existing shop"
},
"source": {
"osmTags": "shop~*"
},
"minzoom": 21,
"minzoomVisible": 21,
"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"
}
}
]
}
],
"shownByDefault": false
],
"shownByDefault": false
}
}
]
}