I ran a quick test and confirmed that gdal.AutoCreateWarpedVRT is returning different results than osr.CoordinateTransformation. <div><br></div><div>I.E. I opened a file using:</div><div>Dataset dataset = gdal.Open("/images/image.tif");</div>
<div><br></div><div>I grabbed the corner point and used osr.CoordinateTransformation.TransformPoint(), to transform the point into EPSG:4326.</div><div><br></div><div>I warped the dataset using gdal.AutoCreateWarpedVRT, grabbed the corner point and the corner point was a little different.</div>
<div><br></div><div>I am not sure if that is expected behavior or not. Hopefully I am just missing some static files and one of the transformations was not quite right. I tried all the different sampling algos available for the AutoCreateWarpedVRT and that did not make a huge difference.</div>
<div><br></div><div>Is warp using a different method to transform the points? If so is that transformation available via the API?</div><div><br></div><div>I understand that not all calcs may be exact between these two but I would expect the corner point to be almost exact.</div>
<div><br></div><div>Any ideas?</div><div><br></div><div>Thanks,</div><div>Billy</div>