[GRASS-user] copying raster between Mapsets

Markus Neteler neteler at osgeo.org
Wed May 20 15:50:32 EDT 2009


On Wed, May 20, 2009 at 9:04 PM, Milton Cezar Ribeiro
<miltinho.astronauta at gmail.com> wrote:
>  Hi GrassGurus,
>
> I have a Project Location with two mapsets, like:
>
> MyProjLocation
>     +PERMANENT
>     +TEMP_mapset
>
> Now I need to move some rasters from @PERMANENT to @TEMP_mapset
> I tryed something like:
>    g.copy rast=A @PERMENENT,A @TEMP_mapset (without spaces)
>
> But it not works.

What is the error? I suspect
Illegal filename. Character <@> not allowed.

Solution: don't specify @TEMP_mapset in the target name since you
write to the current mapset.

So:
g.copy rast=A at PERMANENT,A
will do it.

Markus


More information about the grass-user mailing list