@@ -1237,9 +1237,18 @@ bool QgsGeorefPluginGui::writePDFReportFile( const QString& fileName, const QgsG
1237
1237
1238
1238
if ( wldTransform )
1239
1239
{
1240
+ QString parameterTitle = tr ( " Transformation parameters" );
1241
+ if ( transform.transformParametrisation () == QgsGeorefTransform::Helmert )
1242
+ {
1243
+ parameterTitle += " (Helmert)" ;
1244
+ }
1245
+ else if ( transform.transformParametrisation () == QgsGeorefTransform::Linear )
1246
+ {
1247
+ parameterTitle += " (Linear)" ;
1248
+ }
1240
1249
parameterLabel = new QgsComposerLabel ( composition );
1241
1250
parameterLabel->setFont ( titleFont );
1242
- parameterLabel->setText ( tr ( " Transformation parameters " ) );
1251
+ parameterLabel->setText ( parameterTitle );
1243
1252
parameterLabel->adjustSizeToText ();
1244
1253
composition->addItem ( parameterLabel );
1245
1254
parameterLabel->setSceneRect ( QRectF ( 2 , composerMap->rect ().bottom () + composerMap->transform ().dy () + 5 , composition->paperWidth (), 8 ) );
@@ -1366,8 +1375,8 @@ bool QgsGeorefPluginGui::writePDFReportFile( const QString& fileName, const QgsG
1366
1375
{
1367
1376
currentGCPStrings << tr ( " no" );
1368
1377
}
1369
- currentGCPStrings << QString::number (( *gcpIt )->pixelCoords ().x () ) << QString::number (( *gcpIt )->pixelCoords ().y () ) << QString::number (( *gcpIt )->mapCoords ().x () )\
1370
- << QString::number (( *gcpIt )->mapCoords ().y () ) << QString::number ( residualX ) << QString::number ( residualY ) << QString::number ( residualTot );
1378
+ currentGCPStrings << QString::number (( *gcpIt )->pixelCoords ().x (), ' f ' , 2 ) << QString::number (( *gcpIt )->pixelCoords ().y (), ' f ' , 2 ) << QString::number (( *gcpIt )->mapCoords ().x (), ' f ' , 2 )\
1379
+ << QString::number (( *gcpIt )->mapCoords ().y (), ' f ' , 2 ) << QString::number ( residualX ) << QString::number ( residualY ) << QString::number ( residualTot );
1371
1380
gcpTable->addRow ( currentGCPStrings );
1372
1381
}
1373
1382
0 commit comments