[GRASS-user] moving raster from one location to another

Create a Location LL WGS84, import your raster in this location (r.in.gdal)
and then create a Location UTM and use (in this location) the command r.proj
to reproject the raster

By
Leonardo

---------- Messaggio inoltrato ----------

Subject: [GRASS-user] moving raster from one location to another
Date: 15:59, martedì 19 dicembre 2006
From: Seb <spluque@gmail.com>
To: grassuser@grass.itc.it

Hi,

I imported an Arcview grid to a new GRASS location with r.in.gdal. In
contrast with Arcview shapefiles, AFAIK it's not possible to create
projection files for these grids as with shapefiles. Therefore, the new
GRASS location ends up with XY (unprojected) projection details. I know
that the grid is in LL WGS84 and need to move it to another GRASS location
with a UTM projection. I thought this would be possible with r.proj from
the UTM location, but it's telling me that it cannot find projection info
for the input raster. I've also tried m.proj from the raster's location,
but it tells me that it cannot project from/to XY location. I would
appreciate some suggestions on how to achieve this. Thanks in advance.

Cheers,

--
Seb

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

-------------------------------------------------------

--
Leonardo Lami
email + jabber: lami@faunalia.it
www.faunalia.it
Cell: (+39)349-1310164 Tel+Fax: (+39) 0587-213742
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy

On Tue, 19 Dec 2006 16:35:31 +0100,
Leonardo Lami <lami@faunalia.it> wrote:

Create a Location LL WGS84, import your raster in this location
(r.in.gdal) and then create a Location UTM and use (in this location)
the command r.proj to reproject the raster

Thanks Leonardo, this worked great and only needed to use the -o flag in
r.in.gdal so it forced the import to the local LL WGS84 projection.

--
Seb