0

How can I include the coordinate system information from an ASTER hdf?

The HDFEOS module is successful in creating an RST file format with the IDRISI default Plane Reference System.  I'd like to directly create the RST file in the WGS84/UTM projection.  GDALIDRISI was used (command below) with reference to the EPSG projection seemingly successfully identified.

The result is an RST file of the same size as the Plane Reference System file, but with no image displayed in IDRISI.  The legend correctly displays.  The following metadata does not have correct information as follows for unit distance.

file format : Idrisi Raster A.1

file title  :

data type   : byte

file type   : binary

columns     : 4980

rows        : 4200

ref. system : utm-18n

ref. units  : m

unit dist.  : 1

min. X      : -0.5

max. X      : 4979.5

min. Y      : 4200.5

max. Y      : 0.5

pos'n error : unspecified

resolution  : 1

min. value  : 0

max. value  : 255

display min : 0

display max : 255

value units : unspecified

value error : unspecified

flag value  : none

flag def'n  : none

legend cats : 0

lineage     :

comment     :

 

Command used

gdal_translate HDF4_EOS:EOS_SWATH:"C:\RemoteSensing\ASTER\AST_L1B_00306152012155003_20120616110806_22473_Merck\AST_L1B_00306152012155003_20120616110806_22473_Merck.hdf":VNIR_Swath:ImageData1  C:\RemoteSensing\ASTER\AST_L1B_00306152012155003_20120616110806_22473_Merck\AST_MERCKImageData1_1.rst -of RST -ot Byte -b 1 -a_srs EPSG:32618

and, the aux.xml file is abbreviated when compared to the plane reference system file.

<?xml version="1.0"?>

-<PAMDataset> -<PAMRasterBand band="1"> -<Metadata> <MDI key="STATISTICS\_MAXIMUM">255</MDI> <MDI key="STATISTICS\_MEAN">0</MDI> <MDI key="STATISTICS\_MINIMUM">0</MDI> <MDI key="STATISTICS\_STDDEV">0</MDI> </Metadata> </PAMRasterBand> </PAMDataset>

Can you suggest how the WGS84/UTM projection can be directly imported with the original HDF file either via the HDFEOS module or the GDAL implementation within IDRISI?  Thank you/

2 comments

Please sign in to leave a comment.