<div dir="ltr">Wim,<div><br></div><div style>I have remove the comment you quoted. It is from the distant past. What you should understand is that this isn't the *only* way to express georeferencing for GDAL images. You can also use Ground Control Points, RPCs and geolocation arrays. However GeoTransforms are the most common way and sufficient for many situations.</div>
<div style><br></div><div style>Is the relationship between your images and geographic (lat/long) coordinate space affine? If so, a geotransform will do just fine. (ie. is the pixel spacing uniform over the image in terms of decimal degrees)</div>
<div style><br></div><div style>Best regards,</div><div style>Frank</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 23, 2013 at 4:37 AM, Wim de Vries <span dir="ltr"><<a href="mailto:wsvries@xs4all.nl" target="_blank">wsvries@xs4all.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hi,<br>
I want to go from x,y (pixels) to lon,lat and vice versa, using
geotiffs.<br>
I have found the <a href="http://www.gdal.org/classGDALDataset.html#af9593cc241e7d140f5f3c4798a43a668" title="Fetch the affine transformation coefficients." target="_blank">GetGeoTransform()</a>
function, but the documentations says:<br>
<br>
"NOTE: <a href="http://www.gdal.org/classGDALDataset.html#af9593cc241e7d140f5f3c4798a43a668" title="Fetch the affine transformation coefficients." target="_blank">GetGeoTransform()</a>
isn't expressive enough to handle the variety of OGC Grid Coverages
pixel/line to projection transformation schemes. Eventually this
method will be depreciated in favour of a more general scheme."<br>
<br>
I googled a lot, but cannot find out what is meant exactly by "OGC
Grid Coverages". I am just working with a simple cartesian x,y grid.<br>
<br>
Anyone willing to explain a bit more.<br>
Thanks.<br>
</div>
<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>light and sound - activate the windows | <a href="http://pobox.com/~warmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush | Geospatial Software Developer<br>
</div>