<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Filed as <a class="moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/issues/7484">https://github.com/OSGeo/gdal/issues/7484</a> : At first
sight the issue is that file uses TIFFTAG_RESOLUTIONUNIT=3
(pixels/cm), whereas the current code only deals with
TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)</p>
<div class="moz-cite-prefix">Le 20/03/2023 à 22:09, Rahkonen Jukka a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:AM0PR09MB321995E8FA75E51DF202939EFD809@AM0PR09MB3219.eurprd09.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:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}span.Shkpostityyli17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}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">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">I noticed this question
in gis.stackexchange
<a
href="https://gis.stackexchange.com/questions/455609/warping-arcgis-9-2-georeferenced-tiffs-using-gdal-warp"
moz-do-not-send="true" class="moz-txt-link-freetext">
https://gis.stackexchange.com/questions/455609/warping-arcgis-9-2-georeferenced-tiffs-using-gdal-warp</a>.
It seems that GDAL cannot interpret right the ground control
points which are stored into the aux.xml file. I can see
that the support for GeodataXform has been improved a few
times <a
href="https://github.com/OSGeo/gdal/search?q=geodataxform&type=commits"
moz-do-not-send="true">
https://github.com/OSGeo/gdal/search?q=geodataxform&type=commits</a>
but maybe this dataset (there is a link for downloading test
data) has some previously untested sort of aux.xml. The
GeoTIFF has wrong GCPs with small pixel values like
(16.5886813769484,11.2421187314794) but I made also a test
with “--config GDAL_GEOREF_SOURCES PAM” and even by creating
a cleaned baseline tiff + PAM file but the GCPs looked still
wrong.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">-Jukka Rahkonen-<o:p></o:p></span></p>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</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>