diff --git a/handbook/computing/newkataster.html b/handbook/computing/newkataster.html index 415a73495..d3a65c4f4 100644 --- a/handbook/computing/newkataster.html +++ b/handbook/computing/newkataster.html @@ -1,4 +1,4 @@ -
more here..
more here.. +
more here.. Need to edit this neatly.. taken from:loser:/kataster-renumbering-README.txt +
+README for renumbering caves using new kataster numbers + +e.g. 2023-ASH-15 => 1623-303 + + +NB We are moving the survex files to new directories, but (not yet) moving the cave description and entrance description files. + +expoweb/cave_data/1623-2023-ASH-15.html +1. Edit the cave file expoweb/cave_data/1623-2023-ASH-15.html and change to1623-303 +2. Add the new kataster number:303 +3. Leave this untouched:2023-ASH-15 +4. Don't touch the1623-2023-ASH-15 field for all the entrances + +In the loser repo, rename the folder +loser/2023-ASH-15/ +to +loser/303/ + +and then inside that folder rename the file +2023-ASH-15.svx +to +303.svx + +And then edit any survex files which refer to that survex data ! (more explanation needed) + +Change *fix points in loser/fixedpts/gps/gps23.svx from +*fix 1623.p2023-ASH-15 ... +to +*fix 1623.p303... + +This may well not work due to the crapness of the "system" of recording fixed points. Much +time can now be wasted tracking down how the cave is located, furtling around in the innards +of files sprinkled all over the database. Remember that 1626 caves are stored in a completely +different way to 1623 caves. + +Now go back and edit all the entrances of the cave to refer to this new *fix point +in the entrance editing page on +/1623/303/303.html +Select each entrance and look at the field +"Tag station: Survex station id, e.g. 1623.p2023-aa-01: " +and change +1623.p2023-ASH-15 +to +1623.p303 + +If there is more than one entrance, this would be +1623.p2023-ASH-15a +to +1623.p303a + +for a, b. c etc. + +Find all the wallets for this cave +/cave/scans/1623-2023-ASH-15 +and in each of them use the wallet edit page to correct the svx file link from +['caves-1623/2023-ASH-15/2023-ASH-15.svx'] +to +['caves-1623/303/303.svx'] +
Cave alias names can be edited by any logged-in user using an online form: /cave_data/cavealiases.txt -
However, if you make a formatting mistake, all of troggle will break instantly.
+
However, if you make a formatting mistake, all of troggle will break instantly.
+
+
When a lot are being done, as Becka did in 2024 when she got the new kataster numbers 1623-303 to 1623-316, it is a good idea to cross check (or to edit with a macro) the output from git, e.g.
# rename caves-1623/{2023-ASH-15/2023-ASH-15.svx => 303/303.svx} (94%)