[QGIS Commit] r14674 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun Nov 14 18:57:03 EST 2010


Author: timlinux
Date: 2010-11-14 15:57:03 -0800 (Sun, 14 Nov 2010)
New Revision: 14674

Modified:
   trunk/qgis/src/app/qgsvectorlayerproperties.cpp
Log:
Show more user friendly CRS in vector props dialog

Modified: trunk/qgis/src/app/qgsvectorlayerproperties.cpp
===================================================================
--- trunk/qgis/src/app/qgsvectorlayerproperties.cpp	2010-11-14 23:56:57 UTC (rev 14673)
+++ trunk/qgis/src/app/qgsvectorlayerproperties.cpp	2010-11-14 23:57:03 UTC (rev 14674)
@@ -124,7 +124,7 @@
 
   updateButtons();
 
-  leSpatialRefSys->setText( layer->srs().toProj4() );
+  leSpatialRefSys->setText( "EPSG:" + QString::number( layer->crs().epsg() ) + " - " + layer->srs().description() );
   leSpatialRefSys->setCursorPosition( 0 );
 
   leEditForm->setText( layer->editForm() );
@@ -980,7 +980,7 @@
   }
   delete mySelector;
 
-  leSpatialRefSys->setText( layer->srs().toProj4() );
+  leSpatialRefSys->setText( "EPSG:" + QString::number( layer->crs().epsg() ) + " - " + layer->srs().description() );
   leSpatialRefSys->setCursorPosition( 0 );
 }
 



More information about the QGIS-commit mailing list