[GRASS-user] Copy raster from xy location to latlong

Patton, Eric epatton at nrcan.gc.ca
Wed Aug 6 15:01:05 EDT 2008


>I have imported a remote sensing product from an HDF file into an XY
>location. It is stored as a 1/4 degree pixel grid with 720 rows and 1440
>columns. I would like to copy this raster to a new GRASS lat-long
>(WGS84) location with a 1/4 degree resolution (90N, 90S, 180W, 180E).
>Can someone please explain the best way to go about doing this?

As long as the two coordinate systems are the same, I don't think there's any
danger in using tar:

$ cd $GISDBASE/$MAPSET
$ tar cjvf rastername.tar */rastername
$cd $NEW_GISDBASE/$MAPSET
$ tar xjvf rastername.tar

~ Eric.


More information about the grass-user mailing list