Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 committed Jun 11, 2008
1 parent e4ae4b1 commit 2ee3409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/qgsspatialrefsys.cpp
Expand Up @@ -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")
{
Expand Down

0 comments on commit 2ee3409

Please sign in to comment.