Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to iD v2.28.1 #4551

Merged
merged 1 commit into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions vendor/assets/iD/iD.js
Original file line number Diff line number Diff line change
Expand Up @@ -22289,7 +22289,7 @@
// package.json
var package_default = {
name: "iD",
version: "2.28.0",
version: "2.28.1",
description: "A friendly editor for OpenStreetMap",
main: "dist/iD.min.js",
repository: "github:openstreetmap/iD",
Expand Down Expand Up @@ -30102,8 +30102,6 @@
if (_this.tags[k2] || !tags[k2]) {
tags[k2] = "yes";
}
} else if (addTags[k2] === "") {
delete tags[k2];
} else {
tags[k2] = addTags[k2];
}
Expand Down Expand Up @@ -78303,13 +78301,13 @@
Object.values(vals[0].presets).forEach((preset) => preset.suggestion = true);
Object.values(vals[0].presets).forEach((preset) => {
if (preset.tags["brand:wikidata"]) {
preset.addTags["brand:wikipedia"] = "";
preset.removeTags = { "brand:wikipedia": "*", ...preset.removeTags || preset.addTags || preset.tags };
}
if (preset.tags["operator:wikidata"]) {
preset.addTags["operator:wikipedia"] = "";
preset.removeTags = { "operator:wikipedia": "*", ...preset.removeTags || preset.addTags || preset.tags };
}
if (preset.tags["network:wikidata"]) {
preset.addTags["network:wikipedia"] = "";
preset.removeTags = { "network:wikipedia": "*", ...preset.removeTags || preset.addTags || preset.tags };
}
});
_mainPresetIndex.merge({
Expand Down
2 changes: 1 addition & 1 deletion vendor/assets/iD/iD/data/address_formats.min.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"format":[["housenumber","street+place"],["city","postcode"]]},{"countryCodes":["au"],"format":[["unit","housenumber","street"],["suburb","state","postcode"]]},{"countryCodes":["id"],"format":[["unit","housename"],["street","housenumber","neighbourhood"],["subdistrict","district"],["city","province","postcode"]]},{"countryCodes":["gb"],"format":[["housename"],["housenumber","street+place"],["city","postcode"]]},{"countryCodes":["ie"],"format":[["housename"],["housenumber","street+place"],["city"],["postcode"]]},{"countryCodes":["at","bg","ch","de","si","pl","lt"],"format":[["street+place","housenumber"],["postcode","city"]]},{"countryCodes":["ad","ba","be","dk","es","gr","hr","it","pt","se","sm","va"],"format":[["street+place","housenumber","unit"],["postcode","city"]]},{"countryCodes":["fi","is","li","nl","no"],"format":[["street","housenumber","unit"],["postcode","city"]]},{"countryCodes":["fr","lu"],"format":[["housenumber","street+place"],["postcode","city"]]},{"countryCodes":["mo"],"format":[["housenumber","street"],["postcode","city"]]},{"countryCodes":["br"],"format":[["street+place"],["housenumber","suburb"],["city","postcode"]]},{"countryCodes":["vn"],"format":[["housenumber","street"],["subdistrict"],["district"],["city"],["province","postcode"]]},{"countryCodes":["ca"],"format":[["housenumber","street","unit"],["city","province","postcode"]]},{"countryCodes":["us"],"format":[["housenumber","street","unit"],["city","state","postcode"]]},{"countryCodes":["tw"],"format":[["postcode","city","district"],["street+place"],["housenumber","floor","unit"]]},{"countryCodes":["jp"],"format":[["postcode","province","county"],["city","suburb"],["quarter","neighbourhood"],["block_number","housenumber"]],"dropdowns":["postcode","province","county","city","suburb","quarter","neighbourhood","block_number"],"widths":{"postcode":0.3,"province":0.35,"county":0.35,"city":0.65,"suburb":0.35,"quarter":0.5,"neighbourhood":0.5,"block_number":0.5,"housenumber":0.5}},{"countryCodes":["kr"],"format":[["province","city","district"],["street","housenumber","unit"],["postcode"]]},{"countryCodes":["tr"],"format":[["neighbourhood"],["street+place","housenumber"],["postcode","district","city"]]},{"countryCodes":["ua"],"format":[["housenumber","postcode"],["street+place"]]},{"countryCodes":["cn"],"format":[["postcode","province"],["city","district"],["street","housenumber"]],"widths":{"postcode":0.3,"province":0.7,"city":0.5,"district":0.5,"street":0.7,"housenumber":0.3}},{"countryCodes":["bo"],"format":[["street","housenumber"],["neighbourhood","city"]],"widths":{"street":0.7,"housenumber":0.3,"neighbourhood":0.5,"city":0.5}},{"countryCodes":["pe"],"format":[["street","housenumber"],["neighbourhood"],["city","state","postcode"]],"dropdowns":["street","neighbourhood","city","state","postcode"],"widths":{"street":0.7,"housenumber":0.3,"city":0.4,"state":0.4,"postcode":0.2}},{"countryCodes":["mx"],"format":[["street","housenumber"],["neighbourhood"],["postcode","city","state"]]},{"countryCodes":["lv"],"format":[["street","housenumber"],["housename","subdistrict"],["district","city","postcode"]],"dropdowns":["street","city","subdistrict","district","postcode"],"widths":{"street":0.7,"housenumber":0.3,"housename":0.4,"subdistrict":0.6,"district":0.4,"city":0.4,"postcode":0.2}},{"countryCodes":["in"],"format":[["housenumber","street"],["city","postcode"],["district"]]},{"countryCodes":["ru"],"format":[["housenumber","street+place"],["city","postcode"]]},{"countryCodes":["cz","sk"],"format":[["street","housenumber"],["postcode","city"]]},{"countryCodes":["ph"],"format":[["unit","housename","housenumber","street"],["neighbourhood","district","city"],["postcode","province"]]},{"countryCodes":["hu"],"format":[["postcode","city"],["street","housenumber"]]}]
[{"format":[["housenumber","street+place"],["city","postcode"]]},{"countryCodes":["au"],"format":[["unit","housenumber","street"],["suburb","state","postcode"]]},{"countryCodes":["id"],"format":[["unit","housename"],["street","housenumber","neighbourhood"],["subdistrict","district"],["city","province","postcode"]]},{"countryCodes":["gb"],"format":[["housename"],["housenumber","street+place"],["city","postcode"]]},{"countryCodes":["ie"],"format":[["housename"],["housenumber","street+place"],["city"],["postcode"]]},{"countryCodes":["at","bg","ch","de","si","pl","lt"],"format":[["street+place","housenumber"],["postcode","city"]]},{"countryCodes":["ad","ba","be","dk","es","gr","hr","it","pt","se","sm","va"],"format":[["street+place","housenumber","unit"],["postcode","city"]]},{"countryCodes":["fi","is","li","nl","no"],"format":[["street","housenumber","unit"],["postcode","city"]]},{"countryCodes":["fr","lu"],"format":[["housenumber","street+place"],["postcode","city"]]},{"countryCodes":["mo"],"format":[["housenumber","street"],["postcode","city"]]},{"countryCodes":["nz"],"format":[["housenumber","street"],["suburb"],["city","postcode"]]},{"countryCodes":["br"],"format":[["street+place"],["housenumber","suburb"],["city","postcode"]]},{"countryCodes":["vn"],"format":[["housenumber","street"],["subdistrict"],["district"],["city"],["province","postcode"]]},{"countryCodes":["ca"],"format":[["housenumber","street","unit"],["city","province","postcode"]]},{"countryCodes":["us"],"format":[["housenumber","street","unit"],["city","state","postcode"]]},{"countryCodes":["tw"],"format":[["postcode","city","district"],["street+place"],["housenumber","floor","unit"]]},{"countryCodes":["jp"],"format":[["postcode","province","county"],["city","suburb"],["quarter","neighbourhood"],["block_number","housenumber"]],"dropdowns":["postcode","province","county","city","suburb","quarter","neighbourhood","block_number"],"widths":{"postcode":0.3,"province":0.35,"county":0.35,"city":0.65,"suburb":0.35,"quarter":0.5,"neighbourhood":0.5,"block_number":0.5,"housenumber":0.5}},{"countryCodes":["kr"],"format":[["province","city","district"],["street","housenumber","unit"],["postcode"]]},{"countryCodes":["tr"],"format":[["neighbourhood"],["street+place","housenumber"],["postcode","district","city"]]},{"countryCodes":["ua"],"format":[["housenumber","postcode"],["street+place"]]},{"countryCodes":["cn"],"format":[["postcode","province"],["city","district"],["street","housenumber"]],"widths":{"postcode":0.3,"province":0.7,"city":0.5,"district":0.5,"street":0.7,"housenumber":0.3}},{"countryCodes":["bo"],"format":[["street","housenumber"],["neighbourhood","city"]],"widths":{"street":0.7,"housenumber":0.3,"neighbourhood":0.5,"city":0.5}},{"countryCodes":["pe"],"format":[["street","housenumber"],["neighbourhood"],["city","state","postcode"]],"dropdowns":["street","neighbourhood","city","state","postcode"],"widths":{"street":0.7,"housenumber":0.3,"city":0.4,"state":0.4,"postcode":0.2}},{"countryCodes":["mx"],"format":[["street","housenumber"],["neighbourhood"],["postcode","city","state"]]},{"countryCodes":["lv"],"format":[["street","housenumber"],["housename","subdistrict"],["district","city","postcode"]],"dropdowns":["street","city","subdistrict","district","postcode"],"widths":{"street":0.7,"housenumber":0.3,"housename":0.4,"subdistrict":0.6,"district":0.4,"city":0.4,"postcode":0.2}},{"countryCodes":["in"],"format":[["housenumber","street"],["city","postcode"],["district"]]},{"countryCodes":["ru"],"format":[["housenumber","street+place"],["city","postcode"]]},{"countryCodes":["cz","sk"],"format":[["street","housenumber"],["postcode","city"]]},{"countryCodes":["ph"],"format":[["unit","housename","housenumber","street"],["neighbourhood","district","city"],["postcode","province"]]},{"countryCodes":["hu"],"format":[["postcode","city"],["street","housenumber"]]}]