2021-09-18 02:45:44 +02:00
{
"id" : "uk_addresses" ,
"title" : {
2021-10-22 13:47:36 +02:00
"en" : "UK Addresses" ,
2021-11-04 17:14:17 +01:00
"de" : "Adressen in Großbritannien" ,
2021-11-07 19:47:52 +01:00
"it" : "Indirizzi UK" ,
"id" : "Alamat Inggris"
2021-09-18 02:45:44 +02:00
} ,
"shortDescription" : {
2021-10-22 13:47:36 +02:00
"en" : "Help to build an open dataset of UK addresses" ,
2021-11-04 17:14:17 +01:00
"de" : "Helfen Sie beim Aufbau eines offenen Datensatzes britischer Adressen" ,
"it" : "Aiuta a costruire un dataset libero per gli indirizzi nel Regno Unito"
2021-09-18 02:45:44 +02:00
} ,
"description" : {
2021-10-18 22:42:41 +02:00
"en" : "Contribute to OpenStreetMap by filling out address information" ,
2021-10-22 13:47:36 +02:00
"nl" : "Draag bij aan OpenStreetMap door adresinformatie in te vullen" ,
2021-11-04 17:14:17 +01:00
"de" : "Tragen Sie zu OpenStreetMap bei, indem Sie Adressinformationen ausfüllen" ,
2021-11-07 19:47:52 +01:00
"it" : "Contribuisci a OpenStreetMap inserendo le informazioni sull’ indirizzo" ,
"id" : "Berkontribusi untuk OpenStreetMap dengan mengisi informasi alamat"
2021-09-18 02:45:44 +02:00
} ,
"language" : [
2021-10-18 22:42:41 +02:00
"en" ,
2021-10-22 13:47:36 +02:00
"de" ,
2021-11-04 17:14:17 +01:00
"it" ,
2021-11-07 19:47:52 +01:00
"id" ,
"nl"
2021-09-18 02:45:44 +02:00
] ,
"maintainer" : "Pieter Vander Vennet, Rob Nickerson, Russ Garrett" ,
"icon" : "./assets/themes/uk_addresses/housenumber_unknown.svg" ,
"version" : "2021-09-17" ,
2021-09-27 18:35:32 +02:00
"startLat" : -0.08706 ,
"startLon" : 51.52224 ,
"startZoom" : 17 ,
"widenFactor" : 1.01 ,
2021-09-18 02:45:44 +02:00
"socialImage" : "" ,
2021-10-06 12:42:18 +02:00
"hideFromOverview" : true ,
2021-09-27 18:35:32 +02:00
"clustering" : {
"minNeededFeatures" : 25 ,
2021-10-13 03:10:46 +02:00
"maxZoom" : 16
2021-09-27 18:35:32 +02:00
} ,
2021-10-14 21:43:14 +02:00
"tileLayerSources" : [
{
2021-10-15 00:52:31 +02:00
"id" : "property-boundaries" ,
2021-10-14 21:43:14 +02:00
"source" : "https://tiles.osmuk.org/PropertyBoundaries/{z}/{x}/{y}.png" ,
"isOverlay" : true ,
"minZoom" : 18 ,
"maxZoom" : 20 ,
"defaultState" : false ,
"name" : {
2021-10-25 21:48:45 +02:00
"en" : "Property boundaries by osmuk.org" ,
"de" : "Grenzverläufe gemäß osmuk.org"
2021-10-14 21:43:14 +02:00
}
}
] ,
2021-09-18 02:45:44 +02:00
"layers" : [
2021-11-05 01:19:27 +01:00
{
"id" : "raw_inspire_polygons" ,
"source" : {
"geoJson" : "https://osm-uk-addresses.russss.dev/inspire/{z}/{x}/{y}.json" ,
"osmTags" : "inspireid~*" ,
"geoJsonZoomLevel" : 18 ,
"isOsmCache" : false
} ,
"minzoom" : 18 ,
"calculatedTags" : [
"_has_address=feat.overlapWith('addresses').length > 0"
] ,
"#mapRendering" : [
{
"width" : 2 ,
"color" : {
"render" : "#00f" ,
"mappings" : [
{
"if" : "_has_address=true" ,
"then" : "#0f0"
}
]
}
}
] ,
2021-11-09 18:22:26 +01:00
"mapRendering" : null
2021-11-05 01:19:27 +01:00
} ,
2021-09-18 02:45:44 +02:00
{
"id" : "to_import" ,
"source" : {
2021-10-08 15:11:20 +02:00
"geoJson" : "https://osm-uk-addresses.russss.dev/addresses/{z}/{x}/{y}.json" ,
2021-09-18 02:45:44 +02:00
"osmTags" : "inspireid~*" ,
2021-10-08 15:11:20 +02:00
"geoJsonZoomLevel" : 16 ,
2021-09-18 02:45:44 +02:00
"isOsmCache" : false
} ,
"name" : "Addresses to check" ,
2021-10-08 15:11:20 +02:00
"minzoom" : 14 ,
2021-09-18 02:45:44 +02:00
"title" : {
2021-11-07 19:47:52 +01:00
"render" : {
"en" : "Address to be determined" ,
"id" : "Alamat yang diketahui"
}
2021-09-18 02:45:44 +02:00
} ,
"tagRenderings" : [
{
2021-09-26 23:35:26 +02:00
"id" : "uk_addresses_explanation" ,
2021-11-07 19:47:52 +01:00
"render" : {
"en" : "There probably is an address here"
}
2021-09-18 02:45:44 +02:00
} ,
{
2021-09-26 23:35:26 +02:00
"id" : "uk_addresses_embedding_outline" ,
2021-09-18 02:45:44 +02:00
"render" : "An outline embedding this point with an address already exists in OpenStreetMap.<br>This <a href='https://openstreetmap.org/{_embedding_object:id}' target='blank'>object</a> has address <b>{_embedding_object:addr:street} {_embedding_object:addr:housenumber}</b>" ,
2021-11-05 16:52:10 +01:00
"mappings" : [
{
"if" : "_embedding_object:id=true" ,
2021-11-07 19:47:52 +01:00
"then" : {
"en" : "The INSPIRE-polygon containing this point has at least one address contained"
}
2021-11-05 16:52:10 +01:00
} ,
{
"if" : "_embedding_object:id=false" ,
2021-11-07 19:47:52 +01:00
"then" : {
2021-11-07 21:20:05 +01:00
"en" : "The INSPIRE-polygon containing this point has <b>no</b> addresses contained"
2021-11-07 19:47:52 +01:00
}
2021-11-05 16:52:10 +01:00
}
] ,
2021-09-18 02:45:44 +02:00
"condition" : "_embedding_object:id~*"
} ,
{
2021-09-26 23:35:26 +02:00
"id" : "uk_addresses_import_button" ,
2021-11-05 01:19:27 +01:00
"render" : "{import_button(addresses,ref:inspireid=$inspireid, Add this address, ./assets/themes/uk_addresses/housenumber_add.svg)}"
2021-10-10 23:38:09 +02:00
}
2021-09-18 02:45:44 +02:00
] ,
"calculatedTags" : [
"_embedding_object=feat.overlapWith('addresses')[0]?.feat?.properties ?? null" ,
"_embedding_object:addr:housenumber=JSON.parse(feat.properties._embedding_object)?.['addr:housenumber']" ,
"_embedding_object:addr:street=JSON.parse(feat.properties._embedding_object)?.['addr:street']" ,
2021-11-05 01:19:27 +01:00
"_embedding_inspire_polygon_has_address=feat.overlapWith('raw_inspire_polygons')[0]?.feat?.properties?._has_address" ,
"_embedding_object:id=feat.get('_embedding_object')?.id ?? feat.properties._embedding_inspire_polygon_has_address"
2021-09-27 18:35:32 +02:00
] ,
"filter" : [
{
"id" : "to_handle" ,
"options" : [
{
"question" : "Only show non-matched objects" ,
"osmTags" : {
"and" : [
"_imported=" ,
2021-11-05 01:19:27 +01:00
{
"or" : [
"_embedding_object:id=" ,
"_embedding_object:id=false"
]
}
2021-09-27 18:35:32 +02:00
]
}
}
]
}
2021-11-04 22:31:14 +01:00
] ,
"mapRendering" : [
{
"icon" : {
"render" : "./assets/themes/uk_addresses/housenumber_unknown.svg" ,
"mappings" : [
{
2021-11-05 01:19:27 +01:00
"if" : {
"and" : [
"_embedding_object:id~*" ,
"_embedding_object:id!=false"
]
} ,
2021-11-04 22:31:14 +01:00
"then" : "./assets/themes/uk_addresses/housenumber_unknown_small.svg"
} ,
{
"if" : "_imported=yes" ,
"then" : "./assets/themes/uk_addresses/housenumber_unknown_small.svg"
}
]
} ,
"iconSize" : {
"render" : "40,40,center"
} ,
"location" : [
2021-11-09 19:45:26 +01:00
"point" ,
"centroid"
2021-11-04 22:31:14 +01:00
]
}
2021-11-07 19:47:52 +01:00
] ,
"description" : "Alamat"
2021-09-18 02:45:44 +02:00
} ,
{
"id" : "addresses" ,
"name" : {
2021-10-22 13:47:36 +02:00
"en" : "Known addresses in OSM" ,
"de" : "Bekannte Adressen in OSM"
2021-09-18 02:45:44 +02:00
} ,
"minzoom" : 18 ,
"source" : {
"osmTags" : {
"or" : [
"addr:housenumber~*" ,
"addr:street~*" ,
"ref:inspireid~*"
]
}
} ,
"calculatedTags" : [
2021-10-10 23:38:09 +02:00
"_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]"
2021-09-18 02:45:44 +02:00
] ,
"title" : {
"render" : {
2021-10-22 13:47:36 +02:00
"en" : "Known address" ,
"de" : "Bekannte Adresse"
2021-09-18 02:45:44 +02:00
}
} ,
"description" : {
2021-10-18 22:42:41 +02:00
"en" : "Addresses" ,
2021-10-22 13:47:36 +02:00
"nl" : "Adressen" ,
"de" : "Adressen"
2021-09-18 02:45:44 +02:00
} ,
"tagRenderings" : [
{
2021-09-26 23:35:26 +02:00
"id" : "uk_addresses_explanation_osm" ,
2021-09-18 02:45:44 +02:00
"render" : {
2021-10-22 13:47:36 +02:00
"en" : "This address is saved in OpenStreetMap" ,
"de" : "Diese Adresse ist in OpenStreetMap gespeichert"
2021-09-18 02:45:44 +02:00
}
} ,
{
2021-09-26 23:35:26 +02:00
"id" : "uk_addresses_housenumber" ,
2021-09-18 02:45:44 +02:00
"render" : {
2021-10-18 22:42:41 +02:00
"en" : "The housenumber is <b>{addr:housenumber}</b>" ,
2021-10-22 13:47:36 +02:00
"nl" : "Het huisnummer is <b>{addr:housenumber}</b>" ,
"de" : "Die Hausnummer ist <b>{addr:housenumber}</b>"
2021-09-18 02:45:44 +02:00
} ,
"question" : {
2021-10-22 13:47:36 +02:00
"en" : "What is the number of this house?" ,
"de" : "Wie lautet die Nummer dieses Hauses?"
2021-09-18 02:45:44 +02:00
} ,
"freeform" : {
2021-10-10 23:38:09 +02:00
"key" : "addr:housenumber" ,
2021-10-11 22:32:25 +02:00
"addExtraTags" : [
"nohousenumber="
]
2021-09-18 02:45:44 +02:00
} ,
"mappings" : [
{
"if" : {
"and" : [
"nohousenumber=yes"
]
} ,
"then" : {
2021-10-18 22:42:41 +02:00
"en" : "This building has no house number" ,
2021-10-22 13:47:36 +02:00
"nl" : "Dit gebouw heeft geen huisnummer" ,
"de" : "Dieses Gebäude hat keine Hausnummer"
2021-09-18 02:45:44 +02:00
}
}
]
} ,
2021-11-05 16:52:10 +01:00
{
"id" : "uk_addresses_housename" ,
"question" : "What is the name of this house?<br/>This is normally indicated on a plaque.<br><div class='subtle'>Do NOT add names of inhabitants!</div>" ,
"render" : "This house is named <b>{addr:housename}</b>" ,
"freeform" : {
"key" : "addr:housename" ,
"addExtraTags" : [
"nohousename="
]
} ,
"mappings" : [
{
"if" : "nohousename=yes" ,
"then" : "This building has no housename"
} ,
{
"if" : {
"and" : [
"addr:housename=" ,
"nohousenumber!=yes"
]
} ,
"then" : "This building has no housename" ,
"hideInAnswer" : true
}
]
} ,
2021-09-18 02:45:44 +02:00
{
2021-09-26 23:35:26 +02:00
"id" : "uk_addresses_street" ,
2021-09-18 02:45:44 +02:00
"render" : {
2021-10-22 13:47:36 +02:00
"en" : "This address is in street <b>{addr:street}</b>" ,
"de" : "Diese Adresse befindet sich in der Straße <b>{addr:street}</b>"
2021-09-18 02:45:44 +02:00
} ,
"question" : {
2021-10-22 13:47:36 +02:00
"en" : "What street is this address located in?" ,
"de" : "In welcher Straße befindet sich diese Adresse?"
2021-09-18 02:45:44 +02:00
} ,
"freeform" : {
"key" : "addr:street"
} ,
"mappings" : [
{
"if" : "addr:street:={_closest_street:0:name}" ,
2021-10-10 23:38:09 +02:00
"then" : "Located in <b>{_closest_street:0:name}</b>" ,
2021-09-18 02:45:44 +02:00
"hideInAnswer" : "_closest_street:0:name="
} ,
{
"if" : "addr:street:={_closest_street:1:name}" ,
2021-10-10 23:38:09 +02:00
"then" : "Located in <b>{_closest_street:1:name}</b>" ,
2021-09-18 02:45:44 +02:00
"hideInAnswer" : "_closest_street:1:name="
} ,
{
"if" : "addr:street:={_closest_street:2:name}" ,
2021-10-10 23:38:09 +02:00
"then" : "Located in <b>{_closest_street:2:name}</b>" ,
2021-09-18 02:45:44 +02:00
"hideInAnswer" : "_closest_street:2:name="
}
] ,
"condition" : {
"and" : [
"nohousenumber!~yes"
]
}
2021-11-05 16:52:10 +01:00
} ,
{
"id" : "fixme" ,
2021-11-10 18:42:31 +01:00
"render" : "<b>Fixme description</b>{fixme}" ,
2021-11-05 16:52:10 +01:00
"question" : {
"en" : "What should be fixed here? Please explain"
} ,
"freeform" : {
"key" : "fixme"
} ,
"mappings" : [
{
"if" : "fixme=" ,
"then" : "No fixme - write something here to explain complicated cases"
}
]
} ,
"questions" ,
{
"id" : "address-sign-image" ,
"render" : {
"en" : "{image_carousel(image:address)}<br/>{image_upload(image:address, Add image of the address)}"
}
2021-09-18 02:45:44 +02:00
}
] ,
2021-11-04 22:31:14 +01:00
"mapRendering" : [
{
"icon" : {
"render" : "./assets/themes/uk_addresses/housenumber_ok.svg" ,
"mappings" : [
{
"if" : {
"or" : [
{
"and" : [
"addr:housenumber=" ,
"nohousenumber!=yes"
]
} ,
"addr:street="
2021-09-18 02:45:44 +02:00
]
} ,
2021-11-04 22:31:14 +01:00
"then" : "./assets/themes/uk_addresses/housenumber_unknown.svg"
}
]
} ,
"iconSize" : {
"render" : "40,40,center"
} ,
"location" : [
"point"
]
} ,
{
"color" : {
"render" : "#00f" ,
"mappings" : [
{
"if" : {
"or" : [
{
"and" : [
"addr:housenumber=" ,
"nohousenumber!=yes"
]
} ,
"addr:street="
2021-09-18 02:45:44 +02:00
]
} ,
2021-11-04 22:31:14 +01:00
"then" : "#ff0"
}
]
} ,
"width" : {
"render" : "8"
2021-09-18 02:45:44 +02:00
}
2021-11-04 22:31:14 +01:00
}
]
2021-09-18 02:45:44 +02:00
} ,
{
"id" : "named_streets" ,
"minzoom" : 18 ,
"source" : {
"osmTags" : {
"and" : [
"highway~*" ,
"name~*"
]
}
} ,
2021-11-04 22:31:14 +01:00
"mapRendering" : [
{
"color" : {
"render" : "#ccc"
} ,
"width" : {
"render" : "0"
}
}
]
2021-09-18 02:45:44 +02:00
}
2021-10-28 00:13:18 +02:00
] ,
"enableShareScreen" : false ,
"enableMoreQuests" : false
2021-10-07 15:42:08 +02:00
}