mapcomplete/assets/layers/address/address.json

263 lines
8.5 KiB
JSON
Raw Normal View History

2021-12-02 02:54:28 +01:00
{
"id": "address",
"name": {
"en": "Known addresses in OSM",
2021-12-13 20:55:11 +01:00
"de": "Bekannte Adressen in OSM",
2022-01-11 11:42:53 +01:00
"zh_Hant": "OSM 上已知的地址",
"hu": "Ismert címek az OSM-en",
2022-01-18 20:18:12 +01:00
"nl": "Bekende adressen in OSM",
2022-01-21 02:29:44 +01:00
"fr": "Adresses connues dOpenStreetMap",
2022-01-27 01:33:28 +01:00
"ru": "Известные адреса в OSM",
2022-02-13 20:54:31 +01:00
"id": "Alamat yang dikenal di OSM",
2022-02-18 03:27:21 +01:00
"es": "Direcciones conocidas en OSM",
2022-04-18 01:47:54 +02:00
"zh_Hans": "OSM中已知的地址",
2022-04-28 00:35:08 +02:00
"nb_NO": "Kjente adresser i OSM",
2022-05-06 12:17:21 +02:00
"da": "Kendte adresser i OSM",
2022-05-27 14:50:29 +02:00
"pt": "Endereços conhecidos no OSM",
"eo": "Konataj adresoj en OSM"
2021-12-02 02:54:28 +01:00
},
"minzoom": 18,
"source": {
"osmTags": {
"or": [
"addr:housenumber~*",
"addr:street~*"
2021-12-02 02:54:28 +01:00
]
}
},
"calculatedTags": [
"_closest_3_street_names=feat.closestn('named_streets',3, 'name').map(f => f.feat.properties.name)",
"_closest_street:0:name=JSON.parse(feat.properties._closest_3_street_names)[0]",
"_closest_street:1:name=JSON.parse(feat.properties._closest_3_street_names)[1]",
"_closest_street:2:name=JSON.parse(feat.properties._closest_3_street_names)[2]"
],
"title": {
"render": {
"en": "Known address",
2022-01-11 11:42:53 +01:00
"de": "Bekannte Adresse",
"hu": "Ismert cím",
2022-01-18 20:18:12 +01:00
"nl": "Bekend adres",
2022-01-21 02:29:44 +01:00
"fr": "Adresse connue",
"pl": "Znany adres",
2022-02-13 20:54:31 +01:00
"ru": "Известный адрес",
2022-02-18 03:27:21 +01:00
"es": "Domicilio conocido",
2022-03-14 17:11:15 +01:00
"zh_Hans": "已知的地址",
2022-04-18 01:47:54 +02:00
"id": "Alamat yang diketahui",
2022-04-28 00:35:08 +02:00
"nb_NO": "Kjent adresse",
"da": "Kendt adresse"
2021-12-02 02:54:28 +01:00
}
},
"description": {
"en": "Addresses",
"nl": "Adressen",
"de": "Adressen",
2021-12-13 20:55:11 +01:00
"ru": "Адреса",
2022-01-11 11:42:53 +01:00
"zh_Hant": "地址",
2022-01-18 20:18:12 +01:00
"hu": "Címek",
2022-01-21 02:29:44 +01:00
"fr": "Adresses",
2022-01-27 01:33:28 +01:00
"pl": "Adresy",
2022-02-13 20:54:31 +01:00
"id": "Alamat",
2022-02-18 03:27:21 +01:00
"es": "Direcciones",
2022-04-13 18:42:40 +02:00
"zh_Hans": "地址",
2022-04-18 01:47:54 +02:00
"ca": "Adreces",
2022-04-28 00:35:08 +02:00
"nb_NO": "Adresser",
2022-05-06 12:17:21 +02:00
"da": "Adresser",
2022-05-27 14:50:29 +02:00
"pt": "Endereços",
"eo": "Adresoj"
2021-12-02 02:54:28 +01:00
},
"tagRenderings": [
{
"id": "housenumber",
"render": {
2022-05-11 18:39:21 +02:00
"en": "The house number is <b>{addr:housenumber}</b>",
2021-12-02 02:54:28 +01:00
"nl": "Het huisnummer is <b>{addr:housenumber}</b>",
2022-01-11 11:42:53 +01:00
"de": "Die Hausnummer ist <b>{addr:housenumber}</b>",
2022-01-18 20:18:12 +01:00
"hu": "A házszám: <b>{addr:housenumber}</b>",
2022-01-21 02:29:44 +01:00
"fr": "Son numéro est le <b>{addr:housenumber}</b>",
"pl": "Numer tego domu to <b>{addr:housenumber}</b>",
2022-02-18 03:27:21 +01:00
"ru": "Номер дома <b>{addr:housenumber}</b>",
2022-03-14 17:11:15 +01:00
"zh_Hans": "门牌号是<b>{addr:housenumber}</b>",
2022-04-22 01:48:40 +02:00
"id": "Nomor rumah ini <b>{addr:housenumber}</b>",
2022-04-28 00:35:08 +02:00
"es": "La numeración de la casa es <b>{addr:housenumber}</b>",
"da": "Husnummeret er <b>{addr:housenumber}</b>"
2021-12-02 02:54:28 +01:00
},
"question": {
"en": "What is the number of this house?",
2022-01-11 11:42:53 +01:00
"de": "Wie lautet die Nummer dieses Hauses?",
"hu": "Mi ennek az épületnek a házszáma?",
2022-01-18 20:18:12 +01:00
"nl": "Wat is het huisnummer van dit huis?",
2022-01-21 02:29:44 +01:00
"fr": "Quel est le numéro de ce bâtiment?",
"pl": "Jaki jest numer tego domu?",
2022-02-13 20:54:31 +01:00
"ru": "Какой номер у этого дома?",
2022-02-18 03:27:21 +01:00
"es": "¿Cuál es el número de esta casa?",
2022-03-14 17:11:15 +01:00
"zh_Hans": "这个屋子的门牌号是多少?",
2022-04-28 00:35:08 +02:00
"id": "Berapa nomor rumah ini?",
"da": "Hvad er nummeret på dette hus?"
2021-12-02 02:54:28 +01:00
},
"freeform": {
"key": "addr:housenumber",
"addExtraTags": [
"nohousenumber="
]
},
"mappings": [
{
"if": {
"and": [
"nohousenumber=yes"
]
},
"then": {
"en": "This building has no house number",
"nl": "Dit gebouw heeft geen huisnummer",
2022-01-11 11:42:53 +01:00
"de": "Dieses Gebäude hat keine Hausnummer",
2022-01-18 20:18:12 +01:00
"hu": "Ennek az épületnek nincs házszáma",
2022-01-21 02:29:44 +01:00
"fr": "Ce bâtiment na pas de numéro",
"pl": "Ten budynek nie ma numeru",
2022-01-27 01:33:28 +01:00
"ru": "У этого здания нет номера",
2022-02-13 20:54:31 +01:00
"id": "Bangunan ini tidak memiliki nomor rumah",
2022-02-18 03:27:21 +01:00
"es": "Esta edificación no tiene número",
2022-04-28 00:35:08 +02:00
"zh_Hans": "这个建筑物没有门牌号",
2022-06-20 01:44:56 +02:00
"da": "Denne bygning har intet husnummer",
"zh_Hant": "這棟建築沒有門牌"
2021-12-02 02:54:28 +01:00
}
}
]
},
{
"id": "street",
"render": {
"en": "This address is in street <b>{addr:street}</b>",
2022-01-11 11:42:53 +01:00
"de": "Diese Adresse befindet sich in der Straße <b>{addr:street}</b>",
"hu": "Ez a cím a következő utcában van: <b>{addr:street}</b>",
2022-01-18 20:18:12 +01:00
"nl": "Dit adres bevindt zich in de straat <b>{addr:street}</b>",
2022-01-21 02:29:44 +01:00
"fr": "Le nom de la voie est <b>{addr:street}</b>",
2022-02-18 03:27:21 +01:00
"pl": "Ten adres znajduje się na ulicy <b>{addr:street}</b>",
2022-03-14 17:11:15 +01:00
"zh_Hans": "这个地址位于<b>{addr:street}</b>街",
2022-04-22 01:48:40 +02:00
"id": "Alamat ini ada di jalan <b>{addr:street}</b>",
2022-04-28 00:35:08 +02:00
"es": "La dirección está en la calle <b>{addr:street}</b>",
"da": "Denne adresse er på gaden <b>{addr:street}</b>"
2021-12-02 02:54:28 +01:00
},
"question": {
"en": "What street is this address located in?",
2022-01-11 11:42:53 +01:00
"de": "In welcher Straße befindet sich diese Adresse?",
"hu": "Melyik utcában található ez a cím?",
2022-01-18 20:18:12 +01:00
"nl": "In welke straat bevindt dit adres zich?",
2022-01-21 02:29:44 +01:00
"fr": "Dans quelle rue est située ladresse?",
"pl": "Na jakiej ulicy znajduje się ten adres?",
2022-02-13 20:54:31 +01:00
"ru": "Какая эта улица?",
2022-02-18 03:27:21 +01:00
"es": "¿En qué calle se encuentra esta dirección?",
2022-03-14 17:11:15 +01:00
"zh_Hans": "这个地址位于哪条街道?",
2022-04-28 00:35:08 +02:00
"id": "Alamat ini di jalan apa?",
"da": "Hvilken gade ligger denne adresse på?"
2021-12-02 02:54:28 +01:00
},
"freeform": {
"key": "addr:street"
},
"mappings": [
{
"if": "addr:street:={_closest_street:0:name}",
"then": "Located in <b>{_closest_street:0:name}</b>",
"hideInAnswer": "_closest_street:0:name="
},
{
"if": "addr:street:={_closest_street:1:name}",
"then": "Located in <b>{_closest_street:1:name}</b>",
"hideInAnswer": "_closest_street:1:name="
},
{
"if": "addr:street:={_closest_street:2:name}",
"then": "Located in <b>{_closest_street:2:name}</b>",
"hideInAnswer": "_closest_street:2:name="
}
],
"condition": {
"and": [
"nohousenumber!~yes"
]
}
},
{
"id": "fixme",
"render": "<b>Fixme description</b>{fixme}",
"question": {
2021-12-13 20:55:11 +01:00
"en": "What should be fixed here? Please explain",
2022-01-06 15:37:57 +01:00
"zh_Hant": "這裡需要修什麼?請直接解釋",
2022-01-11 11:42:53 +01:00
"de": "Was sollte hier korrigiert werden? Bitte erläutern",
2022-01-18 20:18:12 +01:00
"hu": "Mit kellene itt kijavítani? Légy szíves, magyarázd el",
2022-01-21 02:29:44 +01:00
"fr": "Précisez ce qui devrait être corrigé ici",
2022-01-27 01:33:28 +01:00
"pl": "Co wymaga naprawy? Proszę wytłumaczyć",
2022-02-13 20:54:31 +01:00
"id": "Apa yang harus diperbaiki di sini? Tolong jelaskan",
"es": "¿Qué debe corregirse aquí? Expóngalo",
2022-02-18 03:27:21 +01:00
"nl": "Wat moet hier gecorrigeerd worden? Leg het uit",
2022-04-28 00:35:08 +02:00
"zh_Hans": "这里应被如何修复?请做出解释",
"da": "Hvad skal rettes her? Forklar venligst"
2021-12-02 02:54:28 +01:00
},
"freeform": {
"key": "fixme"
},
"mappings": [
{
"if": "fixme=",
"then": "No fixme - write something here to explain complicated cases"
}
]
}
],
"mapRendering": [
{
"label": {
"render": "<div style='margin-top: -42px; color: white' class='rounded-full p-1 font-bold relative'>{addr:housenumber}</div>",
"condition": "addr:housenumber~*"
},
"iconSize": "50,50,center",
2021-12-02 02:54:28 +01:00
"icon": {
"render": "./assets/layers/address/housenumber_blank.svg",
2021-12-02 02:54:28 +01:00
"mappings": [
{
"if": {
"or": [
{
"and": [
"addr:housenumber=",
"nohousenumber!=yes"
]
},
"addr:street="
]
},
"then": "./assets/themes/uk_addresses/housenumber_unknown.svg"
}
]
},
"location": [
"point",
"centroid"
2021-12-02 02:54:28 +01:00
]
},
{
"color": {
"render": "#00f",
"mappings": [
{
"if": {
"or": [
{
"and": [
"addr:housenumber=",
"nohousenumber!=yes"
]
},
"addr:street="
]
},
"then": "#ff0"
}
]
},
"width": {
"render": "8"
}
}
]
}