Commit 601dd0de authored by Michael Adair's avatar Michael Adair
Browse files

closes #39: URN parsing

parent 32588ec4
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -461,9 +461,8 @@ Proj4js.Proj = Proj4js.Class({
          var urn = srsCode.split(':');
          if ((urn[1] == 'ogc' || urn[1] =='x-ogc') &&
              (urn[2] =='def') &&
              (urn[3] =='crs') &&
              urn.length == 7) {
              srsCode = urn[4]+':'+urn[6];
              (urn[3] =='crs')) {
              srsCode = urn[4]+':'+urn[urn.length-1];
          }
      } else if (srsCode.indexOf('http://') == 0) {
          //url#ID