Skip to content

Commit

Permalink
Final for OpenHistoricalMap/issues#814, a clarification of one query'…
Browse files Browse the repository at this point in the history
…s purpose.
  • Loading branch information
erictheise committed Jun 14, 2024
1 parent b7615a5 commit 4dbf2ec
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions js/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ out geom;`
out geom;`
},
"Chronology relations": {
"Chronology relations with boundary geometries": {
overpass: `
/*
* type=chronology relations can be tricky to
Expand Down Expand Up @@ -486,9 +486,9 @@ settings.define_upgrade_callback(27, (s) => {
delete s.saves["List Areas"];
}
// add Chronology relations example
s.saves["Chronology relations"] = {
s.saves["Chronology relations with boundary geometries"] = {
type: "example",
overpass: examples["Chronology relations"]
overpass: examples["Chronology relations with boundary geometries"]
};
s.save();
// add Incomplete chronologies example
Expand Down Expand Up @@ -581,7 +581,7 @@ settings.define_upgrade_callback(31, (s) => {
case "Contemporaneous surrounding areas":
case "Changes on this day in history":
case "Where am I?":
case "Chronology relations":
case "Chronology relations with boundary geometries":
case "Incomplete chronologies":
save.overpass = examples[name].overpass;
break;
Expand All @@ -595,8 +595,8 @@ settings.define_upgrade_callback(31, (s) => {

settings.define_upgrade_callback(32, (s) => {
// fix typo in query definition
s.saves["Chronology relations"].overpass = s.saves[
"Chronology relations"
s.saves["Chronology relations with boundary geometries"].overpass = s.saves[
"Chronology relations with boundary geometries"
].overpass.replace("<;", ">;");
s.save();
});
Expand Down

0 comments on commit 4dbf2ec

Please sign in to comment.