Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix gcp coordinate sign in generated gdal script.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13295 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mmassing committed Apr 11, 2010
1 parent dc39570 commit 8b0ba23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/georeferencer/qgsgeorefplugingui.cpp
Expand Up @@ -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() );
}

Expand Down

0 comments on commit 8b0ba23

Please sign in to comment.