Hi, 2011/7/21 Mohammed Rashad <[email protected]>: > error log > data_type = raster.G_raster_map_type('myrast', 'PERMANENT') > AttributeError: `module` object has no attribute `G_raster_map_type`
all raster related procedures has been moved from gislib to the new rasterlib [1]. See list of renamed fns [2], in this case it's Rast_map_type() [3]. Martin [1] http://grass.osgeo.org/programming7/rasterlib.html [2] http://trac.osgeo.org/grass/wiki/Grass7/RasterLib/ListOfFunctions [3] http://grass.osgeo.org/programming7/raster_2open_8c.html#ad8873119232e5dddb7b2aa6b62dea923 -- Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
