Re: [gdal-dev] ENVI Header information from GeoTIFF file

2016-01-14 Thread nguler
Than you Even, double adfGeoTransform[6]; srcDS->GetGeoTransform(adfGeoTransform) gives me 6 values: center, pixel size and rotation. But when I do CreateCopy I get: map info = {UTM, 1, 1, 145185, 2189715, 30, 30, 19, North} Is there any way of getting the first three elements of this map info {

Re: [gdal-dev] ENVI Header information from GeoTIFF file

2016-01-14 Thread Even Rouault
Le jeudi 14 janvier 2016 00:22:33, ngu...@jlab.org a écrit : > Dear GDAL users, > > I am just starting to use GDAL and apparently I don't quite understand many > classes. My purpose is to extract some map information from GeoTIFF files > (LANDSAT data). I need to access this information to generat

[gdal-dev] ENVI Header information from GeoTIFF file

2016-01-13 Thread nguler
Dear GDAL users, I am just starting to use GDAL and apparently I don't quite understand many classes. My purpose is to extract some map information from GeoTIFF files (LANDSAT data). I need to access this information to generate an ENVI file header. When i import the tiff file, I can see the follo