Skip to content
Permalink
Browse files

Accept EPSG and epsg when constructing srs

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8647 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Jun 11, 2008
1 parent e4ae4b1 commit 2ee34099b5585832ebe97173bac3a6894462656e
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/qgsspatialrefsys.cpp
@@ -93,11 +93,11 @@ bool QgsSpatialRefSys::createFromOgcWmsCrs(QString theCrs)
{
QStringList parts = theCrs.split(":");

if (parts.at(0) == "EPSG")
if(parts.at(0).compare("EPSG", Qt::CaseInsensitive) == 0)
{
createFromEpsg( parts.at(1).toLong() );
}
else if (parts.at(0) == "CRS")
else if(parts.at(0).compare("CRS", Qt::CaseInsensitive) == 0)
{
if (parts.at(1) == "84")
{

0 comments on commit 2ee3409

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