<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I should also mention that you can probably workaround the issue
      by adding the -novshift switch to your gdalwarp command line:
      <a class="moz-txt-link-freetext" href="https://gdal.org/programs/gdalwarp.html#cmdoption-gdalwarp-novshift">https://gdal.org/programs/gdalwarp.html#cmdoption-gdalwarp-novshift</a><br>
    </p>
    <div class="moz-cite-prefix">Le 09/01/2023 à 20:10, Even Rouault a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:67afd496-a0ed-1d31-c0ec-fb73d368ad9a@spatialys.com">
      <p>Hi,</p>
      <p>This is indeed <a class="moz-txt-link-freetext"
          href="https://github.com/OSGeo/gdal/issues/6839"
          moz-do-not-send="true">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">
        <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>
            <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>Kirk Waters, PhD </div>
                            <div>NOAA Office for Coastal Management<br>
                            </div>
                            <div>Applied Sciences Program      </div>
                            <div>‪Phone: 843-284-6962‬ (New as of 2022) 
                                
                              <div><a
                                  href="http://coast.noaa.gov/digitalcoast"
                                  target="_blank" moz-do-not-send="true">coast.noaa.gov/digitalcoast</a></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 moz-txt-link-freetext" href="mailto:gdal-dev@lists.osgeo.org" moz-do-not-send="true">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" moz-do-not-send="true">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" moz-do-not-send="true">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
      <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>