Hi, I can’t remove a raster which previously was used to create a MASK (which was subsequently removed) without forcing it using the b-flag in g.remove. Steps:
-
create a MASK based on layer A.
-
remove the mask with r.mask -r.
-
remove layer A with g.remove: this gives the error:
WARNING: Raster map is a base map. Remove reclassed map <MASK@env first.
Going through the database folders I noticed that in the GRASSdb/location/mapset/cell_misc/A folder there is the file ‘reclassed_to’ which contains the pointer to the MASK. Removing this file solves the problem.
So I guess when removing the mask this file should be removed too.
I am running GRASS 7 trunk on Ubuntu 14.04