[QGIS Commit] r13295 - trunk/qgis/src/plugins/georeferencer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun Apr 11 08:44:01 EDT 2010


Author: mmassing
Date: 2010-04-11 08:44:00 -0400 (Sun, 11 Apr 2010)
New Revision: 13295

Modified:
   trunk/qgis/src/plugins/georeferencer/qgsgeorefplugingui.cpp
Log:
Fix gcp coordinate sign in generated gdal script.

Modified: trunk/qgis/src/plugins/georeferencer/qgsgeorefplugingui.cpp
===================================================================
--- trunk/qgis/src/plugins/georeferencer/qgsgeorefplugingui.cpp	2010-04-11 07:16:04 UTC (rev 13294)
+++ trunk/qgis/src/plugins/georeferencer/qgsgeorefplugingui.cpp	2010-04-11 12:44:00 UTC (rev 13295)
@@ -1175,7 +1175,7 @@
 
   foreach( QgsGeorefDataPoint *pt, mPoints )
   {
-    gdalCommand << QString( "-gcp %1 %2 %3 %4" ).arg( pt->pixelCoords().x() ).arg( pt->pixelCoords().y() )
+    gdalCommand << QString( "-gcp %1 %2 %3 %4" ).arg( pt->pixelCoords().x() ).arg( -pt->pixelCoords().y() )
     .arg( pt->mapCoords().x() ).arg( pt->mapCoords().y() );
   }
 



More information about the QGIS-commit mailing list