Hi Martin, Worked fine!
best milton 2011/10/28, Martin Landa <[email protected]>: > 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 > -- Miltinho - [email protected] Laboratório de Ecologia Espacial e Conservação - LEEC Depto de Ecologia - UNESP - Rio Claro Av. 24A, 1515- Bela Vista 13506-900 Rio Claro, SP, Brasil http://www.rc.unesp.br/ib/ecologia/ Fone: +55 19 3526-9647 Cel: 19 9853-3220 / 19 9853-5430 _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
