[GRASS-user] v.to.rast in a python loop, error

Moritz Lennert mlennert at club.worldonline.be
Mon Feb 13 05:46:21 EST 2012


On 13/02/12 11:32, Johannes Radinger wrote:
> And my output with although all maps were removed manually with g.remove and cross checked:
>
> Launching script '/Users/Johannes Radinger/Desktop/test2.py'...
> (Mon Feb 13 11:12:27 2012)
> /Users/Johannes Radinger/Desktop/test2.py
> ----------------------------------------------
> raster files available in mapset<PERMANENT>:
> basins          elevation_shade lakes           soils
> elevation       geology         landuse
> raster files available in mapset<user1>:
> rast_FULL_HYDRO rast_LENGTH
   ^^^^^^^^^^^^^^^ ^^^^^^^^^^^

Both maps _do_ exist in mapset user1. So it is normal that the error 
appears.

Are you sure that you've been running g.remove in the same mapset as the 
script ?

Moritz


More information about the grass-user mailing list