Re: [gdal-dev] GCP reprojection

2012-12-21 Thread Fabian Schindler
Hi devs, Sorry for the noise, I figured it out. Seems like it worked all along with order 1, but I was just to blind to see. Regards, Fabian On 12/18/2012 04:12 PM, Fabian Schindler wrote: Sorry for the traffic, just forgot to say that with the command line utilities it works as expected:

Re: [gdal-dev] GCP reprojection

2012-12-18 Thread Fabian Schindler
Sorry for the traffic, just forgot to say that with the command line utilities it works as expected: gdal_translate -gcp 0 0 16.1 48.5 -gcp 604 0 16.168 48.5033 -gcp 604 297 16.168035 48.4835 -gcp 604 594 16.16804 48.4636 -gcp 0 594 16.1001 48.46 -gcp 0 297 16.1 48.48 input.jpg tmp.tif gdalwa

[gdal-dev] GCP reprojection

2012-12-18 Thread Fabian Schindler
Hey devs, I've spent a full day to find a solution to this, but unfortunately was not able to solve it, so you are my last hope :) I'm trying to reproject an image with GCPs to a CRS specified by WKT. I used `gdal.AutoCreateWarpedVRT` to retrieve the output image size + geotransform in conj