Skip to content
Permalink
Browse files

Georeferencer: support custom projection strings. Fixes #2464.

git-svn-id: http://svn.osgeo.org/qgis/trunk@12964 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mmassing
mmassing committed Feb 23, 2010
1 parent 38c5d72 commit e07854458db2a7d7a26848a8ffdd055491e7b773
Showing with 11 additions and 1 deletion.
  1. +11 −1 src/plugins/georeferencer/qgstransformsettingsdialog.cpp
@@ -157,7 +157,17 @@ void QgsTransformSettingsDialog::on_tbnTargetSRS_clicked()

if (srsSelector.exec())
{
QString srs = QString("EPSG: %1").arg(projSelector->selectedEpsg());
QString srs;
// If the selected target SRS has an EPSG ID, use this as identification
if (projSelector->selectedEpsg())
{
srs = QString("EPSG: %1").arg(projSelector->selectedEpsg());
}
else
{
// Describe target SRS by its proj4 string
srs = projSelector->selectedProj4String();
}
leTargetSRS->setText(srs);
}
}

0 comments on commit e078544

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