[GRASSLIST:7500] Re: import HDF files

Andrey Kiselev dron at ak4719.spb.edu
Fri Jul 8 02:22:54 EDT 2005


On Wed, Jul 06, 2005 at 05:04:57PM -0300, Carlos Guâno Grohmann wrote:
> r.in.aster input=/home/guano/grassdata/AST.L1B.00309052003132740.09242003132138.hdf
> proctype=L1B band=1 output=teste
> 
> georeferencing aster image
> gdalwarp -t_srs +proj=lcc +lat_0=-18.0000000000 +lat_1=-8.0000000000
> +lat_2=-28.0000000000 +lon_0=-46.0000000000 +x_0=2000000000.0000000000
> +y_0=5000000000.0000000000 +a=6378160 +rf=298.25 +no_defs
> +towgs84=-60.0,-2.0,-41.0
> HDF4_SDS:ASTER_L1B:"/home/guano/grassdata/AST.L1B.00309052003132740.09242003132138.hdf":2
> /home/guano/grassdata/amsul_lambert/sad69/.tmp/valhalla/27109.0.tif
> 
> A target coordinate system was specified, but there is no source
> coordinate system.  Consider using -s_srs option to provide a source
> coordinate system. Operation terminated.

Carlos,

Your version of GDAL is outdated. Please, grab the most recent version
(you need the CVS snapshot). Everyone who need georeferenced ASTER
should take the GDAL sources from CVS, older code does not work
properly with ASTERs.

Best regards,
Andrey


-- 
Andrey V. Kiselev
Home phone:  +7 812 5970603  ICQ# 26871517




More information about the grass-user mailing list