<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <br>
    <blockquote type="cite"
      cite="mid:4D532919-B2ED-4AEA-BDA8-6DF25A77F151@flighttactics.com">
      <pre class="moz-quote-pre" wrap="">
Sorry for the bother again - I noticed that when I use gdalinfo to query a document (in this case, a GeoPDF) the geotransform coordinates are slightly different than when I can GetGeoTransform using the API on the same document with GDALOpen + GDALGetGeoTransform.</pre>
    </blockquote>
    <p>Presumably due to a difference in number of significant digits
      displayed in both cases.</p>
    <blockquote type="cite"
      cite="mid:4D532919-B2ED-4AEA-BDA8-6DF25A77F151@flighttactics.com">
      <pre class="moz-quote-pre" wrap=""> But I also noticed the WKS seems to be different in the two as well. Is there a configuration or something else I might be missing that would cause these to be off? </pre>
    </blockquote>
    <p>gdalinfo uses WKT_2:2019, and GetProjectionRef() uses WKT1.  You
      can use GetSpatialRef()->exportToWKT(apszOptions) with
      apsOptions = { "FORMAT=WKT2_2019", nulptr } to get the same result</p>
    <span style="white-space: pre-wrap">
</span>
    <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>