Commit 7871cd7b authored by Michael Adair's avatar Michael Adair
Browse files

re #73: patch applied correctly this time

parent 80fcf3c0
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -535,7 +535,6 @@ Proj4js.Proj = Proj4js.Class({
            //http://librairies.ign.fr/geoportail/resources/RIG.xml#
            //http://interop.ign.fr/registers/ign/RIG.xml#
            srsCode = 'IGNF:'+url[1];
          }
          } else if (url[0].indexOf('/def/crs/')!=-1) { 
             // http://www.opengis.net/def/crs/EPSG/0/code 
             url= srsCode.split('/'); 
@@ -543,6 +542,7 @@ Proj4js.Proj = Proj4js.Class({
             url.pop();//version FIXME 
             srsCode = url.pop()+':'+srsCode;//authority 
          }
      }
      this.srsCode = srsCode.toUpperCase();
      if (this.srsCode.indexOf("EPSG") == 0) {
          this.srsCode = this.srsCode;