Hi all, I need a way to retrieve a GDAL DataType (its code or its string name, it's the same) starting from all information on it. Does it exist a class or method to to this? For example: GdalDataType(nbits=32, float=True, Complex=True) -> gdal.GDT_CFloat32 I use Python bindings for GDAL.
I'd like to avoid building the string manually (i.e. 'GDT_'+'C'+'Float'+'32') Thanks _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev