<div>Hello..</div>  <div>&nbsp;</div>  <div>I am trying to find a more accurate geo transform than the least squares used</div>  <div>in the GDALGCPsToGeoTransform API.</div>  <div>&nbsp;</div>  <div>I would like to use the thin plate splines, but am having trouble getting good results.</div>  <div>&nbsp;</div>  <div>I am trying to use a reference image with 8 GCPs, and the image transformer with</div>  <div>the nOrder = -1 argument.&nbsp; Is this a feasible approach?</div>  <div>&nbsp;</div>  <div>I continually get a resulting geo transform with values on the order of 1e+70 (someone</div>  <div>may have seen this?).</div>  <div>&nbsp;</div>  <div>Here's the procedure I used:</div>  <div>&nbsp;</div>  <div>1)&nbsp; Load a JPEG raster (it will be the hSrcDS).</div>  <div>2)&nbsp; Set the dataset's projection (as generic WGS-84).</div>  <div>3)&nbsp; Set the dataset's GCPs.</div>  <div>4)&nbsp; Create the img transform object, using NULLs in the destination parameters.&nbsp;
 (I wanted to go from pixel/line to georef).</div>  <div>5)&nbsp; Get the dest geo transform and warped image size with the GDALGetSuggestedWarpOutput API.</div>  <div>6).&nbsp;Create the new vrt warped dataset with the image size and geo transform in 5) and</div>  <div>&nbsp;&nbsp;&nbsp;&nbsp; the warp options object required to do the warping.</div>  <div>7).&nbsp;Warp the image.</div>  <div>8).&nbsp; Cleanup/render.</div>  <div>&nbsp;</div>  <div>I am getting a strange image that contains the correct color data + black filler pixels but is curved in a semicircular pattern.&nbsp; I assume that this is not the intent of the warper or</div>  <div>I have not set it up correctly.&nbsp; Can anyone help?</div>  <div>&nbsp;</div>  <div>Thanks,</div>  <div>&nbsp;</div>  <div>Chris Pozsgai</div><BR><BR><p>&#32;

<hr size=1>
<a href="http://us.rd.yahoo.com/evt=49678/*http://smallbusiness.yahoo.com/domains/?p=BESTDEAL"> Get your own web address.</a><br> Have a HUGE year through <a href="
http://us.rd.yahoo.com/evt=49678/*http://smallbusiness.yahoo.com/domains/?p=BESTDEAL">Yahoo! Small Business.</a>