Jesus Loves GRASS

Technical blog about GRASS/GIS,open source geoinformatics and MAPSERVER.

Friday, August 29, 2008

gdalinfo 1.4.2 versus gdalinfo 1.5.2

While processing some gdalinfo string-to-array in PHP I noticed that the output of gdalinfo is different from 1.4 to 1.5 and therefore my code broke in a new machine.
Gdal 1.4.2:
Driver: GTiff/GeoTIFF
Size is 35, 72
Coordinate System is `'
Origin = (-72000.000000000000000,
643700.000000000000000)
Pixel Size = (9422.857142857143117,-9565.277777777777374)
Corner Coordinates:
Upper Left ( -72000.000, 643700.000)
Lower Left ( -72000.000, -45000.000)
Upper Right ( 257800.000, 643700.000)
Lower Right ( 257800.000, -45000.000)
Center ( 92900.000, 299350.000)
Band 1 Block=35x58 Type=Float32, ColorInterp=Gray
Band 2 Block=35x58 Type=Float32, ColorInterp=Undefined
Band 3 Block=35x58 Type=Float32, ColorInterp=Undefined

Gdal 1.5.2
Driver: GTiff/GeoTIFF
Files: geotiff_data2087566292
Size is 35, 72
Coordinate System is `'
Origin = (-72000.000000000000000,643700.000000000000000)
Pixel Size = (9422.857142857143117,-9565.277777777777374)
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( -72000.000, 643700.000)
Lower Left ( -72000.000, -45000.000)
Upper Right ( 257800.000, 643700.000)
Lower Right ( 257800.000, -45000.000)
Center ( 92900.000, 299350.000)
Band 1 Block=35x58 Type=Float32, ColorInterp=Gray
Band 2 Block=35x58 Type=Float32, ColorInterp=Undefined
Band 3 Block=35x58 Type=Float32, ColorInterp=Undefined

The new version includes:
Image Structure Metadata:
INTERLEAVE=BAND

and the name of the file that was read
Files: geotiff_data2087566292

Labels: , , ,

0 Comments:

Post a Comment

<< Home