Skip to content
Permalink
Browse files

Fix gcp coordinate sign in generated gdal script.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13295 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mmassing
mmassing committed Apr 11, 2010
1 parent c2f3c52 commit 87984bef0ca6e36e5401cd128993739e1b8ad8ed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/plugins/georeferencer/qgsgeorefplugingui.cpp
@@ -1175,7 +1175,7 @@ QString QgsGeorefPluginGui::gdal_translateCommand( bool generateTFW )

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() );
}

0 comments on commit 87984be

Please sign in to comment.
You can’t perform that action at this time.