<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>This is indeed <a class="moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/issues/6839">https://github.com/OSGeo/gdal/issues/6839</a> which
has been fixed in GDAL 3.6.1.</p>
<p>Even<br>
</p>
<div class="moz-cite-prefix">Le 09/01/2023 à 19:48, Kirk Waters -
NOAA Federal via gdal-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CADm=QrTxxOaV6dnRMJPp-TYJ9_wVYvHah-JMtKRaqSJeyeRh3g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>I think I've gotten this solved for my purposes now, but
I'm reporting it here in case anyone else might run across
issues using gdal in a conda environment. If I make a conda
environment containing:</div>
<div>python</div>
<div>pdal=2.4.2</div>
<div>gdal</div>
<div>(which ends up with gdal version 3.5.1, pdal version
2.4.2), I get a weird behavior where</div>
<div>gdalwarp input.tif output.tif </div>
<div>will change the values in the raster as if it is converting
from feet to meters. My example raster where I see this has
georeferencing of EPSG:3521+6360 and is a 32-bit floating
point DEM. My use case would have more arguments to gdalwarp,
but I simplified to the minimum that showed the problem.</div>
<div><br>
</div>
<div>If I change the environment package list for conda to not
specify the pdal version, I'll get pdal version 2.4.3 and gdal
version 3.6.2 and the raster will convert correctly. </div>
<div><br>
</div>
<div>I did note that in a setup where it converts the values, I
see this warning:</div>
<div>Warning 1: Unknown units=US survey foot</div>
<div><br clear="all">
<div>
<div dir="ltr" data-smartmail="gmail_signature">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><font face="arial, helvetica, sans-serif">Kirk
Waters, PhD </font></div>
<div><font face="arial, helvetica, sans-serif">NOAA
Office for Coastal Management<br>
</font></div>
<div><font face="arial, helvetica, sans-serif">Applied
Sciences Program </font></div>
<div>Phone: 843-284-6962 (New as of 2022) <font
face="arial, helvetica, sans-serif"> </font>
<div><font face="arial, helvetica,
sans-serif"><a
href="http://coast.noaa.gov/digitalcoast"
target="_blank" moz-do-not-send="true">coast.noaa.gov/digitalcoast</a></font></div>
</div>
<div><br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</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>