[GRASSLIST:5474] r.clump seems not to clump reclassed map

Aldo Clerici alcl01 at ipruniv.cce.unipr.it
Wed Feb 5 04:43:12 EST 2003


Hi GRASSusers,
it seems that r.clump doesn't clump a reclassed map derived from a
previously clumped map.

Here an example (with spearfish data):

r.clump input=geology output=geology.dump
(422 clumps. Correct)
r.reclass input=geology.clump output=geology.clump.rec
> 50 200 = 1
end
(the map geology.clump.rec contains 2 groups of cells with category 1.
Correct)
r.clump input=geology.clump.rec output=geology.final
(geology.final contains 11 clumps instead of 2. Not correct)

Note that:
1) r.clump works well on a new map obtained from the reclassed map with
r.resample.
2) With GRASS4.3 the above procedure works well. The geology.final map
contains 2 clumps as aspected.

Anything wrong in version 5 ?

Thanks.
Aldo Clerici




More information about the grass-user mailing list