You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
35 KiB
JavaScript
2 lines
35 KiB
JavaScript
2 weeks ago
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[171],{423:function(e,t,r){"use strict";r.r(t);var o=r(3),n=r(10),i=r(2),a=r(27),p=r(138),s=r(39),c=r(23),u=r(36),l=r(72),b=r(87),g=r(32),y=r(0),m=r(12),O=r(1),h=r(17),w=r(4),f=r(6),j=r(41),d=s.a+" http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd",v={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"},S=function(e){function t(t){var r=t||{};e.call(this,r),this.surface_=void 0!==r.surface&&r.surface,this.curve_=void 0!==r.curve&&r.curve,this.multiCurve_=void 0===r.multiCurve||r.multiCurve,this.multiSurface_=void 0===r.multiSurface||r.multiSurface,this.schemaLocation=r.schemaLocation?r.schemaLocation:d,this.hasZ=void 0!==r.hasZ&&r.hasZ}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.readMultiCurve=function(e,t){var r=Object(y.u)([],this.MULTICURVE_PARSERS,e,t,this);return r?new l.a(r):void 0},t.prototype.readMultiSurface=function(e,t){var r=Object(y.u)([],this.MULTISURFACE_PARSERS,e,t,this);if(r)return new b.a(r)},t.prototype.curveMemberParser=function(e,t){Object(y.t)(this.CURVEMEMBER_PARSERS,e,t,this)},t.prototype.surfaceMemberParser=function(e,t){Object(y.t)(this.SURFACEMEMBER_PARSERS,e,t,this)},t.prototype.readPatch=function(e,t){return Object(y.u)([null],this.PATCHES_PARSERS,e,t,this)},t.prototype.readSegment=function(e,t){return Object(y.u)([null],this.SEGMENTS_PARSERS,e,t,this)},t.prototype.readPolygonPatch=function(e,t){return Object(y.u)([null],this.FLAT_LINEAR_RINGS_PARSERS,e,t,this)},t.prototype.readLineStringSegment=function(e,t){return Object(y.u)([null],this.GEOMETRY_FLAT_COORDINATES_PARSERS,e,t,this)},t.prototype.interiorParser=function(e,t){var r=Object(y.u)(void 0,this.RING_PARSERS,e,t,this);r&&t[t.length-1].push(r)},t.prototype.exteriorParser=function(e,t){var r=Object(y.u)(void 0,this.RING_PARSERS,e,t,this);r&&(t[t.length-1][0]=r)},t.prototype.readSurface=function(e,t){var r=Object(y.u)([null],this.SURFACE_PARSERS,e,t,this);if(r&&r[0]){var o,n,i=r[0],a=[i.length];for(o=1,n=r.length;o<n;++o)Object(h.c)(i,r[o]),a.push(i.length);return new g.b(i,c.a.XYZ,a)}},t.prototype.readCurve=function(e,t){var r=Object(y.u)([null],this.CURVE_PARSERS,e,t,this);return r?new u.a(r,c.a.XYZ):void 0},t.prototype.readEnvelope=function(e,t){var r=Object(y.u)([null],this.ENVELOPE_PARSERS,e,t,this);return Object(O.l)(r[1][0],r[1][1],r[2][0],r[2][1])},t.prototype.readFlatPos=function(e,t){for(var r,o=Object(y.d)(e,!1),n=/^\s*([+\-]?\d*\.?\d+(?:[eE][+\-]?\d+)?)\s*/,i=[];r=n.exec(o);)i.push(parseFloat(r[1])),o=o.substr(r[0].length);if(""===o){var a,p,s=t[0].srsName,c="enu";if(s)c=Object(w.j)(s).getAxisOrientation();if("neu"===c)for(a=0,p=i.length;a<p;a+=3){var u=i[a],l=i[a+1];i[a]=l,i[a+1]=u}var b=i.length;if(2==b&&i.push(0),0!==b)return i}},t.prototype.readFlatPosList=function(e,t){var r=Object(y.d)(e,!1).replace(/^\s*|\s*$/g,""),o=t[0],n=o.srsName,i=o.srsDimension,a="enu";n&&(a=Object(w.j)(n).getAxisOrientation());var p,s,c,u=r.split(/\s+/),l=2;e.getAttribute("srsDimension")?l=Object(f.g)(e.getAttribute("srsDimension")):e.getAttribute("dimension")?l=Object(f.g)(e.getAttribute("dimension")):e.parentNode.getAttribute("srsDimension")?l=Object(f.g)(e.parentNode.getAttribute("srsDimension")):i&&(l=Object(f.g)(i));for(var b=[],g=0,m=u.length;g<m;g+=l)p=parseFloat(u[g]),s=parseFloat(u[g+1]),c=3===l?parseFloat(u[g+2]):0,"en"===a.substr(0,2)?b.push(p,s,c):b.push(s,p,c);return b},t.prototype.writePos_=function(e,t,r){var o=r[r.length-1],n=o.hasZ,i=n?"3":"2";e.setAttribute("srsDimension",i);var a=o.srsName,p="enu";a&&(p=Object(w.j)(a).getAxisOrientation());var s,c=t.getCoordinates();(s="en"===p.substr(0,2)?c[0]+" "+c[1]:c[1]+" "+c[0],n)&&(s+=" "+(c[2]||0));Object(f.n)(e,s)},t.prototype.getCoords_=function(e,t,r){var o="enu";t&&(o=Object(w.j)(t).getAxisOrientation());var n="en"===o.substr(0,2)?e[0]+" "+e[1]:e[1]+" "+e[0];r&&(n+=" "+(e[2]||0));return n},t.prototype.writePosList_=function(e,t,r){var o=r[r.length-1],n=o.hasZ,i=n?"3":"2";e.setAtt
|
||
|
//# sourceMappingURL=vector-wfs-getfeature.js.map
|