<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Chris,</p>
    <p>==>
<a class="moz-txt-link-freetext" href="https://gdal.org/api/python/osgeo.osr.html#osgeo.osr.SpatialReference.GetDataAxisToSRSAxisMapping">https://gdal.org/api/python/osgeo.osr.html#osgeo.osr.SpatialReference.GetDataAxisToSRSAxisMapping</a></p>
    <p>Doc:
<a class="moz-txt-link-freetext" href="https://gdal.org/api/ogrspatialref.html#_CPPv4NK19OGRSpatialReference27GetDataAxisToSRSAxisMappingEv">https://gdal.org/api/ogrspatialref.html#_CPPv4NK19OGRSpatialReference27GetDataAxisToSRSAxisMappingEv</a><br>
    </p>
    <p>Example at
<a class="moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/blob/9452625baa544ea3ab6bb0b3e368023434011ea7/autotest/gcore/vrt_read.py#L1339">https://github.com/OSGeo/gdal/blob/9452625baa544ea3ab6bb0b3e368023434011ea7/autotest/gcore/vrt_read.py#L1339</a></p>
    <p>Even<br>
    </p>
    <div class="moz-cite-prefix">Le 10/12/2022 à 20:06, Chris Crook a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:SY4PR01MB6553744DED879988E61067EBEC1F9@SY4PR01MB6553.ausprd01.prod.outlook.com">
      <div class="elementToProof"><span class="elementToProof">Hi </span></div>
      <div class="elementToProof"><span class="elementToProof"><br>
        </span></div>
      <div class="elementToProof"><span class="elementToProof">I am
          using the GDAL python API and trying to determine the data
          axis to CRS axis mapping.  This is displayed by gdalinfo, eg
          looking at test.tif file I have:</span></div>
      <div class="elementToProof"><span class="elementToProof"><br>
        </span></div>
      <div class="elementToProof"><span class="elementToProof
          ContentPasted0">Data axis to CRS axis mapping: 2,1<br>
        </span></div>
      <div class="elementToProof"><span class="elementToProof
          ContentPasted0"><br>
        </span></div>
      <div class="elementToProof"><span class="elementToProof
          ContentPasted0">However I can't see how to access this in the
          API.  I have looked at the tolatlong.py sample, and but this
          looks like it is about converting projections, which I think
          is a different thing.  What I am looking for is the correct
          mapping from the lat/lon order generated by the geotransform
          to the order defined by the CRS WKT.</span></div>
      <div class="elementToProof"><span class="elementToProof
          ContentPasted0"><br>
        </span></div>
      <div class="elementToProof"><span class="elementToProof
          ContentPasted0">Can anyone advise on how to best access this
          mapping?</span></div>
      <div class="elementToProof"><span class="elementToProof
          ContentPasted0"><br>
        </span></div>
      <div class="elementToProof"><span class="elementToProof
          ContentPasted0">Thanks</span></div>
      <div class="elementToProof"><span class="elementToProof
          ContentPasted0">Chris Crook</span></div>
      <div class="elementToProof"><br>
      </div>
      <br>
      <hr>
      <br>
      This message contains information, which may be in confidence and
      may be subject to legal privilege. If you are not the intended
      recipient, you must not peruse, use, disseminate, distribute or
      copy this message. If you have received this message in error,
      please notify us immediately (Phone 0800 665 463 or
      <a class="moz-txt-link-abbreviated" href="mailto:info@linz.govt.nz">info@linz.govt.nz</a>) and destroy the original message. LINZ accepts
      no responsibility for changes to this email, or for any
      attachments, after its transmission from LINZ. Thank You.<br>
      <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>