Re: [gdal-dev] count unique combination in 2 tifs

2012-08-10 Thread Rutger
x27;0') print combo[0],combo[1], hist[i]/ Regards, Rutger -- View this message in context: http://osgeo-org.1560.n6.nabble.com/gdal-dev-count-unique-combination-in-2-tifs-tp4993978p4994407.html Sent from the GDAL - Dev mailing list archive at

[gdal-dev] count unique combination in 2 tifs

2012-08-08 Thread Giuseppe Amatulli
Hi, having 2 integer Tif file (Rast00 , Rast10) Rast00= 1,2,4,4,5,4,1,4,1,1,4,0 Rast10= 0,2,3,5,4,4,1,4,2,1,3,4 I need to exclude the no-data (0) and calculate unique combination in pairs and count the observations in order to obtain something like this? (2,2,1) (4,3,2) (4,5,1) (5,4,1) (4,4,2) (