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 <glynn at gclements.plus.com>