[GRASS-user] copying raster between Mapsets

Milton Cezar Ribeiro miltinho.astronauta at gmail.com
Wed May 20 17:03:09 EDT 2009


Hi Markus,

Please, ignore my messages regarding this issue.
Everything is working fine!

Bests

milton

2009/5/20 Milton Cezar Ribeiro <miltinho.astronauta at gmail.com>

> Hi Markus,
>
> you are rigth, the error was as you showed.
> But may be I made a mistake, and I dont know how fix it.
>
> I have two Project Location (PL_A and PL_B), and on each one I have
> @PERMANENT mapsets.
> I thougth that if rename the PERMANENT (like TEMP_mapset) on PL_B and copy
> the directory to PL_A, than when I load PL_A I can access both PERMANENT and
> TEMP_mapset.. But grass not recognize automatically @TEMP_mapset.
>
> My mapsets has no projection (it is a XY unprojected location).
>
> Any help are welcome.
>
> bests
>
> milton
>
> 2009/5/20 Markus Neteler <neteler at osgeo.org>
>
>  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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20090520/4a1dafbe/attachment.html


More information about the grass-user mailing list