[GRASS-dev] [bug #5111] (grass) Unable to rename map if similar exists in PERMANENT

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@archimed

it will work. Why is explicit mapset declaration required - I don't know.

Maciek

-------------------------------------------- Managed by Request Tracker