Skip to content

Commit 3c57584

Browse files
author
mhugent
committedJun 11, 2008
Accept EPSG and epsg when constructing srs
git-svn-id: http://svn.osgeo.org/qgis/trunk@8647 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 040fc3f commit 3c57584

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/core/qgsspatialrefsys.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ bool QgsSpatialRefSys::createFromOgcWmsCrs(QString theCrs)
9393
{
9494
QStringList parts = theCrs.split(":");
9595

96-
if (parts.at(0) == "EPSG")
96+
if(parts.at(0).compare("EPSG", Qt::CaseInsensitive) == 0)
9797
{
9898
createFromEpsg( parts.at(1).toLong() );
9999
}
100-
else if (parts.at(0) == "CRS")
100+
else if(parts.at(0).compare("CRS", Qt::CaseInsensitive) == 0)
101101
{
102102
if (parts.at(1) == "84")
103103
{

0 commit comments

Comments
 (0)
Please sign in to comment.