Re: [gdal-dev] Help with finding residual error for a given GCP.

2020-04-22 Thread Hays Barrett
That works great! Thanks Evan! From: "Even Rouault" To: gdal-dev@lists.osgeo.org Cc: "Hays Barrett" Sent: Tuesday, April 21, 2020 7:18:04 AM Subject: Re: [gdal-dev] Help with finding residual error for a given GCP. Hays, GCPsToGeoTransform() is not used

Re: [gdal-dev] Help with finding residual error for a given GCP.

2020-04-21 Thread Even Rouault
Hays, GCPsToGeoTransform() is not used directly by gdalwarp (although it should likely be equivalent to running -order 1 polynomial), but by other code (OZI .map exporting, .tab exporting) You rather want to use the gdal.Transformer() API which is tested in https://github.com/OSGeo/gdal/blob/

[gdal-dev] Help with finding residual error for a given GCP.

2020-04-20 Thread Hays Barrett
Hello all, I want to get the error for each GCP before warping so I can calculate the RMSE before georeferencing. With a list of GCPs, is it possible to get the eventual map location of each pixel coordinate to calculate the transformation error for each GCP? I have tried to use GCPsToGeoTrans