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

2012-08-10 Thread Rutger
Hey, If youre example data is realistic, or if you know the range of values on forehand, this might work: /a = np.random.randint(0,5,(5,5)) # generate some example data between 0 and 5 b = np.random.randint(0,5,(5,5)) # generate some example data between 0 and 5 # create a new array with the

Re: [gdal-dev] What should I expect?

2012-08-10 Thread Martin Chapman
Jorge, It's a south up image. If the gsd x value is negative the image is an east to west image. Normally a north up image will have a positive gsd x and a negative gsd y. Marty -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On

Re: [gdal-dev] What should I expect?

2012-08-10 Thread Jorge Arevalo
Hi, Many thanks for your response, Martin. So, it doesn't need to be a mistake. Just a flipped image. The doubt raised because, for example, gdalbuildvrt doesn't accept ns positive resolution values. Looking at this old ticket http://trac.osgeo.org/gdal/ticket/3432, seems that that kind of