<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Kirk,</p>
    <p>the download link doesn't work.</p>
    <p>GDAL 3.3 will use geotiff 1.1 conventions by default when a
      compound CRS is used. You may try adding -co GEOTIFF_VERSION=1.0
      to force GeoTIFF 1.0.<br>
    </p>
    <p>When reading a GeoTIFF 1.1 file, GDAL will report the
      compoundCRS. For GeoTIFF 1.0 files, you need to specify --config <code
        class="decl_configoption docutils literal notranslate"><span
          class="pre">GTIFF_REPORT_COMPD_CS YES (see
          <a class="moz-txt-link-freetext" href="https://gdal.org/drivers/raster/gtiff.html#configuration-options">https://gdal.org/drivers/raster/gtiff.html#configuration-options</a>)</span></code></p>
    <p>Autocad users should ideally report that to their vendor so they
      add support for GeoTIFF 1.1 (or maybe the issue is not much the
      change of the version number, but that we stripped down the
      formulation of geokeys to the minimum to avoid specifying things
      twice and the risk of contradiction)<br>
    </p>
    <p>Even<br>
      <code class="decl_configoption docutils literal notranslate"><span
          class="pre"></span></code><code class="decl_configoption
        docutils literal notranslate"><span class="pre"></span></code></p>
    <div class="moz-cite-prefix">Le 07/10/2021 à 21:41, Kirk Waters -
      NOAA Federal via gdal-dev a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CADm=QrRY9UmqVHegp_sXWe=bqT0Xt9gyOg+rsPp-p5N8NkRztg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Hi all,</div>
        I'm finding a change in georeferencing between GDAL 2.4 and 3.x
        that results in AutoCAD not being able to figure out where on
        earth a geotiff should be. I don't have AutoCAD, so I'm
        reliant on what my downstream users are telling me. These are
        elevation Tiffs, so they do have a vertical component to the SRS
        and that may be where the difference lies. I know it isn't up to
        GDAL to solve AutoCAD's lack of standards adoption, but I'm
        wondering if anyone has come across this and if there's a way to
        force the outputs that AutoCAD will read.
        <div><br>
        </div>
        <div>Two small files are included in a zip file at <a
            href="ftp://ftp.coast.noaa.gov/tmp/kwaters/autocad_issues.zip"
            moz-do-not-send="true">ftp://ftp.coast.noaa.gov/tmp/kwaters/autocad_issues.zip</a>.
          One (Job640647_ches_coned.tif, made with GDAL 2.4) has
          georeferencing that works in AutoCAD, the other was made with
          GDAL 3.3.1 and has georeferencing that fails. Both were made
          with gdal_translate -a_srs EPSG:3582+6360 with the difference
          being the version of GDAL. They are not the exact same
          location on the ground.</div>
        <div><br>
        </div>
        <div>If I look at the files with listgeo, the older version has
          more tags and includes the horizontal and vertical units. With
          gdalsrsinfo, the newer one shows the more complete COMPOUNDCRS
          that includes the vertical component.</div>
        <div><br>
        </div>
        <div>I'm hoping I don't have to go back to GDAL 2.4 for AutoCAD
          users. If anyone has come across a solution before, I'd love
          to hear it.</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div><br clear="all">
          <div>
            <div dir="ltr" class="gmail_signature"
              data-smartmail="gmail_signature">
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div dir="ltr">
                          <div dir="ltr">
                            <div dir="ltr">
                              <div><font face="arial, helvetica,
                                  sans-serif">Kirk Waters, PhD         
                                             | NOAA Office for Coastal
                                  Management<br>
                                </font></div>
                              <div><font face="arial, helvetica,
                                  sans-serif">Applied Sciences Program  
                                     | 2234 South Hobson Ave<br>
                                                                       
                                             | Charleston, SC 29405</font></div>
                              <div><font face="arial, helvetica,
                                  sans-serif"> </font></div>
                              <div><br>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></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>