Skip to content

Commit 9f91c54

Browse files
author
timlinux
committed
Show more user friendly CRS in vector props dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14674 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 9774a6e commit 9f91c54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/qgsvectorlayerproperties.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ QgsVectorLayerProperties::QgsVectorLayerProperties(
124124

125125
updateButtons();
126126

127-
leSpatialRefSys->setText( layer->srs().toProj4() );
127+
leSpatialRefSys->setText( "EPSG:" + QString::number( layer->crs().epsg() ) + " - " + layer->srs().description() );
128128
leSpatialRefSys->setCursorPosition( 0 );
129129

130130
leEditForm->setText( layer->editForm() );
@@ -980,7 +980,7 @@ void QgsVectorLayerProperties::on_pbnChangeSpatialRefSys_clicked()
980980
}
981981
delete mySelector;
982982

983-
leSpatialRefSys->setText( layer->srs().toProj4() );
983+
leSpatialRefSys->setText( "EPSG:" + QString::number( layer->crs().epsg() ) + " - " + layer->srs().description() );
984984
leSpatialRefSys->setCursorPosition( 0 );
985985
}
986986

0 commit comments

Comments
 (0)