[gdal-dev] GDAL python API - Data axis to CRS axis mapping
Chris Crook
ccrook at linz.govt.nz
Sat Dec 10 11:06:26 PST 2022
Hi
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:
Data axis to CRS axis mapping: 2,1
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.
Can anyone advise on how to best access this mapping?
Thanks
Chris Crook
________________________________
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 info at linz.govt.nz) 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20221210/7d93911d/attachment-0001.htm>
More information about the gdal-dev
mailing list