Re: [gdal-dev] images with different resolution.

2008-09-19 Thread Oliver Eichler
> As Oliver as said, this is made with the RasterIO function, I think with > the > nPixelSpace parameter. But what is the relation between the parameters > nPixelSpace to pass to the the RasterIO function, and the > adfGeoTransform[] > of the two maps? Hi Michele The trick is to define a common

Re: [gdal-dev] images with different resolution.

2008-09-19 Thread Michele Sanges
Hi, thanks for your replies. Suppose that in my application the region is empty, there are not maps loaded. The user opens a map with a its own resolution; now the region is the whole map. Then the user opens another map with resolution different from the previous one. In order to represent simu

Re: [gdal-dev] images with different resolution.

2008-09-18 Thread Oliver Eichler
On Thursday, 18. September 2008 17:32:36 Michele Sanges wrote: > Hello all, > > what is the best way to represent two raster images with different > resolution? > In other words, how do I calculate the offset respect to the upper left > corner of the region that includes both the images? > Is there

Re: [gdal-dev] images with different resolution.

2008-09-18 Thread Frank Warmerdam
On 9/18/08, Michele Sanges <[EMAIL PROTECTED]> wrote: > Hello all, > > what is the best way to represent two raster images with different > resolution? > In other words, how do I calculate the offset respect to the upper left > corner of the region that includes both the images? > Is there a code

[gdal-dev] images with different resolution.

2008-09-18 Thread Michele Sanges
Hello all, what is the best way to represent two raster images with different resolution? In other words, how do I calculate the offset respect to the upper left corner of the region that includes both the images? Is there a code example? Thanks. Michele Sanges ___