[Gdal-dev] ASTER DEM and HDF and PROJ problem

Frank Warmerdam warmerdam at pobox.com
Tue May 20 09:25:32 EDT 2003


Markus Neteler wrote:
> Dear GDAL developers,
> 
> I am facing a problem with gdal/hdf/asterdem/proj4 (GDAL and PROJ4 from
> yesterday's CVS):
> 
> gdalinfo ASTER_DEM20020827134235.hdf | more
> ERROR 6: Failed to initialize PROJ.4 with +proj=longlat +ellps=WGS84
> +datum=WGS84 +no_defs '.
> unknown projection id
> ERROR 6: Failed to initialize PROJ.4 with +proj=longlat +ellps=WGS84
> +datum=WGS84 +no_defs '.
> unknown projection id
> ERROR 6: Failed to initialize PROJ.4 with +proj=longlat +ellps=WGS84
> +datum=WGS84 +no_defs '.
> unknown projection id
> ERROR 6: Failed to initialize PROJ.4 with +proj=longlat +ellps=WGS84
> +datum=WGS84 +no_defs '.
> unknown projection id
> 
> I don't know where the error occurs (GDAL or PROJ4).


Markus,

Offhand, my guess would be that somehow the wrong PROJ.4 has been picked
up at runtime (a very old one) and it doesn't know about latlong.  However,
it might also be that PROJ.4 isn't being picked up at all.  Does gdalinfo
report lat/long corners for other images such as a GeoTIFF file?

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent





More information about the Gdal-dev mailing list