[GRASS-dev] where is G_raster_map_type?
Mohammed Rashad
mohammedrashadkm at gmail.com
Thu Jul 21 06:15:21 EDT 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20110721/5567b6ac/attachment.html
More information about the grass-dev
mailing list