mapcomplete/assets/themes/postal_codes/postal_codes.json

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

242 lines
6.7 KiB
JSON
Raw Normal View History

{
"id": "postal_codes",
"title": {
2022-01-27 01:33:28 +01:00
"en": "Postal codes",
2022-02-04 01:30:39 +01:00
"id": "Kode pos",
2022-04-09 17:35:21 +02:00
"hu": "Irányítószámok",
2022-04-13 18:42:40 +02:00
"de": "Postleitzahlen",
2022-04-28 00:35:08 +02:00
"ca": "Codis postals",
2022-05-11 18:39:21 +02:00
"es": "Códigos postales",
2022-06-19 22:13:38 +02:00
"nb_NO": "Postkoder",
2022-06-27 09:16:53 +02:00
"nl": "Postcodes",
2022-09-14 13:35:54 +02:00
"fr": "Codes postaux",
2022-11-02 13:47:34 +01:00
"da": "Postnumre",
2023-03-13 20:14:39 +01:00
"pa_PK": "ڈاک کوڈ",
2023-06-28 22:30:08 +02:00
"cs": "Poštovní směrovací čísla",
2023-09-16 18:52:42 +02:00
"zh_Hant": "郵遞區號",
"it": "Codici postali",
"pl": "Kody pocztowe"
},
2023-10-30 18:03:18 +01:00
"description": {
2022-01-27 01:33:28 +01:00
"en": "Postal codes",
2022-02-04 01:30:39 +01:00
"id": "Kode pos",
2022-04-09 17:35:21 +02:00
"hu": "Irányítószámok",
2022-04-13 18:42:40 +02:00
"de": "Postleitzahlen",
2022-04-28 00:35:08 +02:00
"ca": "Codis postals",
2022-05-11 18:39:21 +02:00
"es": "Códigos postales",
2022-06-27 09:16:53 +02:00
"nl": "Postcodes",
2022-09-14 13:35:54 +02:00
"fr": "Codes postaux",
2022-11-02 13:47:34 +01:00
"da": "Postnumre",
2023-10-30 18:03:18 +01:00
"nb_NO": "Postnummer",
2023-03-13 20:14:39 +01:00
"pa_PK": "ڈاک کوڈ",
2023-06-28 22:30:08 +02:00
"cs": "Poštovní směrovací čísla",
2023-09-16 18:52:42 +02:00
"zh_Hant": "郵遞區號",
2024-07-28 02:26:46 +02:00
"pl": "Kody pocztowe",
"it": "Codici postali"
},
2023-10-30 18:03:18 +01:00
"shortDescription": {
2022-01-27 01:33:28 +01:00
"en": "Postal codes",
2022-02-04 01:30:39 +01:00
"id": "Kode pos",
2022-04-09 17:35:21 +02:00
"hu": "Irányítószámok",
2022-04-13 18:42:40 +02:00
"de": "Postleitzahlen",
2022-04-28 00:35:08 +02:00
"ca": "Codis postals",
2022-06-19 22:13:38 +02:00
"es": "Códigos postales",
2023-10-30 18:03:18 +01:00
"nb_NO": "Postkoder",
2022-06-27 09:16:53 +02:00
"nl": "Postcodes",
2022-09-14 13:35:54 +02:00
"fr": "Codes postaux",
"da": "Postnumre",
2023-03-13 20:14:39 +01:00
"pa_PK": "ڈاک کوڈ",
2023-06-28 22:30:08 +02:00
"cs": "Poštovní směrovací čísla",
2023-09-16 18:52:42 +02:00
"zh_Hant": "郵遞區號",
2023-10-30 18:03:18 +01:00
"it": "Codici postali",
2023-09-16 18:52:42 +02:00
"pl": "Kody pocztowe"
},
2021-12-07 17:46:57 +01:00
"icon": "./assets/themes/postal_codes/townhall.svg",
2021-12-07 02:23:26 +01:00
"hideFromOverview": true,
"layers": [
2021-12-13 20:59:38 +01:00
{
"id": "postal_code_boundary",
"name": {
2022-01-27 01:33:28 +01:00
"en": "postal codes",
2022-02-04 01:30:39 +01:00
"id": "kode pos",
2022-04-09 17:35:21 +02:00
"hu": "irányítószámok",
2022-04-13 18:42:40 +02:00
"de": "Postleitzahlen",
2022-04-28 00:35:08 +02:00
"ca": "codis postals",
2022-05-11 18:39:21 +02:00
"es": "códigos postales",
2022-06-19 22:13:38 +02:00
"nb_NO": "postkoder",
2022-06-27 09:16:53 +02:00
"nl": "postcodes",
2022-09-14 13:35:54 +02:00
"fr": "codes postaux",
2022-11-02 13:47:34 +01:00
"da": "postnumre",
2023-03-13 20:14:39 +01:00
"pa_PK": "ڈاک کوڈ",
2023-06-28 22:30:08 +02:00
"cs": "poštovní směrovací čísla",
2023-09-16 18:52:42 +02:00
"zh_Hant": "郵遞區號",
2024-07-28 02:26:46 +02:00
"pl": "kody pocztowe",
"it": "codici postali"
2021-12-13 20:59:38 +01:00
},
"minzoom": 8,
"title": {
"render": {
2022-01-27 01:33:28 +01:00
"en": "Postal code {postal_code}",
2022-02-04 01:30:39 +01:00
"id": "Kode pos {postal_code}",
2022-04-09 17:35:21 +02:00
"hu": "Irányítószám: {postal_code}",
2022-04-28 00:35:08 +02:00
"de": "Postleitzahl {postal_code}",
2022-05-11 18:39:21 +02:00
"es": "Código postal {postal_code}",
2022-06-19 22:13:38 +02:00
"nb_NO": "Postkode {postal_code}",
2022-06-27 09:16:53 +02:00
"nl": "Postcode {postal_code}",
2022-09-14 13:35:54 +02:00
"fr": "Code postal {postal_code}",
2022-10-27 01:50:01 +02:00
"da": "Postnummer {postal_code}",
2023-03-13 20:14:39 +01:00
"ca": "Codi postal {postal_code}",
2023-06-28 22:30:08 +02:00
"cs": "Poštovní směrovací číslo {postal_code}",
2023-09-16 18:52:42 +02:00
"zh_Hant": "郵遞區號 {postal_code}",
2024-07-28 02:26:46 +02:00
"pl": "Kod pocztowy {postal_code}",
"it": "Codice postale {postal_code}"
2021-12-13 20:59:38 +01:00
}
},
"description": {},
"tagRenderings": [
{
"id": "postal_code",
"render": {
2022-01-27 01:33:28 +01:00
"en": "The postal code is {postal_code}",
2022-02-04 01:30:39 +01:00
"id": "Kode posnya adalah {postal_code}",
2022-04-13 18:42:40 +02:00
"hu": "Irányítószám: {postal_code}",
2022-04-28 00:35:08 +02:00
"de": "Die Postleitzahl lautet {postal_code}",
2022-06-19 22:13:38 +02:00
"es": "El código postal es {postal_code}",
2022-06-27 09:16:53 +02:00
"nl": "Deze postcode is {postal_code}",
"fr": "Le code postal est {postal_code}",
2022-09-14 13:35:54 +02:00
"nb_NO": "Postnummeret er {postal_code}",
2023-02-26 17:45:29 +01:00
"da": "Postnummeret er {postal_code}",
2023-03-13 20:14:39 +01:00
"ca": "El codi postal és {postal_code}",
2023-06-28 22:30:08 +02:00
"cs": "Poštovní směrovací číslo je {postal_code}",
2023-09-16 18:52:42 +02:00
"zh_Hant": "郵遞區號是 {postal_code}",
2024-07-28 02:26:46 +02:00
"pl": "Kod pocztowy to {postal_code}",
"it": "Ilcodice postale è {postal_code}"
2021-12-13 20:59:38 +01:00
}
}
],
"source": {
"osmTags": {
"or": [
"boundary=postal_code",
{
"and": [
"bounary=administrative",
"postal_code~*"
]
}
]
}
},
2023-09-19 14:04:13 +02:00
"isShown": "_country=be",
2023-11-13 13:45:22 +01:00
"pointRendering": [
{
"label": "<div class='text-xl bg-white rounded-full pl-2 pr-2 break-normal'>{postal_code}</div>",
"location": [
"point",
"centroid"
]
}
],
2023-09-19 14:04:13 +02:00
"lineRendering": [
2023-11-13 13:45:22 +01:00
{
"color": "#00f",
"width": "4",
"fill": "no",
"dashArray": "8 8"
}
2023-09-19 14:04:13 +02:00
]
2021-12-13 20:59:38 +01:00
},
{
"id": "wrong_postal_code",
"source": {
"osmTags": {
"and": [
"boundary~*",
"addr:postcode~*"
]
}
},
"title": "Boundary relation with addr:postcode={addr:postcode}",
2023-11-13 13:45:22 +01:00
"pointRendering": null,
2023-09-19 14:04:13 +02:00
"lineRendering": [
2023-11-13 13:45:22 +01:00
{
"color": "#f00",
"width": 1
}
2021-12-13 20:59:38 +01:00
]
},
{
2021-12-07 17:46:57 +01:00
"id": "town_hall",
"name": {
2022-01-27 01:33:28 +01:00
"en": "town halls",
2022-02-04 01:30:39 +01:00
"id": "balai kota",
2022-04-09 17:35:21 +02:00
"hu": "polgármesteri hivatalok",
2022-04-13 18:42:40 +02:00
"de": "Rathäuser",
2022-06-19 22:13:38 +02:00
"ca": "ajuntaments",
2022-06-27 09:16:53 +02:00
"nl": "stadhuizen",
"fr": "mairies",
2022-09-14 13:35:54 +02:00
"nb_NO": "rådhus",
2023-02-26 17:45:29 +01:00
"da": "rådhuse",
2023-03-13 20:14:39 +01:00
"es": "Municipios",
2023-06-28 22:30:08 +02:00
"cs": "radnice",
2023-09-16 18:52:42 +02:00
"zh_Hant": "城鎮",
2024-07-28 02:26:46 +02:00
"pl": "ratusz",
"it": "municipi"
},
"minzoom": 12,
"title": {
"render": {
2022-01-27 01:33:28 +01:00
"en": "Town hall {name}",
2022-02-04 01:30:39 +01:00
"id": "Balai kota {name}",
2022-04-09 17:35:21 +02:00
"hu": "{name} városháza",
2022-06-19 22:13:38 +02:00
"de": "Rathaus {name}",
2022-06-27 09:16:53 +02:00
"nl": "Stadhuis {name}",
2022-09-14 13:35:54 +02:00
"fr": "Mairie {name}",
"da": "Rådhus {name}",
2022-10-27 01:50:01 +02:00
"nb_NO": "{name}-rådhuset",
2023-02-26 17:45:29 +01:00
"ca": "Ajuntament de {name}",
2023-03-13 20:14:39 +01:00
"es": "Municipio {name}",
2023-06-28 22:30:08 +02:00
"cs": "Radnice {name}",
2023-09-16 18:52:42 +02:00
"zh_Hant": "城鎮 {name}",
2024-07-28 02:26:46 +02:00
"pl": "Ratusz {name}",
"it": "Municipio {name}"
}
},
2021-12-13 20:59:38 +01:00
"calculatedTags": [
2023-05-16 03:27:49 +02:00
"_postal_code_properties=(() => { const f = overlapWith(feat)('postal_code_boundary'); if(f.length===0){return {};}; const p = f[0]?.feat?.properties; return {id:p.id, postal_code: p.postal_code, _closest_town_hall: p._closest_town_hall}; })()",
2021-12-07 17:46:57 +01:00
"_postal_code=feat.get('_postal_code_properties')?.postal_code",
2023-05-16 03:27:49 +02:00
"_postal_code_center_distance=distanceTo(feat)(feat.get('_postal_code_properties').id)"
],
2021-12-09 13:16:40 +01:00
"description": {},
"tagRenderings": [],
"presets": [],
"source": {
"osmTags": {
2021-12-13 20:59:38 +01:00
"or": [
"amenity=townhall",
"building=church"
]
}
},
2023-09-19 14:04:13 +02:00
"isShown": "_country=be",
2023-11-13 13:45:22 +01:00
"pointRendering": [
{
"marker": [
{
"icon": "./assets/themes/postal_codes/townhall.svg"
}
],
"iconSize": "40,40",
"location": [
"point",
"centroid"
],
"anchor": "center"
}
2023-09-19 14:04:13 +02:00
]
}
2023-10-30 18:03:18 +01:00
],
"overpassTimeout": 180,
"widenFactor": 0.05
2023-11-13 13:45:22 +01:00
}