[GRASS-user] Decision tree classification

Luiz Andrade lcoandrade at gmail.com
Sun Feb 19 10:56:08 PST 2017


Hi there,
How can I make a raster classification using decision tree in GRASS (like ENVI’s decision tree)?
I have two bands and a set os rules and I wanna make a classification with those rules. Something like this:


B1=0 (using band 1)
yes->water
no-> 0<=B1<=4 (using band 1)
        yes-> B2=1(using band 2)
                  yes -> vegetation 1
                  no -> vegetation 2
        no-> everything else

Can I do this with r.mapcalc?


Regards,
Luiz Claudio




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20170219/29fa034c/attachment.html>


More information about the grass-user mailing list