Re: [gdal-dev] GDAL python API - Data axis to CRS axis mapping

2022-12-10 Thread Even Rouault
Hi Chris, ==> https://gdal.org/api/python/osgeo.osr.html#osgeo.osr.SpatialReference.GetDataAxisToSRSAxisMapping Doc: https://gdal.org/api/ogrspatialref.html#_CPPv4NK19OGRSpatialReference27GetDataAxisToSRSAxisMappingEv Example at https://github.com/OSGeo/gdal/blob/9452625baa544ea3ab6bb0b3e3

[gdal-dev] GDAL python API - Data axis to CRS axis mapping

2022-12-10 Thread Chris Crook
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