Milton Cezar Ribeiro wrote:

> In fact, I think that for many r.*, if a "skip if is null" flag could be
> setted, may be we can save a lot of time, mainly when running repetitive
> steps on large (60,000x48,000 pixels) maps are ran. And, on my case,
> addictionally the large size of the maps, as I work with multi-scale
> landscape index computing (percentage of cover, density of edge with
> different width, connectivity, number of patches), I need to run moving
> windows with large sizes (like 101x101 pixels). So, if when I set a
> skip_null=T (on my own risk!), I can save not only hours, but weeks of work.

This could be implemented by giving r.neighbors a mask= parameter, or
maybe we need an OUTMASK for output maps. This could be applied
automatically by the raster library to ensure consistency, but
potentially-slow modules could perform the check explicitly as an
optimisation.

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to