[gdal-dev] Re: Add GCP's to a file

Jukka Rahkonen jukka.rahkonen at mmmtike.fi
Sun Feb 21 04:05:48 EST 2010


Frank wrote:

>> Also the extents reported by gdalinfo are the widest possible extents
 and if 
>> those are to be used only UL coordinated can be used as it.  For 
other three
>> corners there is a need to minus one pixel size in one or both axis 
directions.

> The lower right corner reported by gdalinfo would be at
> pixel/line coordinate (xsize,ysize).

Last pixel/line of, let's say 1000 by 1000 pixel image is (999,999). So it is
possible to give a GCP to pixel (1000,1000), that is actually outside of the
image? Knowing that would have saved me some work.

-Jukka-




More information about the gdal-dev mailing list