Monica Buescu wrote:

> I have a GRASS Python Script  where I create a raster map and I want to
> rename it. How can I rename a raster map in a GRASS Python Script?

        import grass.script as grass

        grass.run_command('g.rename', rast = (oldname, newname))

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to