Re: [gdal-dev] map info and projections from GeoTIFF file to create ENVI header

2016-01-18 Thread Dmitry Baryshnikov
the file I have. Maybe it is modified. I will also download the same file from earthexplorer and try my routines on it. Thanks for the suggestions. I appreciate. - Nevzat -Original Message- From: Dmitry Baryshnikov [mailto:bishop....@gmail.com] Sent: Sunday, January 17, 2016 12:57 PM To: Nevzat Guler

Re: [gdal-dev] map info and projections from GeoTIFF file to create ENVI header

2016-01-18 Thread nguler
00) >>>>> Lower Right ( 372315.000, 1967385.000) >>>>> Center ( 258750.000, 2078550.000) >>>>> Band 1 Block=7571x1 Type=UInt16, ColorInterp=Gray >>>>> >>>>> C:\Cubes\LC80080472013174LGN00.tar>gdalinfo --version &

Re: [gdal-dev] map info and projections from GeoTIFF file to create ENVI header

2016-01-18 Thread Dmitry Baryshnikov
TY["EPSG","9001"]]] Origin = (145185.000,2189715.000) Pixel Size = (30.0000000,-30.0000000) Metadata: AREA_OR_POINT=Point METADATATYPE=ODL Image Structure Metadata: INTERLEAVE=BAND Corner Coordinates: Upper Left ( 14518

Re: [gdal-dev] map info and projections from GeoTIFF file to create ENVI header

2016-01-18 Thread nguler
>>> C:\Cubes\LC80080472013174LGN00.tar> >>> >>> > I have the 2.0.1 version: >>> > C:\warmerda\bld\bin>gdalinfo --version >>> > GDAL 2.0.1, released 2015/09/15 >>> > >>> > I will check the history of the file I hav

Re: [gdal-dev] map info and projections from GeoTIFF file to create ENVI header

2016-01-18 Thread nguler
gt;> >> > I have the 2.0.1 version: >> > C:\warmerda\bld\bin>gdalinfo --version >> > GDAL 2.0.1, released 2015/09/15 >> > >> > I will check the history of the file I have. Maybe it is modified. I will >> > also download the same file fro

Re: [gdal-dev] map info and projections from GeoTIFF file to create ENVI header

2016-01-18 Thread Even Rouault
tory of the file I have. Maybe it is modified. I will > > also download the same file from earthexplorer and try my routines on > > it. Thanks for the suggestions. I appreciate. > > - Nevzat > > > > -Original Message- > > From: Dmitry Baryshnikov [mailto:b

Re: [gdal-dev] map info and projections from GeoTIFF file to create ENVI header

2016-01-18 Thread nguler
hanks for the suggestions. I appreciate. > - Nevzat > > -Original Message- > From: Dmitry Baryshnikov [mailto:bishop@gmail.com] > Sent: Sunday, January 17, 2016 12:57 PM > To: Nevzat Guler ; gdal-dev@lists.osgeo.org > Subject: Re: [gdal-dev] map info and projection

Re: [gdal-dev] map info and projections from GeoTIFF file to create ENVI header

2016-01-17 Thread Nevzat Guler
zat -Original Message- From: Dmitry Baryshnikov [mailto:bishop@gmail.com] Sent: Sunday, January 17, 2016 12:57 PM To: Nevzat Guler ; gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] map info and projections from GeoTIFF file to create ENVI header I downloaded this scene f

Re: [gdal-dev] map info and projections from GeoTIFF file to create ENVI header

2016-01-17 Thread Dmitry Baryshnikov
ucture Metadata: INTERLEAVE=BAND Corner Coordinates: Upper Left ( 145185.000, 2189715.000) Lower Left ( 145185.000, 1967385.000) Upper Right ( 372315.000, 2189715.000) Lower Right ( 372315.000, 1967385.000) Center ( 258750.000, 2078550.000) Band 1 Block=7571x1 Type=UInt16, ColorInt

Re: [gdal-dev] map info and projections from GeoTIFF file to create ENVI header

2016-01-17 Thread Nevzat Guler
2189715.000) Lower Right ( 372315.000, 1967385.000) Center ( 258750.000, 2078550.000) Band 1 Block=7571x1 Type=UInt16, ColorInterp=Gray -Original Message- From: gdal-dev [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Dmitry Baryshnikov Sent: Sunday, January 17, 2016 6:57 A

Re: [gdal-dev] map info and projections from GeoTIFF file to create ENVI header

2016-01-17 Thread Dmitry Baryshnikov
Hi Nevzat, The landsat geotiff already have CRS embeded in file $ gdalinfo LC80150362013097LGN03_B1.TIF Driver: GTiff/GeoTIFF Files: LC80150362013097LGN03_B1.TIF ./LC80150362013097LGN03_MTL.txt Size is 7281, 7261 Coordinate System is: PROJCS["WGS 84 / UTM zone 17N", GEOGCS["WGS 84",

[gdal-dev] map info and projections from GeoTIFF file to create ENVI header

2016-01-16 Thread Nevzat Guler
Dear experts, I am reading LANDSAT GeoTIFF files and combining bands to create and ENVI cube. I am using GDAL to read the GeoTIFF file, and my own custom cube writer to write the ENVI style cube. Transferring the map information proved to be a bit convoluted. I seek your help to figure out this.