[gdal-dev] images with different resolution.

Oliver Eichler oliver.eichler at gmx.de
Thu Sep 18 12:09:59 EDT 2008

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 a code example?
> Thanks.
> Michele Sanges

Hi Michele 

Use gdal_translate to equalize the resolution ;) 

Or you equalize the maps on-the-fly by feeding the right parameters to 
RasterIO. The current code in svn of QLandkarte GT (www.qlandkarte.org) does 
what you want. Have a look CMapQMAP::draw(QPainter& p). 


More information about the gdal-dev mailing list