[GRASS-dev] question about the concept 'window'

Glynn Clements glynn at gclements.plus.com
Tue Jul 20 15:11:00 EDT 2010


Peng Du wrote:

> Another question: is there any function similar to get_map_row(...) but 
> gets a column of data from raster image rather than a row?

No.

Raster maps are stored row-by-row. If you want to access a map in a
significantly different order, you should first copy the map to a
format suitable for such access (either in memory or a temporary
file).

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list