Skip to content
Permalink
Browse files

[georef] Show messages when georeferencer creates a world file

(fix #7429). Also fix raster not loaded into main canvas when
creating a world file (fix #10018).
  • Loading branch information
nyalldawson committed Jun 21, 2015
1 parent 9041950 commit 759d85a2f2d831c8749d9087d0ec7d1ae1550aa0
@@ -1333,17 +1333,20 @@ bool QgsGeorefPluginGui::georeference()
return false;
}

bool success = writeWorldFile( origin, pixelXSize, pixelYSize, rotation );
if ( success && !mPdfOutputFile.isEmpty() )
if ( !writeWorldFile( origin, pixelXSize, pixelYSize, rotation ) )
{
return false;
}

if ( !mPdfOutputFile.isEmpty() )
{
writePDFReportFile( mPdfOutputFile, mGeorefTransform );
}
if ( success && !mPdfOutputMapFile.isEmpty() )
if ( !mPdfOutputMapFile.isEmpty() )
{
writePDFMapFile( mPdfOutputMapFile, mGeorefTransform );
}


return true;
}
else // Helmert, Polinom 1, Polinom 2, Polinom 3
{
@@ -226,7 +226,7 @@
<item row="2" column="0" colspan="2">
<widget class="QCheckBox" name="mWorldFileCheckBox">
<property name="text">
<string>Create world file</string>
<string>Create world file only (linear transforms)</string>
</property>
</widget>
</item>

0 comments on commit 759d85a

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