[GRASSLIST:4801] accessing sparse cells...

Massimiliano Cannata massimiliano.cannata at supsi.ch
Fri Nov 12 05:36:27 EST 2004


Hello list,
wich is the fastest approach to access in reading a writing sparse cells 
of a raster map?

For every couple of  (row,col) not in sequential order do I have to read 
the entire corrisponding row and then get the rigth col ? Or maybe i 
have to use an fseek to get the cell at the rigth position in the raster 
file? Or is there a fastest way?

Thanks, Max

_____________________________________________________

Ing. Massimiliano Cannata

SUPSI - Istituto Scienze della Terra
C.P. 72 - CH-6952 Canobbio (Ticino, Switzerland)
Tel +41 (0)91 935 12 25 - Fax +41 (0)91 935 12 09
mailto:massimiliano.cannata at supsi.ch
http://www.ist.supsi.ch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20041112/8a7454a5/attachment.html


More information about the grass-user mailing list