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

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

On Tue, 19 Dec 2006 08:59:31 -0600,
Seb <spluque@gmail.com> wrote:

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.

I should've noted that this is in Arcview, as projection files for
shapefiles can be created there with their projection utility, but not for
rasters.

--
Seb

Can you export the arcview grid as a geotiff file? That seems to convey
projection information in the file format. Jerry

-----Original Message-----
From: grassuser-bounces@grass.itc.it [mailto:grassuser-bounces@grass.itc.it]
On Behalf Of Seb
Sent: Tuesday, December 19, 2006 9:00 AM
To: grassuser@grass.itc.it
Subject: [GRASS-user] moving raster from one location to another

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

Well r.proj is for re-projecting a map from one projection to another, but it sounds like your map already *is* in the projection you want: it's just that the locations settings do not reflect that. If it's the only map in your location or all the maps have the same projection, you can just change the projection of the location with g.setproj or g.proj to match the map.

Paul

On Tue, 19 Dec 2006, Seb wrote:

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