Ok I think I get exactly what you are saying.<br><br>Dataset dataset = // image file dataset in wrong projection<br>Dataset epsg4326Dataset = gdal.AutoCreateWarpedVrt(....);<br>double[] geoTransform = epsg4326Dataset.GetGeoTransform();<br>

// grab out the corner point in epsg:4326<br><br>So doing that won&#39;t actually warp the image right?  Only creating virtual warped points when you ask for them?<br><br>Thanks again for all the help, I really appreciate it.<br>

<br>Billy<br><br><div class="gmail_quote">On Sat, May 5, 2012 at 4:40 PM, Frank Warmerdam <span dir="ltr">&lt;<a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On 12-05-05 02:22 PM, Billy Newman wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Still very confused.<br>
<br>
I have a tiff file.  I want to get the metadata for that tiff but in EPSG:4326,<br>
without actually warping the image.  I can use CoordinateTransformation to do<br>
this, but again it gives me different results than gdalwarp.<br>
<br>
I will use gdalwarp later (realtime) to serve out an image.  But if the<br>
metadata I store (from CoordinateTransformation) is different than the metadata<br>
when I warp I will run into problems.<br>
<br>
gdalwarp gives something like minLon = 30.300001234, but<br>
CoordinateTransformation gives minLon = 30.29988787.  I want to gdalwarp number<br>
but without actually warping the entire image.<br>
<br>
I am not sure what .vrt file you are talking about.<br>
</blockquote>
<br></div>
Billy,<br>
<br>
The subject line of this thread is about AutoCreateWarpedVRT().  I&#39;m talking<br>
about the VRT created by it.  Note that creating the VRT does not actually<br>
do any work to warp the image - it just create a description of how the<br>
warp would be done in the form of a pseudo-dataset - a VRT.<div class="HOEnZb"><div class="h5"><br>
<br>
Best regards,<br>
-- <br>
------------------------------<u></u>---------+--------------------<u></u>------------------<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://home.gdal.org/warmerda" target="_blank">http://home.gdal.org/warmerda</a><br>
and watch the world go round - Rush    | Geospatial Software Developer<br>
<br>
</div></div></blockquote></div><br>