Hi, 2011/10/28 Milton Cezar Ribeiro <[email protected]>: > I need to remove raster maps from another mapset instead PERMANENT > > As I am putting this in a python-grass script, I tried something like > > g.remove -f rast=mymap@OTHERMAPSET > > but I get the error message that the raster map is not in the current > mapset (PERMANENT).
you are allowed to modify data only from your current mapset. In other words you cannot delete a map from another mapsets. So first you need to switch to OTHERMAPSET g.mapset OTHERMAPSET and then to delete the map g.remove -f rast=mymap Martin -- Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
