OS: windows7 x86
grass: grass-7.0.SVN native build
WinGRASS-7.0.SVN-r47191-1-Setup.exe
import os, sys
from grass.lib import gis as grass
from grass.lib import raster as raster
if "GISBASE" not in os.environ:
print "You must be in GRASS GIS to run this program."
sys.exit(1)
grass.G_gisinit('')
data_type = raster.G_raster_map_type('myrast', 'PERMANENT')
error log
data_type = raster.G_raster_map_type('myrast', 'PERMANENT')
AttributeError: `module` object has no attribute `G_raster_map_type`
--
Thanks && Regards
Rashad
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev