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.
Any clue are welcome.
bests milton
Just adding more information, the @TEMP_mapset
I copyed from another Project Location, and on another
location it was a @PERMANENT.
May be grass not understand all directory under ProjectLocation as
an available mapset?!
Bests
milton
2009/5/20 Milton Cezar Ribeiro <miltinho.astronauta@gmail.com>
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.
Any clue are welcome.
bests milton
On Wed, May 20, 2009 at 9:04 PM, Milton Cezar Ribeiro
<miltinho.astronauta@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@PERMANENT,A
will do it.
Markus
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@osgeo.org>
On Wed, May 20, 2009 at 9:04 PM, Milton Cezar Ribeiro
<miltinho.astronauta@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@PERMANENT,A
will do it.
Markus
Hi Markus,
Please, ignore my messages regarding this issue.
Everything is working fine!
Bests
milton
2009/5/20 Milton Cezar Ribeiro <miltinho.astronauta@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@osgeo.org>
On Wed, May 20, 2009 at 9:04 PM, Milton Cezar Ribeiro
<miltinho.astronauta@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@PERMANENT,A
will do it.
Markus