<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Sorry for that simple following question, but I 
really don't find the answer in the doc:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I convert a pixel/line to lat/long using the 
following code:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>bool CoxGisGdalFile::PixelLineToLatLong(int 
aPixel,int aLine,double* aLat, double* aLong)<BR>{</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;// Cf&nbsp;<A 
href="http://www.remotesensing.org/gdal/class_GDALDataset.html#a8">http://www.remotesensing.org/gdal/class_GDALDataset.html#a8</A><BR>&nbsp;&nbsp;*aLat 
= mGeoTransform[3] + mGeoTransform[4] * (double)aPixel + mGeoTransform[5] * 
(double)aLine ;<BR>&nbsp;&nbsp;*aLong = mGeoTransform[0] + mGeoTransform[1] * 
(double)aPixel + mGeoTransform[2] * (double)aLine ;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; if( 
!OCTTransform(mTransform,1,aLong,aLat,NULL) )<BR></FONT><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return false ;</FONT><FONT 
face=Arial size=2></DIV></FONT>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; return true 
;<BR>}<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>But how to convert from lat/long to pixel/line 
???</DIV></FONT></BODY></HTML>