Navigation Menu

Skip to content

Commit

Permalink
Georeferencer: support custom projection strings. Fixes #2464.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@12964 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mmassing committed Feb 23, 2010
1 parent 38c5d72 commit e078544
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/plugins/georeferencer/qgstransformsettingsdialog.cpp
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit e078544

Please sign in to comment.