[Gdal-dev] Re: GDAL with HDF on OSX

Andrey Kiselev dron at ak4719.spb.edu
Fri Mar 26 09:55:06 EST 2004


On Fri, Mar 26, 2004 at 03:32:40PM +0100, Lorenzo Moretti wrote:
> I have enter in r.in.gdal box (GIS file input) subdataset file:
> 
> HDF4_SDS:ASTER_L1B:"/file_ASTER//AST_L1B_003_01102002101254_05222002150244.hdf":2
> 
> but I have this error in output:
> 
> ERROR: Input map is rotated - cannot import. You may use 'gdalwarp' to
>        transform the map to North-up.
> 
> This error does not permit me to import HDF file into GRASS but I 
> must use gdalwarp in terminal.

Ah, yes, r.in.gdal wants rotated dataset. Then your approach is right,
you should process the input dataset with gdalwarp. But remember, this
is valid for that particular data type only, not for HDF files in
general.

						Andrey

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



More information about the Gdal-dev mailing list