{% extends "base.html" %} {% block title %}Cave re-labelling from unofficial identifier to official Kataster number {% endblock %} {% block content %}
{% if cave.kataster_number %} This cave has already been "katastered". area:{{cave.areacode |safe}} number:{{cave.kataster_number |safe}} {% else %} This cave needs to be "katastered". If you have the new number issued by the Austrians, we can do it now.
{% endif %}{% for e in entrance_data %} {{e|safe}} {% endfor %}
{% for f in loser_data %} {{f|safe}} {% endfor %}
Without fully parsing the entire survex *include tree (which this code does not do), it is impossible to find the *fix declaration file from the 'station' fields in the entrance_data files. However in area 1623 we conventionally store the *fix in a "known" place. This does not work for area 1626.
This will cause lost of errors until the cave "{{cave.areacode |safe}}-{{knum}}" has been created by a full database reset.
Ideally you do this renumbering on a standalone instance of troggle running on a ⚒ troggle development laptop and you don't push any of the git commits to the server until you have got all the niggles out of the conversion, i.e. the databaseReset runs locally without any warnings or errors introduced by your renaming and 'cavern' runs without any new survex errors. {% endblock %}