Skip to content

Commit

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

Please sign in to comment.