[gdal-dev] Classification and combination with GDAL?

SupportLists supportlists at qlands.com
Fri Dec 9 18:45:41 EST 2011


Hi,

I need to perform classification and combination of three ascii grids. 
This means for example:

1. Separate the data of each cell in the grid among three classes
     Layer1 Classes: A1,B1,C1
     Layer2 Classes: A2,B2,C2
     Layer3 Classes: A3,B3,C3

2. Then Combine the three classified grids into one so each cell has a 
combination of the 27 possible.
     Cell 1: A1A2A3
     Cell 2: A1B2A3
     ....
     Cell max: C3C2C1.

3. Assign a color to each combination and generate a final GeoTIFF.

How if possible can I do this with GDAL?

Many thanks,
Carlos.



More information about the gdal-dev mailing list