[gdal-dev] Re: Help with setting GCPs in a GeoTiff

2011-10-09 Thread Jukka Rahkonen
matt.feemster ga-asi.com> writes: > > And shouldn't the far pixel count be the extent minus one since it's zero > indexed? Yes, but remember that the anchor point is in the top-left corner or the pixel and therefore extent minus one might give you a different result than you believe. The right

[gdal-dev] Re: Help with setting GCPs in a GeoTiff

2011-10-07 Thread matt.feemster
Thanks for the help guys. I've managed to figure it out in code. A quick note though, wouldn't X correspond to lon (increase/decrease horizontally) and Y correspond to lat (increase/decrease vertically)? And shouldn't the far pixel count be the extent minus one since it's zero indexed? Here is a

[gdal-dev] Re: Help with setting GCPs in a GeoTiff

2011-10-06 Thread Jukka Rahkonen
matt.feemster ga-asi.com> writes: > So my question involves three steps: > > 1) Is it possible to store only corner coordinates as a way of telling > GDAL/GeoTiff what the geo information is for a GeoTiff? Again, > transformations will not work here. Yes > 2) If it is possible, how to go about