[Gdal-dev] gdalinfo output: GTIFF vs HFA - UTM
Markus Neteler
neteler at itc.it
Sun Mar 6 07:28:03 EST 2005
Frank,
thanks for explaining the GRASS plugin changes, I should
have read the docs... Works smoothly now!
While exporting from GRASS to GeoTIFF and Erdas Imagine,
I came across a small difference:
gdal_translate -of GTiff -a_srs "EPSG:32632" grassdata/utm32n/PERMANENT/cellhd/ebergoetzen.rgb ebergoetzen_brovey_fusion_lsat7.tif
gdalinfo ebergoetzen_brovey_fusion_lsat7.tif | head -25
Driver: GTiff/GeoTIFF
Size is 1734, 1536
Coordinate System is:
PROJCS["WGS 84 / UTM zone 32N",
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.2572235629972,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4326"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",9],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AUTHORITY["EPSG","32632"]]
Origin = (563331.000000,5722173.000000)
Pixel Size = (14.25000000,-14.25000000)
Corner Coordinates:
Upper Left ( 563331.000, 5722173.000) ( 9d54'55.22"E, 51d38'49.15"N)
...
-> output ok
gdal_translate -of HFA -a_srs "EPSG:32632" grassdata/utm32n/PERMANENT/cellhd/ebergoetzen.rgb ebergoetzen_brovey_fusion_lsat7.img
gdalinfo ebergoetzen_brovey_fusion_lsat7.img | head -20
Driver: HFA/Erdas Imagine Images (.img)
Size is 1734, 1536
Coordinate System is:
PROJCS["UTM",
GEOGCS["WGS_1984",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.2572235629972],
TOWGS84[0,0,0,0,0,0,0]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",9],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["meters",1]]
Origin = (563331.000000,5722173.000000)
Pixel Size = (14.25000000,-14.25000000)
Corner Coordinates:
...
-> here the zone/hemisphere is not displayed. May I ask
you to add this to the HFA/Erdas driver?
Thanks in advance
Markus
More information about the Gdal-dev
mailing list