Skip to content

Commit

Permalink
Accept EPSG and epsg when constructing srs
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@8647 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jun 11, 2008
1 parent 040fc3f commit 3c57584
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/qgsspatialrefsys.cpp
Original file line number Diff line number Diff line change
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 3c57584

Please sign in to comment.