@loaders.gl/wms 3.4.0-alpha.3 → 4.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dist.min.js +133 -80
- package/dist/es5/csw-capabilities-loader.js +1 -1
- package/dist/es5/csw-capabilities-loader.js.map +1 -1
- package/dist/es5/csw-domain-loader.js +1 -1
- package/dist/es5/csw-domain-loader.js.map +1 -1
- package/dist/es5/csw-records-loader.js +1 -1
- package/dist/es5/csw-records-loader.js.map +1 -1
- package/dist/es5/gml-loader.js +1 -1
- package/dist/es5/gml-loader.js.map +1 -1
- package/dist/es5/lerc-loader.js +1 -1
- package/dist/es5/lerc-loader.js.map +1 -1
- package/dist/es5/lib/create-image-source.js.map +1 -1
- package/dist/es5/lib/parsers/csw/parse-csw-capabilities.js +2 -1
- package/dist/es5/lib/parsers/csw/parse-csw-capabilities.js.map +1 -1
- package/dist/es5/lib/parsers/csw/parse-csw-domain.js +2 -1
- package/dist/es5/lib/parsers/csw/parse-csw-domain.js.map +1 -1
- package/dist/es5/lib/parsers/csw/parse-csw-records.js +6 -5
- package/dist/es5/lib/parsers/csw/parse-csw-records.js.map +1 -1
- package/dist/es5/lib/parsers/csw/parse-exception-report.js.map +1 -1
- package/dist/es5/lib/parsers/gml/deep-strict-equal.js.map +1 -1
- package/dist/es5/lib/parsers/gml/parse-gml.js +2 -1
- package/dist/es5/lib/parsers/gml/parse-gml.js.map +1 -1
- package/dist/es5/lib/parsers/wms/parse-wms-capabilities.js +2 -1
- package/dist/es5/lib/parsers/wms/parse-wms-capabilities.js.map +1 -1
- package/dist/es5/lib/parsers/wms/parse-wms-features.js +2 -2
- package/dist/es5/lib/parsers/wms/parse-wms-features.js.map +1 -1
- package/dist/es5/lib/parsers/wms/parse-wms-layer-description.js +2 -1
- package/dist/es5/lib/parsers/wms/parse-wms-layer-description.js.map +1 -1
- package/dist/es5/lib/parsers/xml/parse-xml-helpers.js.map +1 -1
- package/dist/es5/lib/services/arcgis/arcgis-image-service.js +1 -6
- package/dist/es5/lib/services/arcgis/arcgis-image-service.js.map +1 -1
- package/dist/es5/lib/services/arcgis/arcgis-server.js.map +1 -1
- package/dist/es5/lib/services/generic/image-service.js +1 -6
- package/dist/es5/lib/services/generic/image-service.js.map +1 -1
- package/dist/es5/lib/services/ogc/csw-service.js +0 -2
- package/dist/es5/lib/services/ogc/csw-service.js.map +1 -1
- package/dist/es5/lib/services/ogc/wms-service.js +62 -20
- package/dist/es5/lib/services/ogc/wms-service.js.map +1 -1
- package/dist/es5/lib/sources/data-source.js +36 -8
- package/dist/es5/lib/sources/data-source.js.map +1 -1
- package/dist/es5/lib/sources/image-source.js.map +1 -1
- package/dist/es5/lib/sources/tile-source.js.map +1 -1
- package/dist/es5/lib/wfs/parse-wfs.js +41 -0
- package/dist/es5/lib/wfs/parse-wfs.js.map +1 -0
- package/dist/es5/lib/wmts/parse-wmts.js +41 -0
- package/dist/es5/lib/wmts/parse-wmts.js.map +1 -0
- package/dist/es5/wip/arcgis-feature-service.js.map +1 -1
- package/dist/es5/wip/lib/wcs/parse-wcs-capabilities.js +2 -1
- package/dist/es5/wip/lib/wcs/parse-wcs-capabilities.js.map +1 -1
- package/dist/es5/wip/lib/wfs/parse-wfs-capabilities.js +2 -1
- package/dist/es5/wip/lib/wfs/parse-wfs-capabilities.js.map +1 -1
- package/dist/es5/wip/lib/wmts/parse-wmts-capabilities.js +2 -1
- package/dist/es5/wip/lib/wmts/parse-wmts-capabilities.js.map +1 -1
- package/dist/es5/wip/wcs-capabilities-loader.js +1 -1
- package/dist/es5/wip/wcs-capabilities-loader.js.map +1 -1
- package/dist/es5/wip/wfs-capabilities-loader.js +1 -1
- package/dist/es5/wip/wfs-capabilities-loader.js.map +1 -1
- package/dist/es5/wip/wms-feature-info-loader.js.map +1 -1
- package/dist/es5/wip/wms-layer-description-loader.js.map +1 -1
- package/dist/es5/wip/wmts-capabilities-loader.js +1 -1
- package/dist/es5/wip/wmts-capabilities-loader.js.map +1 -1
- package/dist/es5/wms-capabilities-loader.js +1 -1
- package/dist/es5/wms-capabilities-loader.js.map +1 -1
- package/dist/es5/wms-error-loader.js +1 -1
- package/dist/es5/wms-error-loader.js.map +1 -1
- package/dist/esm/csw-capabilities-loader.js +1 -1
- package/dist/esm/csw-capabilities-loader.js.map +1 -1
- package/dist/esm/csw-domain-loader.js +1 -1
- package/dist/esm/csw-domain-loader.js.map +1 -1
- package/dist/esm/csw-records-loader.js +1 -1
- package/dist/esm/csw-records-loader.js.map +1 -1
- package/dist/esm/gml-loader.js +1 -1
- package/dist/esm/gml-loader.js.map +1 -1
- package/dist/esm/lerc-loader.js +1 -1
- package/dist/esm/lerc-loader.js.map +1 -1
- package/dist/esm/lib/create-image-source.js.map +1 -1
- package/dist/esm/lib/parsers/csw/parse-csw-capabilities.js +2 -1
- package/dist/esm/lib/parsers/csw/parse-csw-capabilities.js.map +1 -1
- package/dist/esm/lib/parsers/csw/parse-csw-domain.js +2 -1
- package/dist/esm/lib/parsers/csw/parse-csw-domain.js.map +1 -1
- package/dist/esm/lib/parsers/csw/parse-csw-records.js +7 -6
- package/dist/esm/lib/parsers/csw/parse-csw-records.js.map +1 -1
- package/dist/esm/lib/parsers/csw/parse-exception-report.js.map +1 -1
- package/dist/esm/lib/parsers/gml/deep-strict-equal.js.map +1 -1
- package/dist/esm/lib/parsers/gml/parse-gml.js +2 -1
- package/dist/esm/lib/parsers/gml/parse-gml.js.map +1 -1
- package/dist/esm/lib/parsers/wms/parse-wms-capabilities.js +2 -1
- package/dist/esm/lib/parsers/wms/parse-wms-capabilities.js.map +1 -1
- package/dist/esm/lib/parsers/wms/parse-wms-features.js +2 -2
- package/dist/esm/lib/parsers/wms/parse-wms-features.js.map +1 -1
- package/dist/esm/lib/parsers/wms/parse-wms-layer-description.js +2 -1
- package/dist/esm/lib/parsers/wms/parse-wms-layer-description.js.map +1 -1
- package/dist/esm/lib/parsers/xml/parse-xml-helpers.js.map +1 -1
- package/dist/esm/lib/services/arcgis/arcgis-image-service.js +0 -2
- package/dist/esm/lib/services/arcgis/arcgis-image-service.js.map +1 -1
- package/dist/esm/lib/services/arcgis/arcgis-server.js.map +1 -1
- package/dist/esm/lib/services/generic/image-service.js +0 -2
- package/dist/esm/lib/services/generic/image-service.js.map +1 -1
- package/dist/esm/lib/services/ogc/csw-service.js +0 -2
- package/dist/esm/lib/services/ogc/csw-service.js.map +1 -1
- package/dist/esm/lib/services/ogc/wms-service.js +54 -14
- package/dist/esm/lib/services/ogc/wms-service.js.map +1 -1
- package/dist/esm/lib/sources/data-source.js +20 -0
- package/dist/esm/lib/sources/data-source.js.map +1 -1
- package/dist/esm/lib/sources/image-source.js.map +1 -1
- package/dist/esm/lib/sources/tile-source.js.map +1 -1
- package/dist/esm/lib/wfs/parse-wfs.js +28 -0
- package/dist/esm/lib/wfs/parse-wfs.js.map +1 -0
- package/dist/esm/lib/wmts/parse-wmts.js +28 -0
- package/dist/esm/lib/wmts/parse-wmts.js.map +1 -0
- package/dist/esm/wip/lib/wcs/parse-wcs-capabilities.js +2 -1
- package/dist/esm/wip/lib/wcs/parse-wcs-capabilities.js.map +1 -1
- package/dist/esm/wip/lib/wfs/parse-wfs-capabilities.js +2 -1
- package/dist/esm/wip/lib/wfs/parse-wfs-capabilities.js.map +1 -1
- package/dist/esm/wip/lib/wmts/parse-wmts-capabilities.js +2 -1
- package/dist/esm/wip/lib/wmts/parse-wmts-capabilities.js.map +1 -1
- package/dist/esm/wip/wcs-capabilities-loader.js +1 -1
- package/dist/esm/wip/wcs-capabilities-loader.js.map +1 -1
- package/dist/esm/wip/wfs-capabilities-loader.js +1 -1
- package/dist/esm/wip/wfs-capabilities-loader.js.map +1 -1
- package/dist/esm/wip/wms-feature-info-loader.js.map +1 -1
- package/dist/esm/wip/wms-layer-description-loader.js.map +1 -1
- package/dist/esm/wip/wmts-capabilities-loader.js +1 -1
- package/dist/esm/wip/wmts-capabilities-loader.js.map +1 -1
- package/dist/esm/wms-capabilities-loader.js +1 -1
- package/dist/esm/wms-capabilities-loader.js.map +1 -1
- package/dist/esm/wms-error-loader.js +1 -1
- package/dist/esm/wms-error-loader.js.map +1 -1
- package/dist/lib/create-image-source.d.ts +1 -1
- package/dist/lib/create-image-source.d.ts.map +1 -1
- package/dist/lib/parsers/csw/parse-csw-capabilities.js +1 -1
- package/dist/lib/parsers/csw/parse-csw-domain.js +1 -1
- package/dist/lib/parsers/csw/parse-csw-records.js +6 -6
- package/dist/lib/parsers/csw/parse-exception-report.js +1 -1
- package/dist/lib/parsers/gml/parse-gml.js +1 -1
- package/dist/lib/parsers/wms/parse-wms-capabilities.js +2 -1
- package/dist/lib/parsers/wms/parse-wms-features.js +1 -1
- package/dist/lib/parsers/wms/parse-wms-layer-description.js +1 -1
- package/dist/lib/services/arcgis/arcgis-image-service.d.ts +1 -2
- package/dist/lib/services/arcgis/arcgis-image-service.d.ts.map +1 -1
- package/dist/lib/services/arcgis/arcgis-image-service.js +0 -1
- package/dist/lib/services/generic/image-service.d.ts +2 -3
- package/dist/lib/services/generic/image-service.d.ts.map +1 -1
- package/dist/lib/services/generic/image-service.js +0 -1
- package/dist/lib/services/ogc/csw-service.d.ts +1 -2
- package/dist/lib/services/ogc/csw-service.d.ts.map +1 -1
- package/dist/lib/services/ogc/csw-service.js +0 -1
- package/dist/lib/services/ogc/wms-service.d.ts +84 -43
- package/dist/lib/services/ogc/wms-service.d.ts.map +1 -1
- package/dist/lib/services/ogc/wms-service.js +73 -27
- package/dist/lib/sources/data-source.d.ts +12 -2
- package/dist/lib/sources/data-source.d.ts.map +1 -1
- package/dist/lib/sources/data-source.js +22 -0
- package/dist/lib/sources/image-source.d.ts +6 -6
- package/dist/lib/sources/image-source.d.ts.map +1 -1
- package/dist/lib/sources/tile-source.d.ts +4 -2
- package/dist/lib/sources/tile-source.d.ts.map +1 -1
- package/dist/lib/wfs/parse-wfs.d.ts +7 -0
- package/dist/lib/wfs/parse-wfs.d.ts.map +1 -0
- package/dist/lib/wfs/parse-wfs.js +32 -0
- package/dist/lib/wmts/parse-wmts.d.ts +7 -0
- package/dist/lib/wmts/parse-wmts.d.ts.map +1 -0
- package/dist/lib/wmts/parse-wmts.js +35 -0
- package/dist/wip/lib/wcs/parse-wcs-capabilities.js +1 -1
- package/dist/wip/lib/wfs/parse-wfs-capabilities.js +1 -1
- package/dist/wip/lib/wmts/parse-wmts-capabilities.js +1 -1
- package/package.json +6 -6
- package/src/lib/create-image-source.ts +1 -1
- package/src/lib/parsers/csw/parse-csw-capabilities.ts +1 -1
- package/src/lib/parsers/csw/parse-csw-domain.ts +1 -1
- package/src/lib/parsers/csw/parse-csw-records.ts +6 -6
- package/src/lib/parsers/csw/parse-exception-report.ts +1 -1
- package/src/lib/parsers/gml/parse-gml.ts +1 -1
- package/src/lib/parsers/wms/parse-wms-capabilities.ts +2 -1
- package/src/lib/parsers/wms/parse-wms-features.ts +1 -1
- package/src/lib/parsers/wms/parse-wms-layer-description.ts +1 -1
- package/src/lib/services/arcgis/arcgis-image-service.ts +1 -4
- package/src/lib/services/generic/image-service.ts +2 -5
- package/src/lib/services/ogc/csw-service.ts +1 -3
- package/src/lib/services/ogc/wms-service.ts +165 -60
- package/src/lib/sources/data-source.ts +29 -2
- package/src/lib/sources/image-source.ts +6 -6
- package/src/lib/sources/tile-source.ts +4 -2
- package/src/lib/wfs/parse-wfs.ts +34 -0
- package/src/lib/wmts/parse-wmts.ts +37 -0
- package/src/wip/lib/wcs/parse-wcs-capabilities.ts +1 -1
- package/src/wip/lib/wfs/parse-wfs-capabilities.ts +1 -1
- package/src/wip/lib/wmts/parse-wmts-capabilities.ts +1 -1
- package/dist/es5/lib/services/generic/tile-service.js +0 -2
- package/dist/es5/lib/services/generic/tile-service.js.map +0 -1
- package/dist/esm/lib/services/generic/tile-service.js +0 -2
- package/dist/esm/lib/services/generic/tile-service.js.map +0 -1
- package/dist/lib/services/generic/tile-service.d.ts +0 -1
- package/dist/lib/services/generic/tile-service.d.ts.map +0 -1
- package/dist/lib/services/generic/tile-service.js +0 -1
- package/src/lib/services/generic/tile-service.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { parseWMTSCapabilities } from './lib/wmts/parse-wmts-capabilities';
|
|
2
|
-
const VERSION = typeof "
|
|
2
|
+
const VERSION = typeof "4.0.0-alpha.6" !== 'undefined' ? "4.0.0-alpha.6" : 'latest';
|
|
3
3
|
export const WMTSCapabilitiesLoader = {
|
|
4
4
|
id: 'wmts-capabilities',
|
|
5
5
|
name: 'WMTS Capabilities',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wmts-capabilities-loader.js","names":["parseWMTSCapabilities","VERSION","WMTSCapabilitiesLoader","id","name","module","version","worker","extensions","mimeTypes","testText","testXMLFile","options","wms","parse","arrayBuffer","TextDecoder","decode","parseTextSync","text","startsWith","_typecheckWMTSCapabilitiesLoader"],"sources":["../../../src/wip/wmts-capabilities-loader.ts"],"sourcesContent":["// loaders.gl, MIT license\n\nimport type {LoaderWithParser, LoaderOptions} from '@loaders.gl/loader-utils';\n// import type {WMTSCapabilities} from './lib/wmts/parse-wmts-capabilities';\nimport {parseWMTSCapabilities} from './lib/wmts/parse-wmts-capabilities';\n\n// __VERSION__ is injected by babel-plugin-version-inline\n// @ts-ignore TS2304: Cannot find name '__VERSION__'.\nconst VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';\n\n// export type {WMTSCapabilities};\n\nexport type WMTSLoaderOptions = LoaderOptions & {\n wmts?: {};\n};\n\n/**\n * Loader for the response to the WMTS GetCapability request\n */\nexport const WMTSCapabilitiesLoader = {\n id: 'wmts-capabilities',\n name: 'WMTS Capabilities',\n\n module: 'wms',\n version: VERSION,\n worker: false,\n extensions: ['xml'],\n mimeTypes: ['application/vnd.ogc.wmts_xml', 'application/xml', 'text/xml'],\n testText: testXMLFile,\n options: {\n wms: {}\n },\n parse: async (arrayBuffer: ArrayBuffer, options?: WMTSLoaderOptions) =>\n parseWMTSCapabilities(new TextDecoder().decode(arrayBuffer), options),\n parseTextSync: (text: string, options?: WMTSLoaderOptions) => parseWMTSCapabilities(text, options)\n};\n\nfunction testXMLFile(text: string): boolean {\n // TODO - There could be space first.\n return text.startsWith('<?xml');\n}\n\nexport const _typecheckWMTSCapabilitiesLoader: LoaderWithParser = WMTSCapabilitiesLoader;\n"],"mappings":"AAIA,SAAQA,qBAAqB,QAAO,oCAAoC;AAIxE,MAAMC,OAAO,GAAG,sBAAkB,KAAK,WAAW,qBAAiB,QAAQ;AAW3E,OAAO,MAAMC,sBAAsB,GAAG;EACpCC,EAAE,EAAE,mBAAmB;EACvBC,IAAI,EAAE,mBAAmB;EAEzBC,MAAM,EAAE,KAAK;EACbC,OAAO,EAAEL,OAAO;EAChBM,MAAM,EAAE,KAAK;EACbC,UAAU,EAAE,CAAC,KAAK,CAAC;EACnBC,SAAS,EAAE,CAAC,8BAA8B,EAAE,iBAAiB,EAAE,UAAU,CAAC;EAC1EC,QAAQ,EAAEC,WAAW;EACrBC,OAAO,EAAE;IACPC,GAAG,EAAE,CAAC;EACR,CAAC;EACDC,KAAK,EAAE,MAAAA,CAAOC,WAAwB,EAAEH,OAA2B,KACjEZ,qBAAqB,CAAC,IAAIgB,WAAW,
|
|
1
|
+
{"version":3,"file":"wmts-capabilities-loader.js","names":["parseWMTSCapabilities","VERSION","WMTSCapabilitiesLoader","id","name","module","version","worker","extensions","mimeTypes","testText","testXMLFile","options","wms","parse","arrayBuffer","TextDecoder","decode","parseTextSync","text","startsWith","_typecheckWMTSCapabilitiesLoader"],"sources":["../../../src/wip/wmts-capabilities-loader.ts"],"sourcesContent":["// loaders.gl, MIT license\n\nimport type {LoaderWithParser, LoaderOptions} from '@loaders.gl/loader-utils';\n// import type {WMTSCapabilities} from './lib/wmts/parse-wmts-capabilities';\nimport {parseWMTSCapabilities} from './lib/wmts/parse-wmts-capabilities';\n\n// __VERSION__ is injected by babel-plugin-version-inline\n// @ts-ignore TS2304: Cannot find name '__VERSION__'.\nconst VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';\n\n// export type {WMTSCapabilities};\n\nexport type WMTSLoaderOptions = LoaderOptions & {\n wmts?: {};\n};\n\n/**\n * Loader for the response to the WMTS GetCapability request\n */\nexport const WMTSCapabilitiesLoader = {\n id: 'wmts-capabilities',\n name: 'WMTS Capabilities',\n\n module: 'wms',\n version: VERSION,\n worker: false,\n extensions: ['xml'],\n mimeTypes: ['application/vnd.ogc.wmts_xml', 'application/xml', 'text/xml'],\n testText: testXMLFile,\n options: {\n wms: {}\n },\n parse: async (arrayBuffer: ArrayBuffer, options?: WMTSLoaderOptions) =>\n parseWMTSCapabilities(new TextDecoder().decode(arrayBuffer), options),\n parseTextSync: (text: string, options?: WMTSLoaderOptions) => parseWMTSCapabilities(text, options)\n};\n\nfunction testXMLFile(text: string): boolean {\n // TODO - There could be space first.\n return text.startsWith('<?xml');\n}\n\nexport const _typecheckWMTSCapabilitiesLoader: LoaderWithParser = WMTSCapabilitiesLoader;\n"],"mappings":"AAIA,SAAQA,qBAAqB,QAAO,oCAAoC;AAIxE,MAAMC,OAAO,GAAG,sBAAkB,KAAK,WAAW,qBAAiB,QAAQ;AAW3E,OAAO,MAAMC,sBAAsB,GAAG;EACpCC,EAAE,EAAE,mBAAmB;EACvBC,IAAI,EAAE,mBAAmB;EAEzBC,MAAM,EAAE,KAAK;EACbC,OAAO,EAAEL,OAAO;EAChBM,MAAM,EAAE,KAAK;EACbC,UAAU,EAAE,CAAC,KAAK,CAAC;EACnBC,SAAS,EAAE,CAAC,8BAA8B,EAAE,iBAAiB,EAAE,UAAU,CAAC;EAC1EC,QAAQ,EAAEC,WAAW;EACrBC,OAAO,EAAE;IACPC,GAAG,EAAE,CAAC;EACR,CAAC;EACDC,KAAK,EAAE,MAAAA,CAAOC,WAAwB,EAAEH,OAA2B,KACjEZ,qBAAqB,CAAC,IAAIgB,WAAW,CAAC,CAAC,CAACC,MAAM,CAACF,WAAW,CAAC,EAAEH,OAAO,CAAC;EACvEM,aAAa,EAAEA,CAACC,IAAY,EAAEP,OAA2B,KAAKZ,qBAAqB,CAACmB,IAAI,EAAEP,OAAO;AACnG,CAAC;AAED,SAASD,WAAWA,CAACQ,IAAY,EAAW;EAE1C,OAAOA,IAAI,CAACC,UAAU,CAAC,OAAO,CAAC;AACjC;AAEA,OAAO,MAAMC,gCAAkD,GAAGnB,sBAAsB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { parseWMSCapabilities } from './lib/parsers/wms/parse-wms-capabilities';
|
|
2
|
-
const VERSION = typeof "
|
|
2
|
+
const VERSION = typeof "4.0.0-alpha.6" !== 'undefined' ? "4.0.0-alpha.6" : 'latest';
|
|
3
3
|
export const WMSCapabilitiesLoader = {
|
|
4
4
|
id: 'wms-capabilities',
|
|
5
5
|
name: 'WMS Capabilities',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wms-capabilities-loader.js","names":["parseWMSCapabilities","VERSION","WMSCapabilitiesLoader","id","name","module","version","worker","extensions","mimeTypes","testText","testXMLFile","options","wms","parse","arrayBuffer","TextDecoder","decode","parseTextSync","text","startsWith","_typecheckWMSCapabilitiesLoader"],"sources":["../../src/wms-capabilities-loader.ts"],"sourcesContent":["// loaders.gl, MIT license\n\nimport type {LoaderWithParser, LoaderOptions} from '@loaders.gl/loader-utils';\nimport type {WMSCapabilities} from './lib/parsers/wms/parse-wms-capabilities';\nimport {parseWMSCapabilities} from './lib/parsers/wms/parse-wms-capabilities';\n\n// __VERSION__ is injected by babel-plugin-version-inline\n// @ts-ignore TS2304: Cannot find name '__VERSION__'.\nconst VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';\n\n// Parsed data type\nexport type {WMSCapabilities};\n\nexport type WMSLoaderOptions = LoaderOptions & {\n wms?: {\n /** Add inherited layer information to sub layers */\n inheritedLayerProps?: boolean;\n /** Whether to include \"raw\" XML-derived JSON */\n raw?: boolean;\n };\n};\n\n/**\n * Loader for the response to the WMS GetCapability request\n */\nexport const WMSCapabilitiesLoader = {\n id: 'wms-capabilities',\n name: 'WMS Capabilities',\n\n module: 'wms',\n version: VERSION,\n worker: false,\n extensions: ['xml'],\n mimeTypes: ['application/vnd.ogc.wms_xml', 'application/xml', 'text/xml'],\n testText: testXMLFile,\n options: {\n wms: {}\n },\n parse: async (arrayBuffer: ArrayBuffer, options?: WMSLoaderOptions) =>\n parseWMSCapabilities(new TextDecoder().decode(arrayBuffer), options?.wms),\n parseTextSync: (text: string, options?: WMSLoaderOptions) =>\n parseWMSCapabilities(text, options?.wms)\n};\n\nfunction testXMLFile(text: string): boolean {\n // TODO - There could be space first.\n return text.startsWith('<?xml');\n}\n\nexport const _typecheckWMSCapabilitiesLoader: LoaderWithParser = WMSCapabilitiesLoader;\n"],"mappings":"AAIA,SAAQA,oBAAoB,QAAO,0CAA0C;AAI7E,MAAMC,OAAO,GAAG,sBAAkB,KAAK,WAAW,qBAAiB,QAAQ;AAiB3E,OAAO,MAAMC,qBAAqB,GAAG;EACnCC,EAAE,EAAE,kBAAkB;EACtBC,IAAI,EAAE,kBAAkB;EAExBC,MAAM,EAAE,KAAK;EACbC,OAAO,EAAEL,OAAO;EAChBM,MAAM,EAAE,KAAK;EACbC,UAAU,EAAE,CAAC,KAAK,CAAC;EACnBC,SAAS,EAAE,CAAC,6BAA6B,EAAE,iBAAiB,EAAE,UAAU,CAAC;EACzEC,QAAQ,EAAEC,WAAW;EACrBC,OAAO,EAAE;IACPC,GAAG,EAAE,CAAC;EACR,CAAC;EACDC,KAAK,EAAE,MAAAA,CAAOC,WAAwB,EAAEH,OAA0B,KAChEZ,oBAAoB,CAAC,IAAIgB,WAAW,
|
|
1
|
+
{"version":3,"file":"wms-capabilities-loader.js","names":["parseWMSCapabilities","VERSION","WMSCapabilitiesLoader","id","name","module","version","worker","extensions","mimeTypes","testText","testXMLFile","options","wms","parse","arrayBuffer","TextDecoder","decode","parseTextSync","text","startsWith","_typecheckWMSCapabilitiesLoader"],"sources":["../../src/wms-capabilities-loader.ts"],"sourcesContent":["// loaders.gl, MIT license\n\nimport type {LoaderWithParser, LoaderOptions} from '@loaders.gl/loader-utils';\nimport type {WMSCapabilities} from './lib/parsers/wms/parse-wms-capabilities';\nimport {parseWMSCapabilities} from './lib/parsers/wms/parse-wms-capabilities';\n\n// __VERSION__ is injected by babel-plugin-version-inline\n// @ts-ignore TS2304: Cannot find name '__VERSION__'.\nconst VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';\n\n// Parsed data type\nexport type {WMSCapabilities};\n\nexport type WMSLoaderOptions = LoaderOptions & {\n wms?: {\n /** Add inherited layer information to sub layers */\n inheritedLayerProps?: boolean;\n /** Whether to include \"raw\" XML-derived JSON */\n raw?: boolean;\n };\n};\n\n/**\n * Loader for the response to the WMS GetCapability request\n */\nexport const WMSCapabilitiesLoader = {\n id: 'wms-capabilities',\n name: 'WMS Capabilities',\n\n module: 'wms',\n version: VERSION,\n worker: false,\n extensions: ['xml'],\n mimeTypes: ['application/vnd.ogc.wms_xml', 'application/xml', 'text/xml'],\n testText: testXMLFile,\n options: {\n wms: {}\n },\n parse: async (arrayBuffer: ArrayBuffer, options?: WMSLoaderOptions) =>\n parseWMSCapabilities(new TextDecoder().decode(arrayBuffer), options?.wms),\n parseTextSync: (text: string, options?: WMSLoaderOptions) =>\n parseWMSCapabilities(text, options?.wms)\n};\n\nfunction testXMLFile(text: string): boolean {\n // TODO - There could be space first.\n return text.startsWith('<?xml');\n}\n\nexport const _typecheckWMSCapabilitiesLoader: LoaderWithParser = WMSCapabilitiesLoader;\n"],"mappings":"AAIA,SAAQA,oBAAoB,QAAO,0CAA0C;AAI7E,MAAMC,OAAO,GAAG,sBAAkB,KAAK,WAAW,qBAAiB,QAAQ;AAiB3E,OAAO,MAAMC,qBAAqB,GAAG;EACnCC,EAAE,EAAE,kBAAkB;EACtBC,IAAI,EAAE,kBAAkB;EAExBC,MAAM,EAAE,KAAK;EACbC,OAAO,EAAEL,OAAO;EAChBM,MAAM,EAAE,KAAK;EACbC,UAAU,EAAE,CAAC,KAAK,CAAC;EACnBC,SAAS,EAAE,CAAC,6BAA6B,EAAE,iBAAiB,EAAE,UAAU,CAAC;EACzEC,QAAQ,EAAEC,WAAW;EACrBC,OAAO,EAAE;IACPC,GAAG,EAAE,CAAC;EACR,CAAC;EACDC,KAAK,EAAE,MAAAA,CAAOC,WAAwB,EAAEH,OAA0B,KAChEZ,oBAAoB,CAAC,IAAIgB,WAAW,CAAC,CAAC,CAACC,MAAM,CAACF,WAAW,CAAC,EAAEH,OAAO,aAAPA,OAAO,uBAAPA,OAAO,CAAEC,GAAG,CAAC;EAC3EK,aAAa,EAAEA,CAACC,IAAY,EAAEP,OAA0B,KACtDZ,oBAAoB,CAACmB,IAAI,EAAEP,OAAO,aAAPA,OAAO,uBAAPA,OAAO,CAAEC,GAAG;AAC3C,CAAC;AAED,SAASF,WAAWA,CAACQ,IAAY,EAAW;EAE1C,OAAOA,IAAI,CAACC,UAAU,CAAC,OAAO,CAAC;AACjC;AAEA,OAAO,MAAMC,+BAAiD,GAAGnB,qBAAqB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { parseWMSError } from './lib/parsers/wms/parse-wms-error';
|
|
2
|
-
const VERSION = typeof "
|
|
2
|
+
const VERSION = typeof "4.0.0-alpha.6" !== 'undefined' ? "4.0.0-alpha.6" : 'latest';
|
|
3
3
|
export const WMSErrorLoader = {
|
|
4
4
|
id: 'wms-error',
|
|
5
5
|
name: 'WMS Error',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wms-error-loader.js","names":["parseWMSError","VERSION","WMSErrorLoader","id","name","module","version","worker","extensions","mimeTypes","testText","testXMLFile","options","wms","throwOnError","parse","arrayBuffer","parseTextSync","TextDecoder","decode","parseSync","text","startsWith","wmsOptions","error","message","minimalErrors","concat","Error","_typecheckWMSErrorLoader"],"sources":["../../src/wms-error-loader.ts"],"sourcesContent":["// loaders.gl, MIT license\n\nimport type {LoaderWithParser, LoaderOptions} from '@loaders.gl/loader-utils';\nimport {parseWMSError} from './lib/parsers/wms/parse-wms-error';\n\n// __VERSION__ is injected by babel-plugin-version-inline\n// @ts-ignore TS2304: Cannot find name '__VERSION__'.\nconst VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';\n\nexport type WMSLoaderOptions = LoaderOptions & {\n wms?: {\n /** By default the error loader will throw an error with the parsed error message */\n throwOnError?: boolean;\n /** Do not add any text to errors */\n minimalErrors?: boolean;\n };\n};\n\n/**\n * Loader for the response to the WMS GetCapability request\n */\nexport const WMSErrorLoader = {\n id: 'wms-error',\n name: 'WMS Error',\n\n module: 'wms',\n version: VERSION,\n worker: false,\n extensions: ['xml'],\n mimeTypes: ['application/vnd.ogc.se_xml', 'application/xml', 'text/xml'],\n testText: testXMLFile,\n options: {\n wms: {\n throwOnError: false\n }\n },\n parse: async (arrayBuffer: ArrayBuffer, options?: WMSLoaderOptions): Promise<string> =>\n parseTextSync(new TextDecoder().decode(arrayBuffer), options),\n parseSync: (arrayBuffer: ArrayBuffer, options?: WMSLoaderOptions): string =>\n parseTextSync(new TextDecoder().decode(arrayBuffer), options),\n parseTextSync: (text: string, options?: WMSLoaderOptions): string => parseTextSync(text, options)\n};\n\nfunction testXMLFile(text: string): boolean {\n // TODO - There could be space first.\n return text.startsWith('<?xml');\n}\n\nfunction parseTextSync(text: string, options?: WMSLoaderOptions): string {\n const wmsOptions: WMSLoaderOptions['wms'] = {...WMSErrorLoader.options.wms, ...options?.wms};\n const error = parseWMSError(text, wmsOptions);\n const message = wmsOptions.minimalErrors ? error : `WMS Service error: ${error}`;\n if (wmsOptions.throwOnError) {\n throw new Error(message);\n }\n return message;\n}\n\nexport const _typecheckWMSErrorLoader: LoaderWithParser = WMSErrorLoader;\n"],"mappings":"AAGA,SAAQA,aAAa,QAAO,mCAAmC;AAI/D,MAAMC,OAAO,GAAG,sBAAkB,KAAK,WAAW,qBAAiB,QAAQ;AAc3E,OAAO,MAAMC,cAAc,GAAG;EAC5BC,EAAE,EAAE,WAAW;EACfC,IAAI,EAAE,WAAW;EAEjBC,MAAM,EAAE,KAAK;EACbC,OAAO,EAAEL,OAAO;EAChBM,MAAM,EAAE,KAAK;EACbC,UAAU,EAAE,CAAC,KAAK,CAAC;EACnBC,SAAS,EAAE,CAAC,4BAA4B,EAAE,iBAAiB,EAAE,UAAU,CAAC;EACxEC,QAAQ,EAAEC,WAAW;EACrBC,OAAO,EAAE;IACPC,GAAG,EAAE;MACHC,YAAY,EAAE;IAChB;EACF,CAAC;EACDC,KAAK,EAAE,MAAAA,CAAOC,WAAwB,EAAEJ,OAA0B,KAChEK,aAAa,CAAC,IAAIC,WAAW,
|
|
1
|
+
{"version":3,"file":"wms-error-loader.js","names":["parseWMSError","VERSION","WMSErrorLoader","id","name","module","version","worker","extensions","mimeTypes","testText","testXMLFile","options","wms","throwOnError","parse","arrayBuffer","parseTextSync","TextDecoder","decode","parseSync","text","startsWith","wmsOptions","error","message","minimalErrors","concat","Error","_typecheckWMSErrorLoader"],"sources":["../../src/wms-error-loader.ts"],"sourcesContent":["// loaders.gl, MIT license\n\nimport type {LoaderWithParser, LoaderOptions} from '@loaders.gl/loader-utils';\nimport {parseWMSError} from './lib/parsers/wms/parse-wms-error';\n\n// __VERSION__ is injected by babel-plugin-version-inline\n// @ts-ignore TS2304: Cannot find name '__VERSION__'.\nconst VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';\n\nexport type WMSLoaderOptions = LoaderOptions & {\n wms?: {\n /** By default the error loader will throw an error with the parsed error message */\n throwOnError?: boolean;\n /** Do not add any text to errors */\n minimalErrors?: boolean;\n };\n};\n\n/**\n * Loader for the response to the WMS GetCapability request\n */\nexport const WMSErrorLoader = {\n id: 'wms-error',\n name: 'WMS Error',\n\n module: 'wms',\n version: VERSION,\n worker: false,\n extensions: ['xml'],\n mimeTypes: ['application/vnd.ogc.se_xml', 'application/xml', 'text/xml'],\n testText: testXMLFile,\n options: {\n wms: {\n throwOnError: false\n }\n },\n parse: async (arrayBuffer: ArrayBuffer, options?: WMSLoaderOptions): Promise<string> =>\n parseTextSync(new TextDecoder().decode(arrayBuffer), options),\n parseSync: (arrayBuffer: ArrayBuffer, options?: WMSLoaderOptions): string =>\n parseTextSync(new TextDecoder().decode(arrayBuffer), options),\n parseTextSync: (text: string, options?: WMSLoaderOptions): string => parseTextSync(text, options)\n};\n\nfunction testXMLFile(text: string): boolean {\n // TODO - There could be space first.\n return text.startsWith('<?xml');\n}\n\nfunction parseTextSync(text: string, options?: WMSLoaderOptions): string {\n const wmsOptions: WMSLoaderOptions['wms'] = {...WMSErrorLoader.options.wms, ...options?.wms};\n const error = parseWMSError(text, wmsOptions);\n const message = wmsOptions.minimalErrors ? error : `WMS Service error: ${error}`;\n if (wmsOptions.throwOnError) {\n throw new Error(message);\n }\n return message;\n}\n\nexport const _typecheckWMSErrorLoader: LoaderWithParser = WMSErrorLoader;\n"],"mappings":"AAGA,SAAQA,aAAa,QAAO,mCAAmC;AAI/D,MAAMC,OAAO,GAAG,sBAAkB,KAAK,WAAW,qBAAiB,QAAQ;AAc3E,OAAO,MAAMC,cAAc,GAAG;EAC5BC,EAAE,EAAE,WAAW;EACfC,IAAI,EAAE,WAAW;EAEjBC,MAAM,EAAE,KAAK;EACbC,OAAO,EAAEL,OAAO;EAChBM,MAAM,EAAE,KAAK;EACbC,UAAU,EAAE,CAAC,KAAK,CAAC;EACnBC,SAAS,EAAE,CAAC,4BAA4B,EAAE,iBAAiB,EAAE,UAAU,CAAC;EACxEC,QAAQ,EAAEC,WAAW;EACrBC,OAAO,EAAE;IACPC,GAAG,EAAE;MACHC,YAAY,EAAE;IAChB;EACF,CAAC;EACDC,KAAK,EAAE,MAAAA,CAAOC,WAAwB,EAAEJ,OAA0B,KAChEK,aAAa,CAAC,IAAIC,WAAW,CAAC,CAAC,CAACC,MAAM,CAACH,WAAW,CAAC,EAAEJ,OAAO,CAAC;EAC/DQ,SAAS,EAAEA,CAACJ,WAAwB,EAAEJ,OAA0B,KAC9DK,aAAa,CAAC,IAAIC,WAAW,CAAC,CAAC,CAACC,MAAM,CAACH,WAAW,CAAC,EAAEJ,OAAO,CAAC;EAC/DK,aAAa,EAAEA,CAACI,IAAY,EAAET,OAA0B,KAAaK,aAAa,CAACI,IAAI,EAAET,OAAO;AAClG,CAAC;AAED,SAASD,WAAWA,CAACU,IAAY,EAAW;EAE1C,OAAOA,IAAI,CAACC,UAAU,CAAC,OAAO,CAAC;AACjC;AAEA,SAASL,aAAaA,CAACI,IAAY,EAAET,OAA0B,EAAU;EACvE,MAAMW,UAAmC,GAAG;IAAC,GAAGrB,cAAc,CAACU,OAAO,CAACC,GAAG;IAAE,IAAGD,OAAO,aAAPA,OAAO,uBAAPA,OAAO,CAAEC,GAAG;EAAA,CAAC;EAC5F,MAAMW,KAAK,GAAGxB,aAAa,CAACqB,IAAI,EAAEE,UAAU,CAAC;EAC7C,MAAME,OAAO,GAAGF,UAAU,CAACG,aAAa,GAAGF,KAAK,yBAAAG,MAAA,CAAyBH,KAAK,CAAE;EAChF,IAAID,UAAU,CAACT,YAAY,EAAE;IAC3B,MAAM,IAAIc,KAAK,CAACH,OAAO,CAAC;EAC1B;EACA,OAAOA,OAAO;AAChB;AAEA,OAAO,MAAMI,wBAA0C,GAAG3B,cAAc"}
|
|
@@ -12,6 +12,6 @@ type ImageSourceProps = ImageServiceProps & WMSServiceProps & {
|
|
|
12
12
|
* @param type type of source. if not known, set to 'auto'
|
|
13
13
|
* @returns an ImageSource instance
|
|
14
14
|
*/
|
|
15
|
-
export declare function createImageSource(props: ImageSourceProps): ImageSource
|
|
15
|
+
export declare function createImageSource(props: ImageSourceProps): ImageSource<ImageSourceProps>;
|
|
16
16
|
export {};
|
|
17
17
|
//# sourceMappingURL=create-image-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-image-source.d.ts","sourceRoot":"","sources":["../../src/lib/create-image-source.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,WAAW,EAAC,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAe,iBAAiB,EAAC,MAAM,kCAAkC,CAAC;AACjF,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAC;AAIhE,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,qBAAqB,GAAG,UAAU,CAAC;AAI1E,KAAK,gBAAgB,GAAG,iBAAiB,GACvC,eAAe,GAAG;IAChB,IAAI,CAAC,EAAE,gBAAgB,GAAG,MAAM,CAAC;CAClC,CAAC;AAEJ;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,gBAAgB,GAAG,WAAW,
|
|
1
|
+
{"version":3,"file":"create-image-source.d.ts","sourceRoot":"","sources":["../../src/lib/create-image-source.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,WAAW,EAAC,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAe,iBAAiB,EAAC,MAAM,kCAAkC,CAAC;AACjF,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAC;AAIhE,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,qBAAqB,GAAG,UAAU,CAAC;AAI1E,KAAK,gBAAgB,GAAG,iBAAiB,GACvC,eAAe,GAAG;IAChB,IAAI,CAAC,EAAE,gBAAgB,GAAG,MAAM,CAAC;CAClC,CAAC;AAEJ;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,gBAAgB,GAAG,WAAW,CAAC,gBAAgB,CAAC,CAYxF"}
|
|
@@ -9,7 +9,7 @@ const parse_exception_report_1 = require("./parse-exception-report");
|
|
|
9
9
|
* @note Error handlings is fairly weak
|
|
10
10
|
*/
|
|
11
11
|
function parseCSWCapabilities(text, options) {
|
|
12
|
-
const parsedXML = xml_1.XMLLoader.parseTextSync(text, {
|
|
12
|
+
const parsedXML = xml_1.XMLLoader.parseTextSync?.(text, {
|
|
13
13
|
...options,
|
|
14
14
|
xml: {
|
|
15
15
|
...options?.xml,
|
|
@@ -9,7 +9,7 @@ const parse_exception_report_1 = require("./parse-exception-report");
|
|
|
9
9
|
* @note Error handlings is fairly weak
|
|
10
10
|
*/
|
|
11
11
|
function parseCSWDomain(text, options) {
|
|
12
|
-
const parsedXML = xml_1.XMLLoader.parseTextSync(text, {
|
|
12
|
+
const parsedXML = xml_1.XMLLoader.parseTextSync?.(text, {
|
|
13
13
|
...options,
|
|
14
14
|
xml: {
|
|
15
15
|
...options?.xml,
|
|
@@ -10,17 +10,17 @@ const parse_exception_report_1 = require("./parse-exception-report");
|
|
|
10
10
|
* @note Error handlings is fairly weak
|
|
11
11
|
*/
|
|
12
12
|
function parseCSWRecords(text, options) {
|
|
13
|
-
const parsedXML = xml_2.XMLLoader.parseTextSync(text, {
|
|
13
|
+
const parsedXML = xml_2.XMLLoader.parseTextSync?.(text, {
|
|
14
14
|
...options,
|
|
15
15
|
xml: {
|
|
16
16
|
...options?.xml,
|
|
17
17
|
removeNSPrefix: true,
|
|
18
18
|
uncapitalizeKeys: true,
|
|
19
|
-
arrayPaths: []
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
arrayPaths: [],
|
|
20
|
+
_fastXML: {
|
|
21
|
+
...options?.xml?._fastXML,
|
|
22
|
+
parseAttributeValue: true
|
|
23
|
+
}
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
(0, parse_exception_report_1.parseExceptionReport)(parsedXML);
|
|
@@ -9,7 +9,7 @@ exports.parseExceptionReport = void 0;
|
|
|
9
9
|
* @note Error handlings is fairly weak
|
|
10
10
|
*/
|
|
11
11
|
function parseExceptionReport(parsedXML) {
|
|
12
|
-
// const parsedXML = XMLLoader.parseTextSync(text, {
|
|
12
|
+
// const parsedXML = XMLLoader.parseTextSync?.(text, {
|
|
13
13
|
// ...options,
|
|
14
14
|
// xml: {
|
|
15
15
|
// ...options?.xml,
|
|
@@ -17,7 +17,7 @@ function noTransform(...coords) {
|
|
|
17
17
|
*/
|
|
18
18
|
function parseGML(text, options) {
|
|
19
19
|
// GeoJSON | null {
|
|
20
|
-
const parsedXML = xml_1.XMLLoader.parseTextSync(text, options);
|
|
20
|
+
const parsedXML = xml_1.XMLLoader.parseTextSync?.(text, options);
|
|
21
21
|
options = { transformCoords: noTransform, stride: 2, ...options };
|
|
22
22
|
const context = createChildContext(parsedXML, options, {});
|
|
23
23
|
return parseGMLToGeometry(parsedXML, options, context);
|
|
@@ -9,7 +9,7 @@ const parse_xml_helpers_1 = require("../xml/parse-xml-helpers");
|
|
|
9
9
|
* @note Error handlings is fairly weak
|
|
10
10
|
*/
|
|
11
11
|
function parseWMSCapabilities(xmlText, options) {
|
|
12
|
-
const parsedXML = xml_1.XMLLoader.parseTextSync(xmlText, options);
|
|
12
|
+
const parsedXML = xml_1.XMLLoader.parseTextSync?.(xmlText, options);
|
|
13
13
|
const xmlCapabilities = parsedXML.WMT_MS_Capabilities || parsedXML.WMS_Capabilities || parsedXML;
|
|
14
14
|
const capabilities = extractCapabilities(xmlCapabilities);
|
|
15
15
|
// In case the processed, normalized capabilities do not contain everything,
|
|
@@ -181,6 +181,7 @@ function extractWMSBoundingBox(xmlBoundingBox) {
|
|
|
181
181
|
return boundingBox;
|
|
182
182
|
}
|
|
183
183
|
/** Traverse layers and inject missing props from parents */
|
|
184
|
+
// eslint-disable-next-line complexity
|
|
184
185
|
function addInheritedLayerProps(layer, parent) {
|
|
185
186
|
if (parent && parent.geographicBoundingBox && !layer.geographicBoundingBox) {
|
|
186
187
|
layer.geographicBoundingBox = [...parent.geographicBoundingBox];
|
|
@@ -8,7 +8,7 @@ const xml_1 = require("@loaders.gl/xml");
|
|
|
8
8
|
* @note Error handlings is fairly weak
|
|
9
9
|
*/
|
|
10
10
|
function parseWMSFeatureInfo(text, options) {
|
|
11
|
-
const parsedXML = xml_1.XMLLoader.parseTextSync(text, options);
|
|
11
|
+
const parsedXML = xml_1.XMLLoader.parseTextSync?.(text, options);
|
|
12
12
|
const xmlFeatureInfo = parsedXML.FeatureInfoResponse?.FIELDS || [];
|
|
13
13
|
const xmlFeatures = Array.isArray(xmlFeatureInfo) ? xmlFeatureInfo : [xmlFeatureInfo];
|
|
14
14
|
return {
|
|
@@ -8,7 +8,7 @@ const xml_1 = require("@loaders.gl/xml");
|
|
|
8
8
|
* @note Error handlings is fairly weak
|
|
9
9
|
*/
|
|
10
10
|
function parseWMSLayerDescription(text, options) {
|
|
11
|
-
const parsedXML = xml_1.XMLLoader.parseTextSync(text, options);
|
|
11
|
+
const parsedXML = xml_1.XMLLoader.parseTextSync?.(text, options);
|
|
12
12
|
// TODO - implement parser
|
|
13
13
|
return parsedXML;
|
|
14
14
|
}
|
|
@@ -10,10 +10,9 @@ export type ArcGISImageServerProps = ImageSourceProps & {
|
|
|
10
10
|
* Note - exports a big API, that could be exposed here if there is a use case
|
|
11
11
|
* @see https://developers.arcgis.com/rest/services-reference/enterprise/image-service.htm
|
|
12
12
|
*/
|
|
13
|
-
export declare class ArcGISImageServer extends ImageSource {
|
|
13
|
+
export declare class ArcGISImageServer extends ImageSource<ArcGISImageServerProps> {
|
|
14
14
|
static type: 'arcgis-image-server';
|
|
15
15
|
static testURL: (url: string) => boolean;
|
|
16
|
-
props: ArcGISImageServerProps;
|
|
17
16
|
constructor(props: ArcGISImageServerProps);
|
|
18
17
|
getMetadata(): Promise<ImageSourceMetadata>;
|
|
19
18
|
getImage(parameters: GetImageParameters): Promise<ImageType>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arcgis-image-service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/arcgis/arcgis-image-service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,EAAC,mBAAmB,EAAE,kBAAkB,EAAC,MAAM,4BAA4B,CAAC;AACxF,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,4BAA4B,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;QACnB,aAAa,CAAC,EAAE,KAAK,CAAC;QACtB,CAAC,CAAC,EAAE,OAAO,CAAC;KACb,GAAG,MAAM;IAaV;;;SAGK;IACL,SAAS,CAAC,MAAM,CACd,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChC,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9B,MAAM;IAeT,qFAAqF;cACrE,aAAa,CAAC,QAAQ,EAAE,QAAQ;CAQjD"}
|
|
@@ -14,11 +14,10 @@ export type ImageServiceProps = {
|
|
|
14
14
|
* ImageSource allows template url strings to be used to ad hoc connect to arbitrary image data sources
|
|
15
15
|
* Accepts a template url string and builds requests URLs
|
|
16
16
|
*/
|
|
17
|
-
export declare class ImageService extends ImageSource {
|
|
17
|
+
export declare class ImageService<PropsT extends ImageServiceProps> extends ImageSource<PropsT> {
|
|
18
18
|
static type: 'template';
|
|
19
19
|
static testURL: (url: string) => boolean;
|
|
20
|
-
props:
|
|
21
|
-
constructor(props: ImageServiceProps);
|
|
20
|
+
constructor(props: PropsT);
|
|
22
21
|
getMetadata(): Promise<ImageSourceMetadata>;
|
|
23
22
|
getImage(parameters: GetImageParameters): Promise<ImageType>;
|
|
24
23
|
/** Break up bounding box in east, north, south, west */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/generic/image-service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,aAAa,EAAC,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAGlD,OAAO,KAAK,EAAC,mBAAmB,EAAE,kBAAkB,EAAC,MAAM,4BAA4B,CAAC;AACxF,OAAO,EAAC,WAAW,EAAC,MAAM,4BAA4B,CAAC;AAEvD,mFAAmF;AACnF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,8BAA8B;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,gFAAgF;IAChF,WAAW,CAAC,EAAE,aAAa,CAAC;CAC7B,CAAC;AAEF;;;;GAIG;AACH,qBAAa,
|
|
1
|
+
{"version":3,"file":"image-service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/generic/image-service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,aAAa,EAAC,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAGlD,OAAO,KAAK,EAAC,mBAAmB,EAAE,kBAAkB,EAAC,MAAM,4BAA4B,CAAC;AACxF,OAAO,EAAC,WAAW,EAAC,MAAM,4BAA4B,CAAC;AAEvD,mFAAmF;AACnF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,8BAA8B;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,gFAAgF;IAChF,WAAW,CAAC,EAAE,aAAa,CAAC;CAC7B,CAAC;AAEF;;;;GAIG;AACH,qBAAa,YAAY,CAAC,MAAM,SAAS,iBAAiB,CAAE,SAAQ,WAAW,CAAC,MAAM,CAAC;IACrF,MAAM,CAAC,IAAI,EAAE,UAAU,CAAc;IACrC,MAAM,CAAC,OAAO,QAAS,MAAM,KAAG,OAAO,CAAoC;gBAE/D,KAAK,EAAE,MAAM;IAMnB,WAAW,IAAI,OAAO,CAAC,mBAAmB,CAAC;IAI3C,QAAQ,CAAC,UAAU,EAAE,kBAAkB,GAAG,OAAO,CAAC,SAAS,CAAC;IAUlE,wDAAwD;IACxD,SAAS,CAAC,qBAAqB,CAAC,UAAU,EAAE,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAKxF,yCAAyC;IACzC,SAAS,CAAC,kBAAkB,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM;CAU1E"}
|
|
@@ -40,10 +40,9 @@ export type CSWServiceProps = DataSourceProps & {
|
|
|
40
40
|
* - implements the ImageService interface
|
|
41
41
|
* @note Only the URL parameter conversion is supported. XML posts are not supported.
|
|
42
42
|
*/
|
|
43
|
-
export declare class CSWService extends DataSource {
|
|
43
|
+
export declare class CSWService extends DataSource<CSWServiceProps> {
|
|
44
44
|
static type: 'csw';
|
|
45
45
|
static testURL: (url: string) => boolean;
|
|
46
|
-
props: CSWServiceProps;
|
|
47
46
|
capabilities: CSWCapabilities | null;
|
|
48
47
|
/** A list of loaders used by the CSWService methods */
|
|
49
48
|
readonly loaders: ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"csw-service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/ogc/csw-service.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAC,UAAU,EAAC,MAAM,2BAA2B,CAAC;AAErD,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,kCAAkC,CAAC;AAGtE,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,6BAA6B,CAAC;AAG5D,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,4BAA4B,CAAC;AAK1D,KAAK,mBAAmB,GAAG;IACzB,sDAAsD;IACtD,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,0DAA0D;IAC1D,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;CAC3D,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,mBAAmB,GAAG;IAC/D,mBAAmB;IACnB,OAAO,CAAC,EAAE,iBAAiB,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,mBAAmB,GAAG;IAC1D,mBAAmB;IACnB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,sBAAsB;IACtB,SAAS,EAAE,YAAY,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,mBAAmB,GAAG;IACz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AS3B,kBAAkB;IACZ,UAAU,CACd,aAAa,CAAC,EAAE,uBAAuB,EACvC,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACzC,OAAO,CAAC,UAAU,CAAC;IAQtB,iBAAiB;IACX,SAAS,CACb,aAAa,CAAC,EAAE,sBAAsB,EACtC,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACzC,OAAO,CAAC,SAAS,CAAC;IAWrB,qDAAqD;IACrD,kBAAkB,CAChB,aAAa,CAAC,EAAE,4BAA4B,EAC5C,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACzC,MAAM;IAWT,qDAAqD;IACrD,aAAa,CACX,aAAa,CAAC,EAAE,uBAAuB,EACvC,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACzC,MAAM;IAYT,qDAAqD;IACrD,YAAY,CACV,aAAa,CAAC,EAAE,sBAAsB,EACtC,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACzC,MAAM;IAaT;;SAEK;IACL,SAAS,CAAC,UAAU,CAClB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChC,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACzC,MAAM;IAeT,qFAAqF;IACrF,SAAS,CAAC,cAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,GAAG,IAAI;IAQ5E,+BAA+B;IAC/B,SAAS,CAAC,WAAW,CAAC,WAAW,EAAE,WAAW,GAAG,KAAK;CAIvD"}
|
|
@@ -21,7 +21,6 @@ class CSWService extends data_source_1.DataSource {
|
|
|
21
21
|
this.capabilities = null;
|
|
22
22
|
/** A list of loaders used by the CSWService methods */
|
|
23
23
|
this.loaders = [wms_error_loader_1.WMSErrorLoader, csw_capabilities_loader_1.CSWCapabilitiesLoader];
|
|
24
|
-
this.props = props;
|
|
25
24
|
}
|
|
26
25
|
async getMetadata() {
|
|
27
26
|
const capabilities = await this.getCapabilities();
|
|
@@ -6,63 +6,82 @@ import type { WMSCapabilities } from '../../../wms-capabilities-loader';
|
|
|
6
6
|
import type { WMSFeatureInfo } from '../../../wip/wms-feature-info-loader';
|
|
7
7
|
import type { WMSLayerDescription } from '../../../wip/wms-layer-description-loader';
|
|
8
8
|
import type { WMSLoaderOptions } from '../../../wms-error-loader';
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* "Static" WMS parameters (not viewport or selected pixel dependent)
|
|
11
|
+
* These can be provided as defaults in the WMSService constructor
|
|
12
|
+
*/
|
|
10
13
|
export type WMSParameters = {
|
|
11
|
-
/** WMS version */
|
|
14
|
+
/** WMS version (all requests) */
|
|
12
15
|
version?: '1.3.0' | '1.1.1';
|
|
13
|
-
/** Layers to render */
|
|
16
|
+
/** Layers to render (GetMap, GetFeatureInfo) */
|
|
14
17
|
layers?: string[];
|
|
18
|
+
/** list of layers to query.. (GetFeatureInfo) */
|
|
19
|
+
query_layers?: string[];
|
|
15
20
|
/** Coordinate Reference System (CRS) for the image (not the bounding box) */
|
|
16
21
|
crs?: string;
|
|
17
|
-
/** Requested format for the return image */
|
|
22
|
+
/** Requested format for the return image (GetMap, GetLegendGraphic) */
|
|
18
23
|
format?: 'image/png';
|
|
19
|
-
/** Requested MIME type of returned feature info */
|
|
24
|
+
/** Requested MIME type of returned feature info (GetFeatureInfo) */
|
|
20
25
|
info_format?: 'text/plain' | 'application/geojson' | 'application/vnd.ogc.gml';
|
|
21
26
|
/** Styling - Not yet supported */
|
|
22
27
|
styles?: unknown;
|
|
23
|
-
/** Any additional parameters specific to this WMSService */
|
|
28
|
+
/** Any additional parameters specific to this WMSService (GetMap) */
|
|
24
29
|
transparent?: boolean;
|
|
25
30
|
};
|
|
26
|
-
|
|
31
|
+
/** Parameters for GetCapabilities */
|
|
32
|
+
export type WMSGetCapabilitiesParameters = {
|
|
27
33
|
/** In case the endpoint supports multiple WMS versions */
|
|
28
34
|
version?: '1.3.0' | '1.1.1';
|
|
29
35
|
};
|
|
30
|
-
/** Parameters for GetCapabilities */
|
|
31
|
-
export type WMSGetCapabilitiesParameters = WMSCommonParameters;
|
|
32
36
|
/** Parameters for GetMap */
|
|
33
|
-
export type WMSGetMapParameters =
|
|
34
|
-
/**
|
|
35
|
-
|
|
37
|
+
export type WMSGetMapParameters = {
|
|
38
|
+
/** In case the endpoint supports multiple WMS versions */
|
|
39
|
+
version?: '1.3.0' | '1.1.1';
|
|
36
40
|
/** bounding box of the requested map image */
|
|
37
41
|
bbox: [number, number, number, number];
|
|
38
42
|
/** pixel width of returned image */
|
|
39
43
|
width: number;
|
|
40
44
|
/** pixels */
|
|
41
45
|
height: number;
|
|
42
|
-
/**
|
|
46
|
+
/** Layers to render - can be provided in service constructor */
|
|
47
|
+
layers?: string | string[];
|
|
48
|
+
/** Coordinate Reference System for the image (not bounding box). can be provided in service constructor. */
|
|
43
49
|
crs?: string;
|
|
44
|
-
/** Styling */
|
|
50
|
+
/** Styling. can be provided in service constructor */
|
|
45
51
|
styles?: unknown;
|
|
46
|
-
/** Don't render background when no data */
|
|
52
|
+
/** Don't render background when no data. can be provided in service constructor */
|
|
47
53
|
transparent?: boolean;
|
|
48
|
-
/** requested format for the return image */
|
|
54
|
+
/** requested format for the return image. can be provided in service constructor */
|
|
49
55
|
format?: 'image/png';
|
|
50
56
|
};
|
|
57
|
+
/** GetMap parameters that are specific to the current view */
|
|
58
|
+
export type WMSGetMapViewParameters = {
|
|
59
|
+
/** pixel width of returned image */
|
|
60
|
+
width: number;
|
|
61
|
+
/** pixels */
|
|
62
|
+
height: number;
|
|
63
|
+
/** bounding box of the requested map image */
|
|
64
|
+
bbox: [number, number, number, number];
|
|
65
|
+
/** Coordinate Reference System for the image (not bounding box). can be provided in service constructor. */
|
|
66
|
+
crs?: string;
|
|
67
|
+
};
|
|
51
68
|
/**
|
|
52
69
|
* Parameters for GetFeatureInfo
|
|
53
70
|
* @see https://imagery.pasda.psu.edu/arcgis/services/pasda/UrbanTreeCanopy_Landcover/MapServer/WmsServer?SERVICE=WMS&
|
|
54
71
|
*/
|
|
55
|
-
export type WMSGetFeatureInfoParameters =
|
|
72
|
+
export type WMSGetFeatureInfoParameters = {
|
|
73
|
+
/** In case the endpoint supports multiple WMS versions */
|
|
74
|
+
version?: '1.3.0' | '1.1.1';
|
|
56
75
|
/** x coordinate for the feature info request */
|
|
57
76
|
x: number;
|
|
58
77
|
/** y coordinate for the feature info request */
|
|
59
78
|
y: number;
|
|
60
|
-
/**
|
|
61
|
-
query_layers: string[];
|
|
62
|
-
/** Requested MIME type of returned feature info */
|
|
79
|
+
/** MIME type of returned feature info. Can be specified in service constructor */
|
|
63
80
|
info_format?: 'text/plain' | 'application/geojson' | 'application/vnd.ogc.gml';
|
|
64
|
-
/**
|
|
65
|
-
|
|
81
|
+
/** list of layers to query. Required but can be specified in service constructor. */
|
|
82
|
+
query_layers?: string[];
|
|
83
|
+
/** Layers to render. Required, but can be specified in service constructor */
|
|
84
|
+
layers?: string[];
|
|
66
85
|
/** Styling */
|
|
67
86
|
styles?: unknown;
|
|
68
87
|
/** bounding box of the requested map image */
|
|
@@ -72,18 +91,39 @@ export type WMSGetFeatureInfoParameters = WMSCommonParameters & {
|
|
|
72
91
|
/** pixels */
|
|
73
92
|
height: number;
|
|
74
93
|
/** srs for the image (not the bounding box) */
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
94
|
+
crs?: string;
|
|
95
|
+
};
|
|
96
|
+
/** GetMap parameters that are specific to the current view */
|
|
97
|
+
export type WMSGetFeatureInfoViewParameters = {
|
|
98
|
+
/** x coordinate for the feature info request */
|
|
99
|
+
x: number;
|
|
100
|
+
/** y coordinate for the feature info request */
|
|
101
|
+
y: number;
|
|
102
|
+
/** pixel width of returned image */
|
|
103
|
+
width: number;
|
|
104
|
+
/** pixels */
|
|
105
|
+
height: number;
|
|
106
|
+
/** bounding box of the requested map image */
|
|
107
|
+
bbox: [number, number, number, number];
|
|
108
|
+
/** srs for the image (not the bounding box) */
|
|
109
|
+
crs?: string;
|
|
78
110
|
};
|
|
79
111
|
/** Parameters for DescribeLayer */
|
|
80
|
-
export type WMSDescribeLayerParameters =
|
|
112
|
+
export type WMSDescribeLayerParameters = {
|
|
113
|
+
/** In case the endpoint supports multiple WMS versions */
|
|
114
|
+
version?: '1.3.0' | '1.1.1';
|
|
115
|
+
};
|
|
81
116
|
/** Parameters for GetLegendGraphic */
|
|
82
|
-
export type WMSGetLegendGraphicParameters =
|
|
117
|
+
export type WMSGetLegendGraphicParameters = {
|
|
118
|
+
/** In case the endpoint supports multiple WMS versions */
|
|
119
|
+
version?: '1.3.0' | '1.1.1';
|
|
120
|
+
};
|
|
83
121
|
/** Properties for creating a enw WMS service */
|
|
84
122
|
export type WMSServiceProps = ImageSourceProps & {
|
|
85
123
|
/** Base URL to the service */
|
|
86
124
|
url: string;
|
|
125
|
+
/** In 1.3.0, replaces references to EPSG:4326 with CRS:84 */
|
|
126
|
+
substituteCRS84?: boolean;
|
|
87
127
|
/** Default WMS parameters. If not provided here, must be provided in the various request */
|
|
88
128
|
wmsParameters?: WMSParameters;
|
|
89
129
|
/** Any additional service specific parameters */
|
|
@@ -96,10 +136,15 @@ export type WMSServiceProps = ImageSourceProps & {
|
|
|
96
136
|
* - implements the ImageService interface
|
|
97
137
|
* @note Only the URL parameter conversion is supported. XML posts are not supported.
|
|
98
138
|
*/
|
|
99
|
-
export declare class WMSService extends ImageSource {
|
|
139
|
+
export declare class WMSService extends ImageSource<WMSServiceProps> {
|
|
100
140
|
static type: 'wms';
|
|
101
141
|
static testURL: (url: string) => boolean;
|
|
142
|
+
/** Base URL to the service */
|
|
102
143
|
readonly url: string;
|
|
144
|
+
/** In WMS 1.3.0, replaces references to EPSG:4326 with CRS:84. But not always supported. Default: false */
|
|
145
|
+
substituteCRS84: boolean;
|
|
146
|
+
/** In WMS 1.3.0, flips x,y (lng, lat) coordinates for the supplied coordinate systems. Default: ['ESPG:4326'] */
|
|
147
|
+
flipCRS: string[];
|
|
103
148
|
/** Default static WMS parameters */
|
|
104
149
|
wmsParameters: Required<WMSParameters>;
|
|
105
150
|
/** Default static vendor parameters */
|
|
@@ -121,7 +166,6 @@ export declare class WMSService extends ImageSource {
|
|
|
121
166
|
};
|
|
122
167
|
};
|
|
123
168
|
parse: (arrayBuffer: ArrayBuffer, options?: WMSLoaderOptions | undefined) => Promise<string>;
|
|
124
|
-
/** WMS version */
|
|
125
169
|
parseSync: (arrayBuffer: ArrayBuffer, options?: WMSLoaderOptions | undefined) => string;
|
|
126
170
|
parseTextSync: (text: string, options?: WMSLoaderOptions | undefined) => string;
|
|
127
171
|
} | {
|
|
@@ -152,17 +196,7 @@ export declare class WMSService extends ImageSource {
|
|
|
152
196
|
options: {
|
|
153
197
|
wms: {};
|
|
154
198
|
};
|
|
155
|
-
} |
|
|
156
|
-
id: string;
|
|
157
|
-
module: string;
|
|
158
|
-
name: string;
|
|
159
|
-
version: any;
|
|
160
|
-
mimeTypes: string[];
|
|
161
|
-
extensions: string[];
|
|
162
|
-
parse: typeof import("modules/images/src/lib/parsers/parse-image").default;
|
|
163
|
-
tests: ((arrayBuffer: any) => boolean)[];
|
|
164
|
-
options: import("@loaders.gl/images").ImageLoaderOptions;
|
|
165
|
-
})[];
|
|
199
|
+
} | import("@loaders.gl/loader-utils").LoaderWithParser<ImageType, never, import("@loaders.gl/images").ImageLoaderOptions>)[];
|
|
166
200
|
/** Create a WMSService */
|
|
167
201
|
constructor(props: WMSServiceProps);
|
|
168
202
|
getMetadata(): Promise<ImageSourceMetadata>;
|
|
@@ -198,15 +232,22 @@ export declare class WMSService extends ImageSource {
|
|
|
198
232
|
* @note case _getWMSUrl may need to be overridden to handle certain backends?
|
|
199
233
|
* @note at the moment, only URLs with parameters are supported (no XML payloads)
|
|
200
234
|
* */
|
|
201
|
-
protected _getWMSUrl(request: string, wmsParameters:
|
|
235
|
+
protected _getWMSUrl(request: string, wmsParameters: {
|
|
236
|
+
version?: '1.3.0' | '1.1.1';
|
|
202
237
|
[key: string]: unknown;
|
|
203
238
|
}, vendorParameters?: Record<string, unknown>): string;
|
|
204
|
-
|
|
239
|
+
_getWMS130Parameters<ParametersT extends {
|
|
240
|
+
crs?: string;
|
|
241
|
+
srs?: string;
|
|
242
|
+
}>(wmsParameters: ParametersT): ParametersT;
|
|
243
|
+
_getURLParameter(key: string, value: unknown, wmsParameters: WMSParameters): string;
|
|
244
|
+
/** Coordinate order is flipped for certain CRS in WMS 1.3.0 */
|
|
245
|
+
_flipBoundingBox(bboxValue: unknown, wmsParameters: WMSParameters): [number, number, number, number] | null;
|
|
246
|
+
/** Fetches an array buffer and checks the response (boilerplate reduction) */
|
|
205
247
|
protected _fetchArrayBuffer(url: string): Promise<ArrayBuffer>;
|
|
206
248
|
/** Checks for and parses a WMS XML formatted ServiceError and throws an exception */
|
|
207
249
|
protected _checkResponse(response: Response, arrayBuffer: ArrayBuffer): void;
|
|
208
250
|
/** Error situation detected */
|
|
209
251
|
protected _parseError(arrayBuffer: ArrayBuffer): Error;
|
|
210
252
|
}
|
|
211
|
-
export {};
|
|
212
253
|
//# sourceMappingURL=wms-service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wms-service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/ogc/wms-service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wms-service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/ogc/wms-service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAIlD,OAAO,KAAK,EAAC,mBAAmB,EAAE,kBAAkB,EAAC,MAAM,4BAA4B,CAAC;AACxF,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAC,WAAW,EAAC,MAAM,4BAA4B,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