>>>>> Glynn Clements <[EMAIL PROTECTED]> writes:
[...]
>> It seems that you've missed my point. I wish to process the whole
>> raster with G_get_raster_row () once, and then another time from the
>> start. The only way to do it that I know is to close and re-open
>> it, which is ``a different issue'', indeed.
> No, there's no need to re-open it (or otherwise "rewind" it).
> G_get_raster_row() takes the row number as an argument; nothing
> requires that you read the rows sequentially, or that you read each
> row only once.
Indeed.
What about a dup ()? The intent is to have two parts of code
run in a quite intertwined manner. It's not known which part
will finish earlier, and I had in mind dup ()-ing the
descriptor, so that each part could close it on its own when
finished.
[...]
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev