Mohammed Rashad wrote:

> if (raster.Rast_get_cellhd('lsat5_1987_20', 'landsat', cellhd))!=0 :

"cellhd" should be "byref(cellhd)". cellhd is a structure, but the
function reqires a pointer to a structure.

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

Reply via email to