[GRASS-dev] r.clump ordering

Jamie Adams jaadfoo at gmail.com
Tue Mar 3 14:31:50 EST 2009


Hello all,

I'm writing a script to autodetect the null space bordering a raster while
ignoring interior voids.  I expand the region to slightly larger than the
data area, reclass nulls as 1, and then run r.clump to get discrete groups.


My question is, does r.clump process nulls in any particular order?  From
what I'm seeing, my border null area always ends up being the highest
numbered in r.clump.  Since I need to detect which null clump represents the
border, this would be very convenient.

Any insight?

Jamie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20090303/4cdaabb8/attachment.html


More information about the grass-dev mailing list