[Therion] Converter for Compass to Therion

Roger Schuster roger at r-schuster.de
Sun Dec 20 16:56:42 CET 2020


Hi Martin,

The "-" is the non alphanumeric character. I tried with some sample data and it's not clear to me which characters are ok and which aren't. While Therion allows for example 2/3 as a survey name it doesn't accept 2.3 and others. Because I can't test all possible characters I decided to emit a warning for any character that is no number and no letter. The converter will continue processing though.

If somebody gives me a list of accepted characters I can try to adapt the code.

Regards,

Roger

20.12.2020 16:04:08 Martin Sluka via Therion <therion at speleo.sk>:

> Super, it works!
> 
> But there are many warning as this:
> 
> WARNING: Survey name RG1-38 contains non-alphanumeric characters. This may cause problems in Therion.
> pro 20, 2020 3:57:37 ODP. de.r_schuster.writer.TherionWriter writeSurvey
> 
> but as I checked it there is no non-alphanumeric character there.
> 
> I may not send you those data, because they are not my.
> 
> Martin
> 
>> 20. 12. 2020 v 15:39, Benedikt Hallinger <beni at hallinger.org>:
>> 
>> Cool!
>> I added it to the complimentary cave softwares wiki page: https://therion.speleo.sk/wiki/contrib:complimentarycaveapps
>> 
>> Am 2020-12-20 11:44, schrieb Roger Schuster:
>>> Hello cavers,
>>> for those of you who either use the "Compass" cave surveying package
>>> together with Therion or need to convert legacy data from Compass
>>> there is something to try out. I wrote a little converter that
>>> transfers Compass raw data (*.dat) to Therion (*.th). You can find a
>>> description and the source code at
>>> <https://github.com/rogerschuster/compass2therion>
>>> and a compiled package for download at
>>> <https://github.com/rogerschuster/compass2therion/releases/download/v1.0.0/compass2therion-1.0.0-jar-with-dependencies.jar>
>>> Please give it a try, I hope it is useful for some of you!
>>> Best regards,
>>> Roger
>>> _______________________________________________
>>> Therion mailing list
>>> Therion at speleo.sk
>>> https://mailman.speleo.sk/listinfo/therion
>> _______________________________________________
>> Therion mailing list
>> Therion at speleo.sk
>> https://mailman.speleo.sk/listinfo/therion
> 
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion


More information about the Therion mailing list