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:

1) create a MASK based on layer A.
2) remove the mask with r.mask -r.
3) remove layer A with g.remove: this gives the error:

WARNING: Raster map <A> 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
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to