[Therion] Suggestion to add new flags for survey shots?
Xavier Robert
xavier.robert at univ-grenoble-alpes.fr
Tue Sep 17 14:49:04 CEST 2024
Dear all,
Some weeks ago, I commented the issue « https://github.com/therion/therion/issues/571 <https://github.com/therion/therion/issues/571> ( Suggestion to add new flags for survey shots) » on Github.
So far, I have not seen any answers, so I forward it there in case of someone is interested in and/or is able to update Therion with such a new feature:
I do not know if this is easy to code or not, but I completely agree with cctrunz, it would be very usefull also for me to add new flags for survey shots. I am interesting in "artificial", but also in something like "active meander"/"active gallery", "active phreatic gallery", "fossil phreatic gallery", etc.
One suggestion could be that somewhere (in centerline blocks? In a config file (better?)?), the Therion user could define its proper shot flags names with a syntax like:
def_flags "MyNewFlag" "MNF" where "MyNewFlag" is the name of the flag use in the command flags, and MNF correspond to the 3-letters string associated to this flag in the sql database (and in the ESRI/shp export?).
That means that some cases have to be considered:
• if the new flag definition exists and is used in centerline(s) --> update the database accordingly
• if the new flag definition does not exist and a new flag is used in a centerline: 1) raise a warning during the compilation indicating the presence of an undefined flag, and 2) update the shot database by adding a flag_name by default as "udf" (undefined?).
I will be very interested in that feature for large and long-lived network analysis purposes (i.e. extract only a certain type of conduit for instance). I am sure it will strongly extend the possibilities of Therion survey database post-analysis.
Thanks a lot,
Cheers
Xavier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20240917/0e3e3f90/attachment.htm>
More information about the Therion
mailing list