mapcomplete/assets/themes/uk_addresses/uk_addresses.json

697 lines
25 KiB
JSON
Raw Normal View History

{
"id": "uk_addresses",
"title": {
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"en": "Addresses in Great Britain",
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"
},
"mustHaveLanguage": [
"en"
],
"shortDescription": {
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"en": "Help to build an open dataset of addresses in Great Britain",
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"
},
"description": {
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"en": "Help us collect addresses and make them freely available. Each address contributed will be added to OpenStreetMap so you will need to create an account and log in before you start. Please do not copy addresses from the internet or other sources subject to copyright. This website works well on mobile so a good option is to contibute the addresses closest to you."
},
"maintainer": "Pieter Vander Vennet, Rob Nickerson, Russ Garrett",
"icon": "./assets/themes/uk_addresses/housenumber_unknown.svg",
"version": "2021-09-17",
"startLat": 53.21261,
"startLon": -1.47216,
"startZoom": 7,
"widenFactor": 1.01,
2021-10-06 12:42:18 +02:00
"hideFromOverview": true,
"clustering": {
"minNeededFeatures": 25,
"maxZoom": 16
},
"tileLayerSources": [
{
"id": "property-boundaries",
"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"
}
}
],
"layers": [
{
"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('address').length > 0"
],
"mapRendering": [
{
"width": 2,
"color": {
"render": "#00f",
"mappings": [
{
"if": "_has_address=true",
"then": "#0f0"
}
]
}
}
],
"shownByDefault": false,
"name": {
"en": "Inspire polygons"
}
},
{
"id": "to_import",
"source": {
"geoJson": "https://osm-uk-addresses.russss.dev/addresses/{z}/{x}/{y}.json",
"osmTags": {
2022-01-18 00:09:01 +01:00
"and": [
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"urpn_count~*",
2022-01-18 00:09:01 +01:00
"id!~node/.*"
]
},
"geoJsonZoomLevel": 16,
"isOsmCache": false
},
"name": "Addresses to check",
"minzoom": 18,
"title": {
2021-11-07 19:47:52 +01:00
"render": {
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"en": "This address needs adding"
2021-11-07 19:47:52 +01:00
}
},
"tagRenderings": [
{
2021-09-26 23:35:26 +02:00
"id": "uk_addresses_explanation",
2021-11-07 19:47:52 +01:00
"render": {
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"en": "We think there should be an address here. Please click below to add it."
2021-11-07 19:47:52 +01:00
}
},
{
2021-09-26 23:35:26 +02:00
"id": "uk_addresses_embedding_outline",
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"render": "<b>Warning: </b>This point lies within a building or area for which we already have an address. You should only add this address if it is different. <br>The number and street name we have for the <a href='#{_embedding_object:id}' target='blank'>existing address</a> is <b>{_embedding_object:addr:housenumber} {_embedding_object:addr:street}</b>",
"mappings": [
{
"if": "_embedding_object:id=true",
2021-11-07 19:47:52 +01:00
"then": {
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"en": "<b>Warning: </b>The property boundary containing this point already contains at least one recorded address. You should only add this address if it is different."
2021-11-07 19:47:52 +01:00
}
},
{
"if": "_embedding_object:id=false",
2021-11-07 19:47:52 +01:00
"then": {
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"en": "We checked our data and found no other address within the same property boundary. If you know the details for this address, please add it."
2021-11-07 19:47:52 +01:00
}
}
],
"condition": "_embedding_object:id~*"
},
{
2021-09-26 23:35:26 +02:00
"id": "uk_addresses_import_button",
2022-04-01 12:51:55 +02:00
"render": {
"special": {
"type": "import_button",
"targetLayer": "address",
"tags": "urpn_count=$urpn_count;ref:GB:uprn=$ref:GB:uprn$",
"text": "Add this address",
"icon": "./assets/themes/uk_addresses/housenumber_add.svg",
"location_picker": "none"
}
}
}
],
"calculatedTags": [
"_embedding_object=feat.overlapWith('address')[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']",
"_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"
],
"filter": [
{
"id": "to_handle",
"options": [
{
"default": true,
"question": "Only show non-matched objects",
"osmTags": {
"and": [
"_imported=",
{
"or": [
"_embedding_object:id=",
"_embedding_object:id=false"
]
}
]
}
}
]
}
],
"mapRendering": [
{
"icon": {
"render": "./assets/themes/uk_addresses/housenumber_unknown.svg",
"mappings": [
{
"if": {
"and": [
"_embedding_object:id~*",
"_embedding_object:id!=false"
]
},
"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-07 19:47:52 +01:00
],
"description": "Alamat"
},
{
"id": "address",
"name": {
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"en": "Known addresses in OSM"
},
"minzoom": 18,
"source": {
"osmTags": {
"or": [
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"addr:unit~*",
"addr:flats~*",
"addr:housename~*",
"addr:housenumber~*",
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"addr:place~*",
"addr:substreet~*",
"addr:street~*",
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"addr:parentstreet~*",
"addr:suburb~*",
"addr:city~*",
"addr:postcode~*",
"fixme:addr~*",
"urpn_count~*"
]
}
},
"title": {
"render": {
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"en": "Review and update the address"
}
},
"description": {
"en": "Addresses",
"nl": "Adressen",
"de": "Adressen",
"ru": "Адреса",
"zh_Hant": "地址",
"hu": "Címek"
},
"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]"
],
"tagRenderings": [
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"questions",
{
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"id": "preview",
"render": {
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"en": "<div>The envelope below shows the address that we have recorded. You can change this by answering any remaining questions above, or by clicking the pencil icons below. We do not need you to provide a recipient's name or any of the parts shown in <span style='color: #4e7ce8'>[blue]</span>.</div><div style='background: #f1d592; min-height: 270px; border-radius: 2px; padding: 1rem 1rem 2rem 7rem; margin: 1rem; box-shadow: 0 2px 5px 0px rgba(0,0,0,.6)' class='flex flex-col'><img src='./assets/themes/uk_addresses/stamp-outline.png' class='self-end w-16'/><div>{addr:unit} {addr:housename}</div><div>{addr:housenumber} {addr:street}</div><div>{addr:parentstreet}</div><div style='color: #4e7ce8'>[Suburb]</div><div style='color: #4e7ce8'>[Town]</div><div style='color: #4e7ce8'>[Postal code]</div></div>"
},
"mappings": [
{
2022-02-19 17:57:34 +01:00
"#": "ignore-image-in-then",
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"if": "addr:substreet~*",
"then": "<div>The envelope below shows the address that we have recorded. You can change this by answering any remaining questions above, or by clicking the pencil icons below. We do not need you to provide a recipient's name or any of the parts shown in <span style='color: #4e7ce8'>[blue]</span>.</div><div style='background: #f1d592; min-height: 270px; border-radius: 2px; padding: 1rem 1rem 2rem 7rem; margin: 1rem; box-shadow: 0 2px 5px 0px rgba(0,0,0,.6)' class='flex flex-col'><img src='./assets/themes/uk_addresses/stamp-outline.png' class='self-end w-16'/><div>{addr:unit} {addr:housename}</div><div>{addr:housenumber} {addr:substreet}</div><div>{addr:street}</div><div>{addr:parentstreet}</div><div style='color: #4e7ce8'>[Suburb]</div><div style='color: #4e7ce8'>[Town]</div><div style='color: #4e7ce8'>[Postal code]</div></div>"
}
]
},
{
"id": "uk_addresses_unit",
2022-06-24 22:35:23 +02:00
"render": "<div class='subtle'>Sub-unit (e.g. 1, Flat 2, Unit C)</div><div><b>{addr:unit}</b></div>",
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"question": {
2022-06-24 22:35:23 +02:00
"en": "What is the sub-unit for this address? <div class='subtle'>Some named building or large complexes are split into sub-units</div>"
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
},
"freeform": {
"key": "addr:unit",
2022-06-24 22:35:23 +02:00
"placeholder": "Sub-unit (e.g. 1, Flat 2, Unit C)",
"addExtraTags": ["not:addr:unit="]
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
},
"mappings": [
2022-06-24 22:35:23 +02:00
{
"if": "not:addr:unit=yes",
"then": "<div class='subtle'>Sub-unit (e.g. 1, Flat 2, Unit C)</div><div>There is no sub-unit within this address</div>",
"addExtraTags": [
"addr:unit="
],
"hideInAnswer": true
},
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
{
"if": "not:addr:unit=yes",
"then": "There is no sub-unit within this address",
2022-03-18 01:21:00 +01:00
"addExtraTags": [
"addr:unit="
]
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
},
{
"if": "addr:unit=",
2022-06-24 22:35:23 +02:00
"then": "<div class='subtle'>Sub-unit (e.g. 1, Flat 2, Unit C)</div>",
"hideInAnswer": true
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
}
],
"condition": {
"or": [
"addr:housenumber~*",
"addr:housename~*",
"addr:substreet~*"
]
}
},
{
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"id": "uk_addresses_housename",
2022-06-24 22:35:23 +02:00
"question": "What is the house or building name for this address?<div class='subtle'>As shown on a sign. Please do NOT add names of the people who live here!</div>",
"render": "<div class='subtle'>House or building name</div><div><b>{addr:housename}</b></div>",
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"freeform": {
"key": "addr:housename",
2022-06-24 22:35:23 +02:00
"placeholder": "Name (e.g. Rose Cottage, Broadcasting House, Acme Corp HQ)",
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"addExtraTags": [
"nohousename="
]
},
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"mappings": [
2022-06-24 22:35:23 +02:00
{
"if": {
"and": [
"nohousename=yes",
"addr:housename="
]
},
"then": "<div class='subtle'>House or building name</div><div>This building has no housename</div>",
"hideInAnswer": true
},
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
{
"if": {
"and": [
"nohousename=yes",
"addr:housename="
]
},
"then": "This building has no housename"
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
},
{
"#": "By adding nohousenumber!=yes, this option will trigger when first added, but will be untriggered if a housenumber is added, resulting in the question poping up!",
"if": {
"and": [
"addr:housename=",
"nohousenumber!=yes"
]
},
"then": "<div class='subtle'>House or building name</div>",
"hideInAnswer": true
}
]
},
{
"id": "uk_addresses_housenumber",
2022-06-24 22:35:23 +02:00
"render": "<div class='subtle'>Number (e.g. 1, 1A, 2)</div><div><b>{addr:housenumber}</b></div>",
"question": {
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"en": "What is the house or building number for this address?"
},
"freeform": {
"key": "addr:housenumber",
2022-06-24 22:35:23 +02:00
"placeholder": "Number (e.g. 1, 1A, 2)",
2021-10-11 22:32:25 +02:00
"addExtraTags": [
"nohousenumber="
]
},
"mappings": [
2022-06-24 22:35:23 +02:00
{
"if": "nohousenumber=yes",
"then": {
"en": "<div class='subtle'>Number (e.g. 1, 1A, 2)</div><div>This building has no house number</div>"
},
"addExtraTags": [
"addr:housenumber="
],
"hideInAnswer": true
},
{
"if": "nohousenumber=yes",
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"then": {
"en": "This building has no house number",
"nl": "Dit gebouw heeft geen huisnummer",
"de": "Dieses Gebäude hat keine Hausnummer"
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
},
2022-03-18 01:21:00 +01:00
"addExtraTags": [
"addr:housenumber="
]
}
]
},
{
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"id": "uk_addresses_placename",
"question": {
2022-06-24 22:35:23 +02:00
"en": "What is the place or locality for this address?<div class='subtle'>This is additional information that appears before (or instead of) a street name in the address</div>"
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
},
"render": {
2022-06-24 22:35:23 +02:00
"en": "<div class='subtle'>Place (e.g. Castle Mews, West Business Park)</div><div><b>{addr:substreet}</b></div>"
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
},
"freeform": {
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"key": "addr:substreet",
2022-06-24 22:35:23 +02:00
"placeholder": "Place (e.g. The Cross, West Business Park, Castle Mews)",
2022-02-09 00:32:51 +01:00
"addExtraTags": [
2022-06-24 22:35:23 +02:00
"not:addr:parentstreet=",
2022-02-09 00:32:51 +01:00
"addr:parentstreet:={addr:street}",
2022-06-24 22:35:23 +02:00
"addr:street=",
"not:addr:substreet="
2022-02-09 00:32:51 +01:00
]
},
"mappings": [
2022-06-24 22:35:23 +02:00
{
"if": "not:addr:substreet=yes",
"then": {
"en": "<div class='subtle'>Place (e.g. Castle Mews, West Business Park)</div><div>No extra place name is given or needed</div>"
},
"addExtraTags": [
"addr:substreet="
],
"hideInAnswer": true
},
{
"if": "not:addr:substreet=yes",
"then": {
"en": "No extra place name is given or needed"
},
2022-03-18 01:21:00 +01:00
"addExtraTags": [
"addr:substreet="
]
},
{
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"if": "addr:substreet=",
"then": {
2022-06-24 22:35:23 +02:00
"en": "<div class='subtle'>Place (e.g. Castle Mews, West Business Park)</div>"
},
"hideInAnswer": true
}
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
],
"condition": "addr:parentstreet="
},
{
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"id": "uk_addresses_placename_with_parent",
"question": {
2022-06-24 22:35:23 +02:00
"en": "What is the place or locality for this address?<div class='subtle'>This is additional information that appears before (or instead of) a street name in the address</div>"
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
},
"render": {
2022-06-24 22:35:23 +02:00
"en": "<div class='subtle'>Place (e.g. Castle Mews, West Business Park)</div><div><b>{addr:substreet}</b></div>"
},
"freeform": {
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"key": "addr:substreet",
2022-06-24 22:35:23 +02:00
"placeholder": "Place (e.g. The Cross, West Business Park, Castle Mews)",
2022-02-09 00:32:51 +01:00
"addExtraTags": [
"addr:street=",
"not:addr:substreet="
2022-02-09 00:32:51 +01:00
]
},
2022-01-18 00:09:01 +01:00
"mappings": [
2022-06-24 22:35:23 +02:00
{
"if": "not:addr:substreet=yes",
"then": {
"en": "<div class='subtle'>Place (e.g. Castle Mews, West Business Park)</div><div>No extra place name is given or needed</div>"
},
"addExtraTags": [
"addr:substreet="
],
"hideInAnswer": true
},
2022-01-18 00:09:01 +01:00
{
"if": "not:addr:substreet=yes",
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"then": {
"en": "No extra place name is given or needed"
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
},
2022-03-18 01:21:00 +01:00
"addExtraTags": [
"addr:substreet="
]
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
},
{
"if": "addr:substreet=",
"then": {
2022-06-24 22:35:23 +02:00
"en": "<div class='subtle'>Place (e.g. Castle Mews, West Business Park)</div>"
},
"hideInAnswer": true
2022-01-18 00:09:01 +01:00
}
],
"condition": {
2022-01-18 00:09:01 +01:00
"or": [
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
{
"and": [
"addr:parentstreet~*",
"addr:street="
]
},
{
"and": [
"addr:parentstreet~*",
"addr:street~*",
"addr:substreet~*"
]
}
2022-01-18 00:09:01 +01:00
]
}
},
{
2021-09-26 23:35:26 +02:00
"id": "uk_addresses_street",
2022-06-24 22:35:23 +02:00
"render": "<div class='subtle'>Street name</div><div><b>{addr:street}</b></div>",
"question": {
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"en": "What is the street name for this address?"
},
"freeform": {
2022-06-24 22:35:23 +02:00
"key": "addr:street",
"placeholder": "Other (please specify)"
},
"mappings": [
2022-06-24 22:35:23 +02:00
{
"if": "addr:street:={_closest_street:0:name}",
"then": "<div class='subtle'>Street name</div><div><b>{_closest_street:0:name}</b></div>",
"hideInAnswer": true
},
{
"if": "addr:street:={_closest_street:1:name}",
"then": "<div class='subtle'>Street name</div><div><b>{_closest_street:1:name}</b></div>",
"hideInAnswer": true
},
{
"if": "addr:street:={_closest_street:2:name}",
"then": "<div class='subtle'>Street name</div><div><b>{_closest_street:2:name}</b></div>",
"hideInAnswer": true
},
{
"if": "addr:street:={_closest_street:0:name}",
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"then": "<b>{_closest_street:0:name}</b>",
"hideInAnswer": "_closest_street:0:name="
},
{
"if": "addr:street:={_closest_street:1:name}",
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"then": "<b>{_closest_street:1:name}</b>",
"hideInAnswer": "_closest_street:1:name="
},
{
"if": "addr:street:={_closest_street:2:name}",
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"then": "<b>{_closest_street:2:name}</b>",
"hideInAnswer": "_closest_street:2:name="
}
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
],
"condition": {
2022-02-09 00:32:51 +01:00
"or": [
"addr:street~*",
"addr:substreet="
]
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
}
},
{
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"id": "uk_addresses_parentstreet",
2022-06-24 22:35:23 +02:00
"render": "<div class='subtle'>Parent street name</div><div><b>{addr:parentstreet}</b></div>",
"question": {
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"en": "What is the parent street name for this address?<div class='subtle'>This street name will appear after the place name or first street name in the address</div>"
},
"freeform": {
"key": "addr:parentstreet",
2022-06-24 22:35:23 +02:00
"placeholder": "Other (please specify)",
"addExtraTags": ["not:addr:parentstreet="]
},
"mappings": [
2022-06-24 22:35:23 +02:00
{
"if": "not:addr:parentstreet=yes",
"then": "<div class='subtle'>Parent street name</div><div>No parent street name is needed within this address</div>",
"addExtraTags": [
"addr:parentstreet="
],
"hideInAnswer": true
},
{
"if": "not:addr:parentstreet=yes",
"then": "No parent street name is needed within this address",
2022-03-18 01:21:00 +01:00
"addExtraTags": [
"addr:parentstreet="
]
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
},
2022-06-24 22:35:23 +02:00
{
"if": "addr:parentstreet:={_closest_street:0:name}",
"then": "<div class='subtle'>Parent street name</div><div><b>{_closest_street:0:name}</b></div>",
"hideInAnswer": true
},
{
"if": "addr:parentstreet:={_closest_street:1:name}",
"then": "<div class='subtle'>Parent street name</div><div><b>{_closest_street:1:name}</b></div>",
"hideInAnswer": true
},
{
"if": "addr:parentstreet:={_closest_street:2:name}",
"then": "<div class='subtle'>Parent street name</div><div><b>{_closest_street:2:name}</b></div>",
"hideInAnswer": true
},
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
{
"if": "addr:parentstreet:={_closest_street:0:name}",
"then": "<b>{_closest_street:0:name}</b>",
"hideInAnswer": "_closest_street:0:name="
},
{
"if": "addr:parentstreet:={_closest_street:1:name}",
"then": "<b>{_closest_street:1:name}</b>",
"hideInAnswer": "_closest_street:1:name="
},
{
"if": "addr:parentstreet:={_closest_street:2:name}",
"then": "<b>{_closest_street:2:name}</b>",
"hideInAnswer": "_closest_street:2:name="
},
{
"if": "addr:parentstreet=",
"then": {
"en": "<div class='subtle'>Parent street name</div>"
},
"hideInAnswer": true
}
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
],
"condition": {
2022-02-09 00:32:51 +01:00
"or": [
"addr:parentstreet~*",
"addr:substreet~*"
]
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
}
},
{
"id": "fixme",
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"render": "This address is complicated. We have recorded the following description: {fixme:addr}",
"question": {
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"en": "Please explain what the address is so that someone else can look at it"
},
"freeform": {
2022-06-24 22:35:23 +02:00
"key": "fixme:addr",
"placeholder": "Type here..."
},
"mappings": [
{
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"if": "fixme:addr=",
"then": "Complicated address? Please click the pencil and write some text to describe the situation. You can also add a photo below if that helps",
"hideInAnswer": true
}
]
},
{
"id": "address-sign-image",
"render": {
Update uk_addresses.json based on intial user feedback A range of changes based on initial user feedback. Includes, but not limited to: - Changes to many text (the result is that I have had to remove some old translations - best to wait for another month before adding translations as I cannot say that we won't change the English text again based on the wider sharing in February). - Switch from "ref:GB:inspire" tag to "urpn_count" (the inspire ref is a random number and mappers prefer not to add this to OSM if possible). - Get data from OSM based on a much wider range of addr:* tags, plus fixme:addr tag, - Switch fixme tag to fixme:addr - Update envelope style to remove border, add drop shadow and switch the stamp image. - Reorder tagRenderings to put the questions at top, then envelope, then editable table rows. - Add some hideinanswers so that the table rows show subtle style examples when a tag is not present (instead of "There is no X in the address" as this was deemed to be confusing -> it could be seem as a problem that needed fixing rather than a reflection of the reality). - Change addr:place to addr:substreet as per the Jan 8th conclusion on talk-gb mailing list. - Change text on image upload to try to make it a bit clearer that we don't want / need images for all addresses. - Add in logic for the addr:parentstreet tag and add it to the envelope. - Set it so that when addr:substreet (Place) is populated it moves the value in addr:street to addr:parentstreet. Note that this logic should not happen if addr:parentstreet is not null. I could not find a way to put IF style condition on the AddExtraTags so ended up having to duplicate the block (ids: "uk_addresses_placename" & "uk_addresses_placename_with_parent") - Set some conditions so certain tagrendering ids are hidden if certain OSM tags exist.
2022-02-06 19:04:40 +01:00
"en": "{image_carousel(image:address)}<br/>{image_upload(image:address, Too complex? Add a photo of the address)}"
}
}
],
"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",
"icon": {
"render": "./assets/layers/address/housenumber_blank.svg",
"mappings": [
{
"if": {
"or": [
{
"and": [
"addr:housenumber=",
"nohousenumber!=yes"
]
},
"addr:street="
]
},
"then": "./assets/themes/uk_addresses/housenumber_unknown.svg"
}
]
},
"location": [
"point",
"centroid"
]
},
{
"color": {
"render": "#00f",
"mappings": [
{
"if": {
"or": [
{
"and": [
"addr:housenumber=",
"nohousenumber!=yes"
]
},
"addr:street="
]
},
"then": "#ff0"
}
]
},
"width": {
2022-01-18 00:09:01 +01:00
"render": "3"
}
}
]
},
2021-12-13 20:59:38 +01:00
"named_streets"
2021-10-28 00:13:18 +02:00
],
"enableShareScreen": false,
"enableMoreQuests": false
2022-06-24 22:35:23 +02:00
}