<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">Le 02/08/2022 à 13:31, Dalia
Prizginiene - LMI a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:PA4PR10MB5708382594F06DBFE23266229F9D9@PA4PR10MB5708.EURPRD10.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@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;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}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]-->
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal">We have a local online transformation tool
and Proj is used for transformation.<o:p></o:p></p>
<p class="MsoNormal">I want to upgrade the Proj but I need to
have GTG format for my grids.<o:p></o:p></p>
<p class="MsoNormal">I am trying to use
vertoffset_grid_to_gtiff.py from grid_tools<o:p></o:p></p>
<p class="MsoNormal">I do not have EPSG code for
VERTICAL_TO_VERTICAL transformation, I do not think that it is
possible to get (deformation grid in horizontal is
ISN93_ISN2016.gsb (GTG exist) and vertical ISN93_ISN2016.gtx )<o:p></o:p></p>
<p class="MsoNormal">I am using the line:<o:p></o:p></p>
<p class="MsoNormal">python vertoffset_grid_to_gtiff.py --type
VERTICAL_TO_VERTICAL --area-of-use "Iceland" --copyright
"National Land Survey of Iceland. Creative Commons Attribution
4.0
<a href="https://creativecommons.org/licenses/by/4.0/"
moz-do-not-send="true" class="moz-txt-link-freetext">https://creativecommons.org/licenses/by/4.0/</a>"
ISN93_ISN2016.gtx ISN93_ISN2016.tif<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">but I am getting the SyntexError: invalid
syntax (there is no indication which part is wrong)</p>
</div>
</blockquote>
<p>I've tried to reproduce your command with another .gtx file and I
don't get a SyntaxError but</p>
<p>vertoffset_grid_to_gtiff.py: error: the following arguments are
required: --source-crs, --target-crs<br>
</p>
<p>which is appropriate.</p>
<p>(I assume you use python3, not python2)<br>
</p>
<blockquote type="cite"
cite="mid:PA4PR10MB5708382594F06DBFE23266229F9D9@PA4PR10MB5708.EURPRD10.PROD.OUTLOOK.COM">
<div class="WordSection1">
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Could you advice on this matter?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best regards<o:p></o:p></p>
<p class="MsoNormal">Dalia<o:p></o:p></p>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
PROJ mailing list
<a class="moz-txt-link-abbreviated" href="mailto:PROJ@lists.osgeo.org">PROJ@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/proj">https://lists.osgeo.org/mailman/listinfo/proj</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>