[GRASS-dev] where is G_raster_map_type?
Martin Landa
landa.martin at gmail.com
Thu Jul 21 07:02:28 EDT 2011
Hi,
2011/7/21 Mohammed Rashad <mohammedrashadkm at gmail.com>:
> 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
More information about the grass-dev
mailing list