@loaders.gl/wms 4.3.0-alpha.2 → 4.3.0-alpha.3

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.
Files changed (70) hide show
  1. package/dist/csw-capabilities-loader.js +1 -1
  2. package/dist/csw-domain-loader.js +1 -1
  3. package/dist/csw-records-loader.js +1 -1
  4. package/dist/gml-loader.js +1 -1
  5. package/dist/index.cjs +124 -299
  6. package/dist/index.cjs.map +4 -4
  7. package/dist/index.d.ts +7 -13
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +8 -10
  10. package/dist/lib/deprecated/create-image-source.d.ts +21 -0
  11. package/dist/lib/deprecated/create-image-source.d.ts.map +1 -0
  12. package/dist/lib/deprecated/create-image-source.js +44 -0
  13. package/dist/lib/parsers/wfs/parse-wfs-capabilities.d.ts.map +1 -0
  14. package/dist/{wip/lib → lib/parsers}/wfs/parse-wfs-capabilities.js +5 -2
  15. package/dist/lib/parsers/wfs/parse-wfs.d.ts.map +1 -0
  16. package/dist/services/arcgis/arcgis-feature-server.d.ts +67 -0
  17. package/dist/services/arcgis/arcgis-feature-server.d.ts.map +1 -0
  18. package/dist/services/arcgis/arcgis-feature-server.js +446 -0
  19. package/dist/services/arcgis/{arcgis-image-service.d.ts → arcgis-image-server.d.ts} +25 -10
  20. package/dist/services/arcgis/arcgis-image-server.d.ts.map +1 -0
  21. package/dist/services/arcgis/{arcgis-image-service.js → arcgis-image-server.js} +28 -11
  22. package/dist/services/ogc/csw-service.d.ts +13 -13
  23. package/dist/services/ogc/csw-service.d.ts.map +1 -1
  24. package/dist/services/ogc/wfs-service.d.ts +279 -0
  25. package/dist/services/ogc/wfs-service.d.ts.map +1 -0
  26. package/dist/services/ogc/wfs-service.js +388 -0
  27. package/dist/services/ogc/wms-service.d.ts +42 -21
  28. package/dist/services/ogc/wms-service.d.ts.map +1 -1
  29. package/dist/services/ogc/wms-service.js +28 -13
  30. package/dist/{wip/wfs-capabilities-loader.d.ts → wfs-capabilities-loader.d.ts} +2 -1
  31. package/dist/wfs-capabilities-loader.d.ts.map +1 -0
  32. package/dist/{wip/wfs-capabilities-loader.js → wfs-capabilities-loader.js} +3 -2
  33. package/dist/wip/wcs-capabilities-loader.js +1 -1
  34. package/dist/wip/wmts-capabilities-loader.js +1 -1
  35. package/dist/wms-capabilities-loader.js +1 -1
  36. package/dist/wms-error-loader.js +1 -1
  37. package/package.json +6 -6
  38. package/src/index.ts +12 -24
  39. package/src/lib/{services/create-image-service.ts → deprecated/create-image-service.ts.disabled} +4 -4
  40. package/src/lib/deprecated/create-image-source.ts +70 -0
  41. package/src/{wip/lib → lib/parsers}/wfs/parse-wfs-capabilities.ts +8 -5
  42. package/src/services/arcgis/arcgis-feature-server.ts +506 -0
  43. package/src/services/arcgis/{arcgis-image-service.ts → arcgis-image-server.ts} +41 -18
  44. package/src/services/ogc/csw-service.ts +17 -15
  45. package/src/services/ogc/wfs-service.ts +624 -0
  46. package/src/services/ogc/wms-service.ts +53 -29
  47. package/src/{wip/wfs-capabilities-loader.ts → wfs-capabilities-loader.ts} +3 -2
  48. package/dist/lib/services/create-image-service.d.ts +0 -14
  49. package/dist/lib/services/create-image-service.d.ts.map +0 -1
  50. package/dist/lib/services/create-image-service.js +0 -39
  51. package/dist/lib/services/image-service.d.ts +0 -28
  52. package/dist/lib/services/image-service.d.ts.map +0 -1
  53. package/dist/lib/services/image-service.js +0 -45
  54. package/dist/services/arcgis/arcgis-image-service.d.ts.map +0 -1
  55. package/dist/services/create-image-source.d.ts +0 -18
  56. package/dist/services/create-image-source.d.ts.map +0 -1
  57. package/dist/services/create-image-source.js +0 -17
  58. package/dist/wip/lib/wfs/parse-wfs-capabilities.d.ts.map +0 -1
  59. package/dist/wip/lib/wfs/parse-wfs.d.ts.map +0 -1
  60. package/dist/wip/services/arcgis-feature-service.d.ts +0 -56
  61. package/dist/wip/services/arcgis-feature-service.d.ts.map +0 -1
  62. package/dist/wip/services/arcgis-feature-service.js +0 -27
  63. package/dist/wip/wfs-capabilities-loader.d.ts.map +0 -1
  64. package/src/services/create-image-source.ts +0 -33
  65. package/src/wip/services/arcgis-feature-service.ts +0 -89
  66. /package/dist/{wip/lib → lib/parsers}/wfs/parse-wfs-capabilities.d.ts +0 -0
  67. /package/dist/{wip/lib → lib/parsers}/wfs/parse-wfs.d.ts +0 -0
  68. /package/dist/{wip/lib → lib/parsers}/wfs/parse-wfs.js +0 -0
  69. /package/src/lib/{services/image-service.ts → deprecated/template-image-service.ts.disabled} +0 -0
  70. /package/src/{wip/lib → lib/parsers}/wfs/parse-wfs.ts +0 -0
@@ -1,18 +1,34 @@
1
- import { ImageType } from '@loaders.gl/images';
2
- import type { Service, ImageSourceMetadata, GetImageParameters } from '@loaders.gl/loader-utils';
3
- import type { ImageServiceProps } from "../../lib/services/image-service.js";
4
- import { ImageService } from "../../lib/services/image-service.js";
5
- export type ArcGISImageServerProps = ImageServiceProps & {
6
- url: string;
1
+ import type { ImageType } from '@loaders.gl/images';
2
+ import type { ImageSourceProps, ImageSourceMetadata, GetImageParameters } from '@loaders.gl/loader-utils';
3
+ import { ImageSource } from '@loaders.gl/loader-utils';
4
+ export declare const ArcGISImageServerSource: {
5
+ readonly name: "ArcGISImageServer";
6
+ readonly id: "arcgis-image-server";
7
+ readonly module: "wms";
8
+ readonly version: "0.0.0";
9
+ readonly extensions: [];
10
+ readonly mimeTypes: [];
11
+ readonly options: {
12
+ readonly 'arcgis-image-server': {};
13
+ };
14
+ readonly type: "arcgis-image-server";
15
+ readonly fromUrl: true;
16
+ readonly fromBlob: false;
17
+ readonly testURL: (url: string) => boolean;
18
+ readonly createDataSource: (url: string | Blob, props: ArcGISImageSourceProps) => ArcGISImageSource;
19
+ };
20
+ export type ArcGISImageSourceProps = ImageSourceProps & {
21
+ 'arcgis-image-server'?: {};
7
22
  };
8
23
  /**
9
24
  * ArcGIS ImageServer
10
25
  * Note - exports a big API, that could be exposed here if there is a use case
11
26
  * @see https://developers.arcgis.com/rest/services-reference/enterprise/image-service.htm
12
27
  */
13
- export declare class ArcGISImageSource extends ImageService<ArcGISImageServerProps> {
28
+ export declare class ArcGISImageSource extends ImageSource<ArcGISImageSourceProps> {
29
+ url: string;
14
30
  data: string;
15
- constructor(props: ArcGISImageServerProps);
31
+ constructor(url: string, props: ArcGISImageSourceProps);
16
32
  getMetadata(): Promise<ImageSourceMetadata>;
17
33
  getImage(parameters: GetImageParameters): Promise<ImageType>;
18
34
  metadata(): Promise<unknown>;
@@ -78,5 +94,4 @@ export declare class ArcGISImageSource extends ImageService<ArcGISImageServerPro
78
94
  /** Checks for and parses a WMS XML formatted ServiceError and throws an exception */
79
95
  protected checkResponse(response: Response): Promise<void>;
80
96
  }
81
- export declare const ArcGISImageService: Service;
82
- //# sourceMappingURL=arcgis-image-service.d.ts.map
97
+ //# sourceMappingURL=arcgis-image-server.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arcgis-image-server.d.ts","sourceRoot":"","sources":["../../../src/services/arcgis/arcgis-image-server.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,EAEV,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAC,WAAW,EAAC,MAAM,0BAA0B,CAAC;AAKrD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;4BAiBnB,MAAM,KAAG,OAAO;2DACA,sBAAsB,KAAG,iBAAiB;CAEL,CAAC;AAEvE,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,GAAG;IACtD,qBAAqB,CAAC,EAAE,EAEvB,CAAC;CACH,CAAC;AAEF;;;;GAIG;AACH,qBAAa,iBAAkB,SAAQ,WAAW,CAAC,sBAAsB,CAAC;IACxE,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;gBAED,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,sBAA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AAC;QACf,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,IAAI,CAAC,EAAE,KAAK,CAAC;QACb,MAAM,CAAC,EAAE,QAAQ,CAAC;QAClB,SAAS,CAAC,EAAE,IAAI,CAAC;QACjB,MAAM,CAAC,EAAE,KAAK,CAAC;QACf,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;QAC5C,aAAa,CAAC,EAAE,sBAAsB,CAAC;QACvC,WAAW,CAAC,EAAE,KAAK,CAAC;QACpB,kBAAkB,CAAC,EAAE,KAAK,CAAC;QAC3B,OAAO,CAAC,EAAE,KAAK,CAAC;QAChB,UAAU,CAAC,EAAE,KAAK,CAAC;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"}
@@ -1,17 +1,39 @@
1
1
  // loaders.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // Copyright (c) vis.gl contributors
4
- import { ImageService } from "../../lib/services/image-service.js";
4
+ import { ImageSource } from '@loaders.gl/loader-utils';
5
+ // import type {ImageSourceProps} from '@loaders.gl/loader-utils';
6
+ // import {ImageSource} from '@loaders.gl/loader-utils';
7
+ export const ArcGISImageServerSource = {
8
+ name: 'ArcGISImageServer',
9
+ id: 'arcgis-image-server',
10
+ module: 'wms',
11
+ version: '0.0.0',
12
+ extensions: [],
13
+ mimeTypes: [],
14
+ options: {
15
+ 'arcgis-image-server': {
16
+ // TODO - add options here
17
+ }
18
+ },
19
+ type: 'arcgis-image-server',
20
+ fromUrl: true,
21
+ fromBlob: false,
22
+ testURL: (url) => url.toLowerCase().includes('ImageServer'),
23
+ createDataSource: (url, props) => new ArcGISImageSource(url, props)
24
+ };
5
25
  /**
6
26
  * ArcGIS ImageServer
7
27
  * Note - exports a big API, that could be exposed here if there is a use case
8
28
  * @see https://developers.arcgis.com/rest/services-reference/enterprise/image-service.htm
9
29
  */
10
- export class ArcGISImageSource extends ImageService {
30
+ export class ArcGISImageSource extends ImageSource {
31
+ url;
11
32
  data;
12
- constructor(props) {
33
+ constructor(url, props) {
13
34
  super(props);
14
- this.data = props.url;
35
+ this.url = url;
36
+ this.data = url;
15
37
  }
16
38
  // ImageSource (normalized endpoints)
17
39
  async getMetadata() {
@@ -39,7 +61,7 @@ export class ArcGISImageSource extends ImageService {
39
61
  }
40
62
  // URL creators
41
63
  metadataURL(options) {
42
- return `${this.props.url}?f=pjson`;
64
+ return `${this.url}?f=pjson`;
43
65
  }
44
66
  /**
45
67
  * Form a URL to an ESRI ImageServer
@@ -66,7 +88,7 @@ export class ArcGISImageSource extends ImageService {
66
88
  * @note if override is common, maybe add a callback prop?
67
89
  * */
68
90
  getUrl(path, options, extra) {
69
- let url = `${this.props.url}/${path}`;
91
+ let url = `${this.url}/${path}`;
70
92
  let first = true;
71
93
  for (const [key, value] of Object.entries(options)) {
72
94
  url += first ? '?' : '&';
@@ -90,8 +112,3 @@ export class ArcGISImageSource extends ImageService {
90
112
  }
91
113
  }
92
114
  }
93
- export const ArcGISImageService = {
94
- type: 'arcgis-image-server',
95
- testURL: (url) => url.toLowerCase().includes('ImageServer'),
96
- create: (props) => new ArcGISImageSource(props)
97
- };
@@ -3,6 +3,19 @@ import { DataSource } from '@loaders.gl/loader-utils';
3
3
  import type { CSWCapabilities } from "../../csw-capabilities-loader.js";
4
4
  import type { CSWRecords } from "../../csw-records-loader.js";
5
5
  import type { CSWDomain } from "../../csw-domain-loader.js";
6
+ export type CSWServiceProps = DataSourceProps & {
7
+ url: string;
8
+ };
9
+ /** Describes a service or resource exposed by the catalog */
10
+ export type Service = {
11
+ /** name of service or resource */
12
+ name: string;
13
+ /** type of service or resource */
14
+ type: string;
15
+ url: string;
16
+ params?: string;
17
+ scheme?: string;
18
+ };
6
19
  type CSWCommonParameters = {
7
20
  /** In case the endpoint supports multiple services */
8
21
  service?: 'CSW';
@@ -23,19 +36,6 @@ export type CSWGetDomainParameters = CSWCommonParameters & {
23
36
  /** Request type */
24
37
  request?: 'GetDomain';
25
38
  };
26
- /** Describes a service or resource exposed by the catalog */
27
- export type Service = {
28
- /** name of service or resource */
29
- name: string;
30
- /** type of service or resource */
31
- type: string;
32
- url: string;
33
- params?: string;
34
- scheme?: string;
35
- };
36
- export type CSWServiceProps = DataSourceProps & {
37
- url: string;
38
- };
39
39
  /**
40
40
  * The CSWService class
41
41
  * - provides type safe methods to form URLs to a CSW service
@@ -1 +1 @@
1
- {"version":3,"file":"csw-service.d.ts","sourceRoot":"","sources":["../../../src/services/ogc/csw-service.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AAEpD,OAAO,KAAK,EAAC,eAAe,EAAC,yCAAsC;AAGnE,OAAO,KAAK,EAAC,UAAU,EAAC,oCAAiC;AAGzD,OAAO,KAAK,EAAC,SAAS,EAAC,mCAAgC;AAKvD,KAAK,mBAAmB,GAAG;IACzB,sDAAsD;IACtD,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,0DAA0D;IAC1D,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;CACjD,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,sB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,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"}
@@ -0,0 +1,279 @@
1
+ import { Schema, GeoJSONTable } from '@loaders.gl/schema';
2
+ import type { VectorSourceProps, VectorSourceMetadata } from '@loaders.gl/loader-utils';
3
+ import type { LoaderWithParser, GetFeaturesParameters } from '@loaders.gl/loader-utils';
4
+ import { VectorSource } from '@loaders.gl/loader-utils';
5
+ import type { WFSCapabilities } from "../../wfs-capabilities-loader.js";
6
+ /**
7
+ * @ndeprecated This is a WIP, not fully implemented
8
+ * @see https://developers.arcgis.com/rest/services-reference/enterprise/feature-service.htm
9
+ */
10
+ export declare const WFSSource: {
11
+ readonly name: "WFS";
12
+ readonly id: "wfs";
13
+ readonly module: "wms";
14
+ readonly version: "0.0.0";
15
+ readonly extensions: [];
16
+ readonly mimeTypes: [];
17
+ readonly options: {
18
+ readonly url: never;
19
+ readonly wfs: {
20
+ /** Tabular loaders, normally the GeoJSONLoader */
21
+ readonly loaders: [];
22
+ };
23
+ };
24
+ readonly type: "wfs";
25
+ readonly fromUrl: true;
26
+ readonly fromBlob: false;
27
+ readonly testURL: (url: string) => boolean;
28
+ readonly createDataSource: (url: string | Blob, props: WFSVectorSourceProps) => WFSVectorSource;
29
+ };
30
+ /** Properties for creating a enw WFS service */
31
+ export type WFSVectorSourceProps = VectorSourceProps & {
32
+ url: string;
33
+ wfs?: {
34
+ loaders: LoaderWithParser[];
35
+ /** In 1.3.0, replaces references to EPSG:4326 with CRS:84 */
36
+ substituteCRS84?: boolean;
37
+ /** Default WFS parameters. If not provided here, must be provided in the various request */
38
+ wmsParameters?: WFSParameters;
39
+ /** Any additional service specific parameters */
40
+ vendorParameters?: Record<string, unknown>;
41
+ };
42
+ };
43
+ /**
44
+ * "Static" WFS parameters (not viewport or selected pixel dependent)
45
+ * These can be provided as defaults in the WFSVectorSource constructor
46
+ */
47
+ export type WFSParameters = {
48
+ /** WFS version (all requests) */
49
+ version?: '1.3.0' | '1.1.1';
50
+ /** Layers to render (GetMap, GetFeatureInfo) */
51
+ layers?: string[];
52
+ /** list of layers to query.. (GetFeatureInfo) */
53
+ query_layers?: string[];
54
+ /** Coordinate Reference System (CRS) for the image (not the bounding box) */
55
+ crs?: string;
56
+ /** Requested format for the return image (GetMap, GetLegendGraphic) */
57
+ format?: 'image/png';
58
+ /** Requested MIME type of returned feature info (GetFeatureInfo) */
59
+ info_format?: 'text/plain' | 'application/geojson' | 'application/vnd.ogc.gml';
60
+ /** Styling - Not yet supported */
61
+ styles?: unknown;
62
+ /** Any additional parameters specific to this WFSVectorSource (GetMap) */
63
+ transparent?: boolean;
64
+ /** If layer supports time dimension */
65
+ time?: string;
66
+ /** If layer supports elevation dimension */
67
+ elevation?: string;
68
+ };
69
+ /** Parameters for GetCapabilities */
70
+ export type WFSGetCapabilitiesParameters = {
71
+ /** In case the endpoint supports multiple WFS versions */
72
+ version?: '1.3.0' | '1.1.1';
73
+ };
74
+ /** Parameters for GetMap */
75
+ export type WFSGetMapParameters = {
76
+ /** In case the endpoint supports multiple WFS versions */
77
+ version?: '1.3.0' | '1.1.1';
78
+ /** bounding box of the requested map image `[[w, s], [e, n]]` */
79
+ /** bounding box of the requested map image @deprecated Use .boundingBox */
80
+ bbox: [number, number, number, number];
81
+ /** pixel width of returned image */
82
+ width: number;
83
+ /** pixels */
84
+ height: number;
85
+ /** requested format for the return image. can be provided in service constructor */
86
+ format?: 'image/png';
87
+ /** Layers to render - can be provided in service constructor */
88
+ layers?: string | string[];
89
+ /** Coordinate Reference System for the image (not bounding box). can be provided in service constructor. */
90
+ crs?: string;
91
+ /** Styling. can be provided in service constructor */
92
+ styles?: unknown;
93
+ /** Don't render background when no data. can be provided in service constructor */
94
+ transparent?: boolean;
95
+ /** If layer supports time dimension */
96
+ time?: string;
97
+ /** If layer supports elevation dimension */
98
+ elevation?: string;
99
+ };
100
+ /**
101
+ * Parameters for GetFeatureInfo
102
+ * @see https://imagery.pasda.psu.edu/arcgis/services/pasda/UrbanTreeCanopy_Landcover/MapServer/WmsServer?SERVICE=WFS&
103
+ */
104
+ export type WFSGetFeatureInfoParameters = {
105
+ /** In case the endpoint supports multiple WFS versions */
106
+ version?: '1.3.0' | '1.1.1';
107
+ /** x coordinate for the feature info request */
108
+ x: number;
109
+ /** y coordinate for the feature info request */
110
+ y: number;
111
+ /** MIME type of returned feature info. Can be specified in service constructor */
112
+ info_format?: 'text/plain' | 'application/geojson' | 'application/vnd.ogc.gml';
113
+ /** list of layers to query. Required but can be specified in service constructor. */
114
+ query_layers?: string[];
115
+ /** Layers to render. Required, but can be specified in service constructor */
116
+ layers?: string[];
117
+ /** Styling */
118
+ styles?: unknown;
119
+ /** bounding box of the requested map image */
120
+ bbox: [number, number, number, number];
121
+ /** pixel width of returned image */
122
+ width: number;
123
+ /** pixels */
124
+ height: number;
125
+ /** srs for the image (not the bounding box) */
126
+ crs?: string;
127
+ };
128
+ /** GetMap parameters that are specific to the current view */
129
+ export type WFSGetFeatureInfoViewParameters = {
130
+ /** x coordinate for the feature info request */
131
+ x: number;
132
+ /** y coordinate for the feature info request */
133
+ y: number;
134
+ /** pixel width of returned image */
135
+ width: number;
136
+ /** pixels */
137
+ height: number;
138
+ /** bounding box of the requested map image */
139
+ bbox: [number, number, number, number];
140
+ /** srs for the image (not the bounding box) */
141
+ crs?: string;
142
+ };
143
+ /** Parameters for DescribeLayer */
144
+ export type WFSDescribeLayerParameters = {
145
+ /** In case the endpoint supports multiple WFS versions */
146
+ version?: '1.3.0' | '1.1.1';
147
+ };
148
+ /** Parameters for GetLegendGraphic */
149
+ export type WFSGetLegendGraphicParameters = {
150
+ /** In case the endpoint supports multiple WFS versions */
151
+ version?: '1.3.0' | '1.1.1';
152
+ };
153
+ /**
154
+ * The WFSVectorSource class provides
155
+ * - provides type safe methods to form URLs to a WFS service
156
+ * - provides type safe methods to query and parse results (and errors) from a WFS service
157
+ * - implements the VectorSource interface
158
+ * @note Only the URL parameter conversion is supported. XML posts are not supported.
159
+ */
160
+ export declare class WFSVectorSource extends VectorSource<WFSVectorSourceProps> {
161
+ /** Base URL to the service */
162
+ readonly url: string;
163
+ readonly data: string;
164
+ /** Default static vendor parameters */
165
+ vendorParameters?: Record<string, unknown>;
166
+ capabilities: WFSCapabilities | null;
167
+ /** Create a WFSVectorSource */
168
+ constructor(props: WFSVectorSourceProps);
169
+ getSchema(): Promise<Schema>;
170
+ getMetadata(): Promise<VectorSourceMetadata>;
171
+ getFeatures(parameters: GetFeaturesParameters): Promise<GeoJSONTable>;
172
+ normalizeMetadata(capabilities: WFSCapabilities): VectorSourceMetadata;
173
+ /** Get Capabilities */
174
+ getCapabilities(wmsParameters?: WFSGetCapabilitiesParameters, vendorParameters?: Record<string, unknown>): Promise<WFSCapabilities>;
175
+ /** Get a map image *
176
+ async getMap(
177
+ wmsParameters: WFSGetMapParameters,
178
+ vendorParameters?: Record<string, unknown>
179
+ ): Promise<ImageType> {
180
+ const url = this.getMapURL(wmsParameters, vendorParameters);
181
+ const response = await this.fetch(url);
182
+ const arrayBuffer = await response.arrayBuffer();
183
+ this._checkResponse(response, arrayBuffer);
184
+ try {
185
+ return await ImageLoader.parse(arrayBuffer, this.loadOptions);
186
+ } catch {
187
+ throw this._parseError(arrayBuffer);
188
+ }
189
+ }
190
+
191
+ /** Get Feature Info for a coordinate *
192
+ async getFeatureInfo(
193
+ wmsParameters: WFSGetFeatureInfoParameters,
194
+ vendorParameters?: Record<string, unknown>
195
+ ): Promise<WFSFeatureInfo> {
196
+ const url = this.getFeatureInfoURL(wmsParameters, vendorParameters);
197
+ const response = await this.fetch(url);
198
+ const arrayBuffer = await response.arrayBuffer();
199
+ this._checkResponse(response, arrayBuffer);
200
+ return await WFSFeatureInfoLoader.parse(arrayBuffer, this.loadOptions);
201
+ }
202
+
203
+ /** Get Feature Info for a coordinate *
204
+ async getFeatureInfoText(
205
+ wmsParameters: WFSGetFeatureInfoParameters,
206
+ vendorParameters?: Record<string, unknown>
207
+ ): Promise<string> {
208
+ const url = this.getFeatureInfoURL(wmsParameters, vendorParameters);
209
+ const response = await this.fetch(url);
210
+ const arrayBuffer = await response.arrayBuffer();
211
+ this._checkResponse(response, arrayBuffer);
212
+ return new TextDecoder().decode(arrayBuffer);
213
+ }
214
+
215
+ /** Get more information about a layer *
216
+ async describeLayer(
217
+ wmsParameters: WFSDescribeLayerParameters,
218
+ vendorParameters?: Record<string, unknown>
219
+ ): Promise<WFSLayerDescription> {
220
+ const url = this.describeLayerURL(wmsParameters, vendorParameters);
221
+ const response = await this.fetch(url);
222
+ const arrayBuffer = await response.arrayBuffer();
223
+ this._checkResponse(response, arrayBuffer);
224
+ return await WFSLayerDescriptionLoader.parse(arrayBuffer, this.loadOptions);
225
+ }
226
+
227
+ /** Get an image with a semantic legend *
228
+ async getLegendGraphic(
229
+ wmsParameters: WFSGetLegendGraphicParameters,
230
+ vendorParameters?: Record<string, unknown>
231
+ ): Promise<ImageType> {
232
+ const url = this.getLegendGraphicURL(wmsParameters, vendorParameters);
233
+ const response = await this.fetch(url);
234
+ const arrayBuffer = await response.arrayBuffer();
235
+ this._checkResponse(response, arrayBuffer);
236
+ try {
237
+ return await ImageLoader.parse(arrayBuffer, this.loadOptions);
238
+ } catch {
239
+ throw this._parseError(arrayBuffer);
240
+ }
241
+ }
242
+ */
243
+ /** Generate a URL for the GetCapabilities request */
244
+ getCapabilitiesURL(wmsParameters?: WFSGetCapabilitiesParameters, vendorParameters?: Record<string, unknown>): string;
245
+ /** Generate a URL for the GetMap request */
246
+ getMapURL(wmsParameters: WFSGetMapParameters, vendorParameters?: Record<string, unknown>): string;
247
+ /** Generate a URL for the GetFeatureInfo request */
248
+ getFeatureInfoURL(wmsParameters: WFSGetFeatureInfoParameters, vendorParameters?: Record<string, unknown>): string;
249
+ /** Generate a URL for the GetFeatureInfo request */
250
+ describeLayerURL(wmsParameters: WFSDescribeLayerParameters, vendorParameters?: Record<string, unknown>): string;
251
+ getLegendGraphicURL(wmsParameters: WFSGetLegendGraphicParameters, vendorParameters?: Record<string, unknown>): string;
252
+ _parseWFSUrl(url: string): {
253
+ url: string;
254
+ parameters: Record<string, unknown>;
255
+ };
256
+ /**
257
+ * Generate a URL with parameters
258
+ * @note case _getWFSUrl may need to be overridden to handle certain backends?
259
+ * @note at the moment, only URLs with parameters are supported (no XML payloads)
260
+ * */
261
+ protected _getWFSUrl(request: string, wmsParameters: {
262
+ version?: '1.3.0' | '1.1.1';
263
+ [key: string]: unknown;
264
+ }, vendorParameters?: Record<string, unknown>): string;
265
+ _getWFS130Parameters<ParametersT extends {
266
+ crs?: string;
267
+ srs?: string;
268
+ }>(wmsParameters: ParametersT): ParametersT;
269
+ _getURLParameter(key: string, value: unknown, wmsParameters: WFSParameters): string;
270
+ /** Coordinate order is flipped for certain CRS in WFS 1.3.0 */
271
+ _flipBoundingBox(bboxValue: unknown, wmsParameters: WFSParameters): [number, number, number, number] | null;
272
+ /** Fetches an array buffer and checks the response (boilerplate reduction) */
273
+ protected _fetchArrayBuffer(url: string): Promise<ArrayBuffer>;
274
+ /** Checks for and parses a WFS XML formatted ServiceError and throws an exception */
275
+ protected _checkResponse(response: Response, arrayBuffer: ArrayBuffer): void;
276
+ /** Error situation detected */
277
+ protected _parseError(arrayBuffer: ArrayBuffer): Error;
278
+ }
279
+ //# sourceMappingURL=wfs-service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wfs-service.d.ts","sourceRoot":"","sources":["../../../src/services/ogc/wfs-service.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,MAAM,EAAE,YAAY,EAAC,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAC,iBAAiB,EAAE,oBAAoB,EAAC,MAAM,0BAA0B,CAAC;AACtF,OAAO,KAAK,EAAC,gBAAgB,EAAE,qBAAqB,EAAC,MAAM,0BAA0B,CAAC;AACtF,OAAO,EAAS,YAAY,EAAqB,MAAM,0BAA0B,CAAC;AAElF,OAAO,KAAK,EAAC,eAAe,EAAC,yCAAsC;AAQnE;;;GAGG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;YAUhB,kDAAkD;;;;;;;4BASvC,MAAM,KAAG,OAAO;2DACA,oBAAoB,KAAG,eAAe;CAEL,CAAC;AAEnE,gDAAgD;AAChD,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,GAAG;IACrD,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE;QACJ,OAAO,EAAE,gBAAgB,EAAE,CAAC;QAC5B,6DAA6D;QAC7D,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B,4FAA4F;QAC5F,aAAa,CAAC,EAAE,aAAa,CAAC;QAC9B,iDAAiD;QACjD,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAC5C,CAAC;CACH,CAAC;AAIF;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,iCAAiC;IACjC,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC5B,gDAAgD;IAChD,MAAM,CAAC,EAAE,MAAM,E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