Hi,

2010/7/20 Nikos Dumakis <[email protected]>:
> In my case I have not more than 1200 different cell values. If I do :
> r.stats -1 input=data
> I obtained a list of all pixel values but what I am lookinf is for the
> unique values (not repeated).

as mentioned in Hamish's response, use combination of `sort` and `uniq`

r.starts -1 input=data | sort | uniq

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to