[gdal-dev] pixel/line mapping for two images.

Belaid MOA belaid_moa at hotmail.com
Sat Sep 12 03:06:48 EDT 2009

Hi everyone,
  I have two elementary questions about how GDAL maps the pixel/line of one image to an other image.
Suppose we have two GeoTiff images with different spatial resolutions  and projections. 
According to GDAL code, a pixel/line (i,j), more precisely its center (i+0.5,j+0.5), of the first image is mapped to the pixel/line (p,q) of the second image, where p and q are doubles that usually have fraction parts. 
My questions are: what is the meaning for these fractions? Is it possible to use these fractions to compute the overlap between
the pixels of the two images using GDAL?

 Any help on this is very appreciated!
 Thank you very much in advance.



New: Messenger sign-in on the MSN homepage
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090912/5d1c58fa/attachment.html

More information about the gdal-dev mailing list