[GRASS-dev] raster row alloc?
Glynn Clements
glynn at gclements.plus.com
Mon Jun 5 21:12:01 EDT 2006
Joel Pitt wrote:
> > > I'd like to use G_set_null_value(array, nrows*ncols, map_type);
> > > to fill some nrows with NULL in one go instead of a loop over the number
> > > of rows, and perhaps G_raster_cpy() to copy a few lines over at a time.
> > >
> > > nrows*(ncols+1) ?
> >
> > Not necessary.
>
> Glynn, as lovely as your succinct answers are, would you be able to
> clarify whether you meant that Hamish's wish is not necessary or if
> the the "+1" in "nrows*(ncols+1)" is not necessary to perform this
> action?
The +1 isn't necessary.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list