Re: [gdal-dev] Metadata from GeoTIFF to ENVI

2016-01-01 Thread Even Rouault
Le vendredi 01 janvier 2016 21:17:09, Nevzat Guler a écrit : > Thanks Even. > I changed the line as you suggested but still missing some of the > information in the header file. The header I get has the following: > > ENVI > description = { > createdFile.hsi} > samples = 7571 > lines = 7411 > ba

Re: [gdal-dev] Metadata from GeoTIFF to ENVI

2016-01-01 Thread Nevzat Guler
Thanks Even. I changed the line as you suggested but still missing some of the information in the header file. The header I get has the following: ENVI description = { createdFile.hsi} samples = 7571 lines = 7411 bands = 1 header offset = 0 file type = ENVI Standard data type = 12 interleave

Re: [gdal-dev] Metadata from GeoTIFF to ENVI

2016-01-01 Thread Even Rouault
Le jeudi 31 décembre 2015 23:31:40, ngu...@jlab.org a écrit : > Dear GDAL Users, > > I am reading a GeoTIFF file and creating an ENVI file. I don't want to use > the CreateCopy method but the Create method. > > I tried something like the following to transfer the metadata: > >char **papszMet