Opened 20 years ago

Closed 9 years ago

#430 closed defect (wontfix)

ASTER HDF Georeferencing Off by 1KM?

Reported by: warmerdam Owned by: dron
Priority: high Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords: hdf
Cc: Markus Neteler, Mateusz Łoskot

Description (last modified by Mateusz Łoskot)

Andrey,

Steve Soule from Vexcel has pointed me to an ASTER HDF file which seems to have incorrect georeferencing. He raised the concern because the georeferencing didn't match a GeoTIFF file derived from the file by other software.

I confirmed this, and noticed that the lat/long corners of the image as reported in the metadata don't seem to match the lat/long corners reported after reprojection (in the gdalinfo report).

I will attach the gdalinfo report to this bug report. The file itself is pretty large so I am putting it putting it at the following url for download, assuming you need to do that.

http://pobox.com/~warmerdam/ASTER_DEM20020123085409.hdf

Attachments (1)

hdfout (6.0 KB ) - added by warmerdam 20 years ago.
gdalinfo report for file.

Download all attachments as: .zip

Change History (9)

by warmerdam, 20 years ago

Attachment: hdfout added

gdalinfo report for file.

comment:1 by warmerdam, 20 years ago

By the way, Steve reports the GeoTIFF file derived from the HDF file
was generated with a program called HEG_Win, though the file itself reports
it was generated with Erdas Imagine.  However, hopefully you will be able
to establish from the Aster file itself whether there is an inconsistency.

comment:2 by dron, 20 years ago

Frank,

Whether it is possible to see gdalinfo report for mentioned GeoTIFF file? In
fact I'm aware of problems with ASTER DEM georeferencing and I thought that I
did my best to get it working. It is good news that there is a tool that works
better. The only question remains: how those tool works :-)

comment:3 by warmerdam, 20 years ago

Andrey, 

The GeoTIFF files gdalinfo report looked like this:

Driver: GTiff/GeoTIFF
Size is 2507, 2402
Coordinate System is `'
Origin = (-116.929440,34.986245)
Pixel Size = (0.000287,-0.000238)
Metadata:
  TIFFTAG_SOFTWARE=IMAGINE TIFF Support
Copyright 1991 - 1999 by ERDAS, Inc. All Rights Reserved
@(#)$RCSfile: etif.c $ $Revision: 1.9.1.2 $ $Date: 2001/12/05 00:33:12Z $
  TIFFTAG_XRESOLUTION=1
  TIFFTAG_YRESOLUTION=1
  TIFFTAG_RESOLUTIONUNIT=1 (unitless)
Corner Coordinates:
Upper Left  (-116.9294396,  34.9862451) 
Lower Left  (-116.9294396,  34.4156149) 
Upper Right (-116.2087937,  34.9862451) 
Lower Right (-116.2087937,  34.4156149) 
Center      (-116.5691167,  34.7009300) 
Band 1 Block=2507x1 Type=Float32, ColorInterp=Gray
GDAL: GDALClose(aster_dem20020123085409.tif)

GDAL: GDALDeregister_GTiff() called.

However, this isn't likely to help you much as the TIFF file had been 
resampled and reprojected.

comment:4 by Mateusz Łoskot, 16 years ago

Cc: Mateusz Łoskot added
Description: modified (diff)

comment:5 by Markus Neteler, 16 years ago

Cc: Markus Neteler added; neteler@… removed

comment:6 by Mateusz Łoskot, 16 years ago

Keywords: hdf added

comment:7 by Jukka Rahkonen, 9 years ago

The sample file is behind a dead link and without it (or some other ASTER HDF file leading to similar troubles) it feels unnecessary to keep this ticket open forever.

comment:8 by Jukka Rahkonen, 9 years ago

Resolution: wontfix
Status: assignedclosed

Ticket is pretty old with no activity in recent years. ASTER data is nowadays available as GeoTIFFs and there it a HEG conversion tool http://newsroom.gsfc.nasa.gov/sdptoolkit/HEG/HEGDownload.html. Enough reasons for closing this issue.

Note: See TracTickets for help on using tickets.