[GRASS-dev] [bug #5111] (grass) Unable to rename map if similar
exists in PERMANENT
Maciek Sieczka via RT
grass-bugs at intevation.de
Sun Sep 10 17:51:46 EDT 2006
maris wrote (Thu, Sep 7 2006 21:19:31):
> I'm unable to rename raster map if map with same name exists in other
> mapset. Any manipulations with maps should happen in local mapset IF not
> specified othervise.
> Example:
> GRASS 6.2.0cvs (archimed):~ > g.gisenv
> GISDBASE=/home/maris/gis_dati
> LOCATION_NAME=archimed
> MAPSET=somijai
> DEBUG=0
> MONITOR=x0
> GRASS_GUI=tcltk
> GRASS 6.2.0cvs (archimed):~ > g.rename rast=MASKA,MASK
> ERROR: <MASK> already exists in mapset <PERMANENT>
I confirm. The funny thing about this bug is that if you instead try:
g.rename rast=MASKA,MASK at archimed
it will work. Why is explicit mapset declaration required - I don't know.
Maciek
-------------------------------------------- Managed by Request Tracker
More information about the grass-dev
mailing list