<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-NZ link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoPlainText>Martin<o:p></o:p></p><p class=MsoPlainText>Something bad happened between 6.0.0 and 6.0.5 that we only just noticed today (because for day to day work we only compile small sections of the cave).<o:p></o:p></p><p class=MsoPlainText>Therion 6.05 has moved some of our fixed stations about 100 m north (those specified with cs lat-long and cs EPSG:2193 NZTM) and others (specified with cs EPSG:27200 NZMG) stayed in their correct locations, severely distorting our cave. No errors reported, just outputs with large loop errors and distorted cave.<o:p></o:p></p><p class=MsoPlainText>Interestingly, it is the old archaic format NZMG that performs correctly and the modern and lat-long are relocated.<o:p></o:p></p><p class=MsoPlainText>The image below is located with NZMG, as is the cave entrance in the centre. The cave entrances left and right are located with either lat-long or NZTM.<o:p></o:p></p><p class=MsoPlainText><img width=897 height=243 style='width:9.3472in;height:2.5347in' id="Picture_x0020_1" src="cid:image003.png@01D858E9.101FBF90"><o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Before reporting this I thought I'd better at least try 6.0.6+3bc6556<o:p></o:p></p><p class=MsoPlainText>I get a crash right away as the therion.log transcript below indicates.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText style='margin-left:36.0pt'>therion 6.0.6+3bc6556 (2022-04-21)<o:p></o:p></p><p class=MsoPlainText style='margin-left:36.0pt'> - using Proj 9.0.0, compiled against 9.0.0<o:p></o:p></p><p class=MsoPlainText style='margin-left:36.0pt'>initialization file: C:\Program Files (x86)\Therion/therion.ini<o:p></o:p></p><p class=MsoPlainText style='margin-left:36.0pt'>reading ... done<o:p></o:p></p><p class=MsoPlainText style='margin-left:36.0pt'>configuration file: thconfig-GLMESM_System5000Map.thc<o:p></o:p></p><p class=MsoPlainText style='margin-left:36.0pt'>reading ... done<o:p></o:p></p><p class=MsoPlainText style='margin-left:36.0pt'>reading source files ... downloading the grid https://cdn.proj.org/nz_linz_nzgd2kgrid0005.tif... <o:p></o:p></p><p class=MsoPlainText style='margin-left:36.0pt'>C:\Program Files (x86)\Therion\therion.exe: error -- couldn't download the grid<o:p></o:p></p><p class=MsoPlainText style='margin-left:36.0pt'>writing xtherion file ... done<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Should I be using one of the new cs-trans or proj-* commands or is there something else?<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Regards<o:p></o:p></p><p class=MsoPlainText>Bruce<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><span lang=EN-US>-----Original Message-----<br>From: Therion <therion-bounces@speleo.sk> On Behalf Of Martin Budaj<br>Sent: Friday, 22 April 2022 07:32<br>To: List for Therion users <therion@speleo.sk><br>Subject: [Therion] new default settings</span></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Hi all,<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Therion has been supporting the advanced features of the Proj library for some time now. (Proj's purpose is to do transformations between coordinate systems.) This functionality was disabled by default and you could enable it using 'proj-auto' and 'proj-missing-grid' options in the initialization file.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>'proj-auto' lets Proj choose the best transformation and you can set 'proj-missing-grid' to download a grid file (see<o:p></o:p></p><p class=MsoPlainText><a href="https://proj.org/usage/transformation.html#grid-based-datum-adjustments"><span style='color:windowtext;text-decoration:none'>https://proj.org/usage/transformation.html#grid-based-datum-adjustments</span></a>)<o:p></o:p></p><p class=MsoPlainText>if the transformation needs it; see the therion book for details. The log file lists all the transformations chosen and used at the end.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>The latest commit (3bc6556) enables this "use the best transformation and download the grids if needed" functionality. We know that automatic downloads are a sensitive issue, but in this case we can trust the Proj library not to do any harm<o:p></o:p></p><p class=MsoPlainText>(<a href="https://proj.org/usage/network.html"><span style='color:windowtext;text-decoration:none'>https://proj.org/usage/network.html</span></a>) and the user experience is much better.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Could you check if this version works well with your data sets? The windows installer is available here:<o:p></o:p></p><p class=MsoPlainText><a href="https://github.com/therion/therion/actions/runs/2203811478"><span style='color:windowtext;text-decoration:none'>https://github.com/therion/therion/actions/runs/2203811478</span></a> (use the<o:p></o:p></p><p class=MsoPlainText>msys2 version which uses up-to-date Proj library; you need to be logged in to github to download it).<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>M.<o:p></o:p></p><p class=MsoPlainText>_______________________________________________<o:p></o:p></p><p class=MsoPlainText>Therion mailing list<o:p></o:p></p><p class=MsoPlainText><a href="mailto:Therion@speleo.sk"><span style='color:windowtext;text-decoration:none'>Therion@speleo.sk</span></a><o:p></o:p></p><p class=MsoPlainText><a href="https://mailman.speleo.sk/listinfo/therion"><span style='color:windowtext;text-decoration:none'>https://mailman.speleo.sk/listinfo/therion</span></a><o:p></o:p></p></div></body></html>