@opengeoweb/webmap 9.35.0 → 9.35.1-spike-oltanstack.0

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 (36) hide show
  1. package/index.esm.js +4451 -3339
  2. package/package.json +2 -1
  3. package/src/index.d.ts +13 -0
  4. package/src/lib/components/WMJSTools.d.ts +1 -15
  5. package/src/lib/components/WMLayer.d.ts +6 -78
  6. package/src/lib/components/WMLayerTypes.d.ts +57 -0
  7. package/src/lib/components/WMLayerUtils.d.ts +22 -0
  8. package/src/lib/components/index.d.ts +8 -5
  9. package/src/lib/components/types.d.ts +26 -1
  10. package/src/lib/query/queryWMS.d.ts +51 -0
  11. package/src/lib/specs/getCapabilitySpecs/WMS130GetCapabilitiesRadarTestWithInheritLayerpropsToLayerTree.d.ts +71 -0
  12. package/src/lib/specs/getCapabilitySpecs/radarGetCapabilities.d.ts +244 -0
  13. package/src/lib/{utils/getCapabilities/mocks → specs}/index.d.ts +6 -4
  14. package/src/lib/{utils/testSettings.d.ts → specs/layerSpecs.d.ts} +24 -5
  15. package/src/lib/{utils/getCapabilities/mocks → specs}/mockGetCapabilities.d.ts +2 -1
  16. package/src/lib/utils/getCapabilities/getWMSServiceId.d.ts +10 -0
  17. package/src/lib/utils/getCapabilities/index.d.ts +4 -2
  18. package/src/lib/utils/getCapabilities/utils.d.ts +38 -0
  19. package/src/lib/utils/getCapabilities/wmsQueryClient.d.ts +7 -0
  20. package/src/lib/utils/index.d.ts +0 -6
  21. package/src/lib/utils/utils.d.ts +0 -5
  22. package/src/lib/components/WMGetServiceFromStore.d.ts +0 -3
  23. package/src/lib/components/WMGlobals.d.ts +0 -8
  24. package/src/lib/components/WMJSService.d.ts +0 -69
  25. package/src/lib/utils/getCapabilities/getCapabilities.d.ts +0 -18
  26. package/src/lib/utils/getCapabilities/getCapabilities.spec.d.ts +0 -1
  27. package/src/lib/utils/mapConstants.d.ts +0 -7
  28. package/src/lib/utils/specs/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +0 -2
  29. package/src/lib/utils/testUtils.d.ts +0 -21
  30. /package/src/lib/{utils/getCapabilities/mocks → specs/getCapabilitySpecs}/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +0 -0
  31. /package/src/lib/{utils/specs → specs/getCapabilitySpecs}/WMS130GetCapabilitiesHarmN25.d.ts +0 -0
  32. /package/src/lib/{utils/specs → specs/getCapabilitySpecs}/WMS130GetCapabilitiesRadarTestWithInheritAndReplaceLayerprops.d.ts +0 -0
  33. /package/src/lib/{utils/specs → specs/getCapabilitySpecs}/WMS130GetCapabilitiesRadarTestWithInheritLayerprops.d.ts +0 -0
  34. /package/src/lib/{utils/specs → specs/getCapabilitySpecs}/WMS130GetCapabilitiesRadarTestWithoutInheritLayerprops.d.ts +0 -0
  35. /package/src/lib/{utils/specs → specs/getCapabilitySpecs}/WMSSmartMet.d.ts +0 -0
  36. /package/src/lib/{components/WMJSService.spec.d.ts → utils/getCapabilities/utils.spec.d.ts} +0 -0
@@ -0,0 +1,244 @@
1
+ export declare const radarGetCapabilities: {
2
+ WMS_Capabilities: {
3
+ attr: {
4
+ xmlns: string;
5
+ 'xmlns:xlink': string;
6
+ 'xmlns:xsi': string;
7
+ version: string;
8
+ updateSequence: string;
9
+ 'xsi:schemaLocation': string;
10
+ };
11
+ Service: {
12
+ attr: {};
13
+ Name: {
14
+ attr: {};
15
+ value: string;
16
+ };
17
+ Title: {
18
+ attr: {};
19
+ value: string;
20
+ };
21
+ Abstract: {
22
+ attr: {};
23
+ value: string;
24
+ };
25
+ KeywordList: {
26
+ attr: {};
27
+ Keyword: {
28
+ attr: {};
29
+ value: string;
30
+ }[];
31
+ };
32
+ OnlineResource: {
33
+ attr: {
34
+ 'xlink:type': string;
35
+ 'xlink:href': string;
36
+ };
37
+ };
38
+ ContactInformation: {
39
+ attr: {};
40
+ };
41
+ Fees: {
42
+ attr: {};
43
+ value: string;
44
+ };
45
+ AccessConstraints: {
46
+ attr: {};
47
+ value: string;
48
+ };
49
+ MaxWidth: {
50
+ attr: {};
51
+ value: string;
52
+ };
53
+ MaxHeight: {
54
+ attr: {};
55
+ value: string;
56
+ };
57
+ };
58
+ Capability: {
59
+ attr: {};
60
+ Request: {
61
+ attr: {};
62
+ GetCapabilities: {
63
+ attr: {};
64
+ Format: {
65
+ attr: {};
66
+ value: string;
67
+ };
68
+ DCPType: {
69
+ attr: {};
70
+ HTTP: {
71
+ attr: {};
72
+ Get: {
73
+ attr: {};
74
+ OnlineResource: {
75
+ attr: {
76
+ 'xlink:type': string;
77
+ 'xlink:href': string;
78
+ };
79
+ };
80
+ };
81
+ };
82
+ };
83
+ };
84
+ GetMap: {
85
+ attr: {};
86
+ Format: {
87
+ attr: {};
88
+ value: string;
89
+ }[];
90
+ DCPType: {
91
+ attr: {};
92
+ HTTP: {
93
+ attr: {};
94
+ Get: {
95
+ attr: {};
96
+ OnlineResource: {
97
+ attr: {
98
+ 'xlink:type': string;
99
+ 'xlink:href': string;
100
+ };
101
+ };
102
+ };
103
+ };
104
+ };
105
+ };
106
+ GetFeatureInfo: {
107
+ attr: {};
108
+ Format: {
109
+ attr: {};
110
+ value: string;
111
+ }[];
112
+ DCPType: {
113
+ attr: {};
114
+ HTTP: {
115
+ attr: {};
116
+ Get: {
117
+ attr: {};
118
+ OnlineResource: {
119
+ attr: {
120
+ 'xlink:type': string;
121
+ 'xlink:href': string;
122
+ };
123
+ };
124
+ };
125
+ };
126
+ };
127
+ };
128
+ };
129
+ Exception: {
130
+ attr: {};
131
+ Format: {
132
+ attr: {};
133
+ value: string;
134
+ }[];
135
+ };
136
+ UserDefinedSymbolization: {
137
+ attr: {
138
+ SupportSLD: string;
139
+ };
140
+ };
141
+ Layer: {
142
+ attr: {};
143
+ Title: {
144
+ attr: {};
145
+ value: string;
146
+ };
147
+ CRS: {
148
+ attr: {};
149
+ value: string;
150
+ }[];
151
+ BoundingBox: {
152
+ attr: {
153
+ CRS: string;
154
+ minx: string;
155
+ miny: string;
156
+ maxx: string;
157
+ maxy: string;
158
+ };
159
+ }[];
160
+ Layer: {
161
+ attr: {
162
+ queryable: string;
163
+ opaque: string;
164
+ cascaded: string;
165
+ };
166
+ Name: {
167
+ attr: {};
168
+ value: string;
169
+ };
170
+ Title: {
171
+ attr: {};
172
+ value: string;
173
+ };
174
+ EX_GeographicBoundingBox: {
175
+ attr: {};
176
+ westBoundLongitude: {
177
+ attr: {};
178
+ value: string;
179
+ };
180
+ eastBoundLongitude: {
181
+ attr: {};
182
+ value: string;
183
+ };
184
+ southBoundLatitude: {
185
+ attr: {};
186
+ value: string;
187
+ };
188
+ northBoundLatitude: {
189
+ attr: {};
190
+ value: string;
191
+ };
192
+ };
193
+ BoundingBox: {
194
+ attr: {
195
+ CRS: string;
196
+ minx: string;
197
+ miny: string;
198
+ maxx: string;
199
+ maxy: string;
200
+ };
201
+ }[];
202
+ Dimension: {
203
+ attr: {
204
+ name: string;
205
+ units: string;
206
+ default: string;
207
+ multipleValues: string;
208
+ nearestValue: string;
209
+ current: string;
210
+ };
211
+ value: string;
212
+ };
213
+ Style: {
214
+ attr: {};
215
+ Name: {
216
+ attr: {};
217
+ value: string;
218
+ };
219
+ Title: {
220
+ attr: {};
221
+ value: string;
222
+ };
223
+ LegendURL: {
224
+ attr: {
225
+ width: string;
226
+ height: string;
227
+ };
228
+ Format: {
229
+ attr: {};
230
+ value: string;
231
+ };
232
+ OnlineResource: {
233
+ attr: {
234
+ 'xlink:type': string;
235
+ 'xlink:href': string;
236
+ };
237
+ };
238
+ };
239
+ }[];
240
+ }[];
241
+ };
242
+ };
243
+ };
244
+ };
@@ -1,3 +1,4 @@
1
+ export * from './layerSpecs';
1
2
  export declare const mockGetCapabilities: {
2
3
  WMS111GetCapabilitiesGeoServicesRADAR: string;
3
4
  MOCK_URL_WITH_CHILDREN: "https://mockUrlWithChildren.nl";
@@ -31,8 +32,8 @@ export declare const mockGetCapabilities: {
31
32
  children: never[];
32
33
  }[];
33
34
  };
34
- mockLayersWithNoTitle: import("../../..").LayerTree;
35
- mockLayersWithNoTitleOrName: import("../../..").LayerTree;
35
+ mockLayersWithNoTitle: import("..").LayerTree;
36
+ mockLayersWithNoTitleOrName: import("..").LayerTree;
36
37
  mockLayersWithSubcategory: {
37
38
  leaf: boolean;
38
39
  name: null;
@@ -84,6 +85,7 @@ export declare const mockGetCapabilities: {
84
85
  path: never[];
85
86
  children: never[];
86
87
  };
87
- mockGetLayersFromService: (url: string) => Promise<import("../../..").LayerTree>;
88
- mockGetLayersFlattenedFromService: (url: string) => Promise<import("../../..").LayerProps[]>;
88
+ mockGetLayersFromService: (url: string) => Promise<import("..").LayerTree>;
89
+ mockGetLayersFlattenedFromService: (url: string) => Promise<import("..").LayerProps[]>;
90
+ mockGetCapabilitiesFetcher: (serviceUrl: string) => Promise<import("..").GetCapabilitiesJson>;
89
91
  };
@@ -1,10 +1,6 @@
1
- import { CoordinateReferenceSystem, Dimension, LayerFoundation, LayerOptions, Style, WMLayer } from '../components';
1
+ import { CoordinateReferenceSystem, Dimension, LayerFoundation, LayerOptions, LayerType, Style, WMLayer } from '../components';
2
2
  export declare const defaultReduxLayerRadarColor: LayerOptions;
3
- export declare const multiDimensionLayer: LayerOptions;
4
3
  export declare const WmdefaultReduxLayerRadarKNMI: WMLayer;
5
- export declare const defaultReduxLayerRadarKNMI: LayerFoundation & {
6
- styles: Style[];
7
- };
8
4
  export declare const makeGeoservicesRadarLayer: (dimensions?: Dimension[]) => WMLayer;
9
5
  export declare const WmMultiDimensionLayer: WMLayer;
10
6
  export declare const layerWithoutTimeDimension: LayerOptions;
@@ -12,3 +8,26 @@ export declare const WmLayerWithoutTimeDimension: WMLayer;
12
8
  export declare const crsListForRADNL25PCPCMLayer: CoordinateReferenceSystem[];
13
9
  export declare const styleListForRADNL25PCPCMLayer: Style[];
14
10
  export declare const multiDimensionLayer3: LayerFoundation;
11
+ export declare const defaultReduxLayerRadarKNMIWithStyles: LayerFoundation & {
12
+ styles: Style[];
13
+ };
14
+ export declare const defaultReduxLayerRadarKNMI: LayerOptions;
15
+ export declare const multiDimensionLayer: {
16
+ service: string;
17
+ id: string;
18
+ name: string;
19
+ title: string;
20
+ layerType: LayerType;
21
+ enabled: boolean;
22
+ dimensions: ({
23
+ name: string;
24
+ units: string;
25
+ currentValue: string;
26
+ values: string;
27
+ } | {
28
+ name: string;
29
+ units: string;
30
+ currentValue: string;
31
+ values?: undefined;
32
+ })[];
33
+ };
@@ -1,4 +1,4 @@
1
- import { LayerProps, LayerTree } from '../../../components';
1
+ import { GetCapabilitiesJson, LayerProps, LayerTree } from '../components';
2
2
  export declare const MOCK_URL_WITH_CHILDREN = "https://mockUrlWithChildren.nl";
3
3
  export declare const MOCK_URL_NO_CHILDREN = "https://mockUrlNoChildren.nl";
4
4
  export declare const MOCK_URL_WITH_NO_TITLE = "https://mockUrlWithNoTitle.nl";
@@ -85,3 +85,4 @@ export declare const mockLayersDefault2: {
85
85
  };
86
86
  export declare const mockGetLayersFromService: (url: string) => Promise<LayerTree>;
87
87
  export declare const mockGetLayersFlattenedFromService: (url: string) => Promise<LayerProps[]>;
88
+ export declare const mockGetCapabilitiesFetcher: (serviceUrl: string) => Promise<GetCapabilitiesJson>;
@@ -0,0 +1,10 @@
1
+ export declare const _generateServiceId: () => string;
2
+ export declare const _serviceIdLookupMap: Map<string, string>;
3
+ /**
4
+ * Returns the id corresponding to a WMS service url. It ensures that the id is unique across services.
5
+ * The id can be used as a key in the redux store.
6
+ *
7
+ * @param {string} serviceUrl Link to a WMS service
8
+ * @returns {string} Returns the corresponding id
9
+ */
10
+ export declare const getWMSServiceId: (serviceUrl: string) => string;
@@ -1,2 +1,4 @@
1
- export * from './mocks';
2
- export * as getCapabilities from './getCapabilities';
1
+ export { invalidateWMSGetCapabilities, queryWMSGetCapabilities, queryWMSLayersTree, queryWMSLayers, queryWMSServiceInfo, queryWMSLayer, } from '../../query/queryWMS';
2
+ export { wmsQueryClient } from './wmsQueryClient';
3
+ export { setWMSGetCapabilitiesFetcher } from './utils';
4
+ export { getWMSServiceId } from './getWMSServiceId';
@@ -0,0 +1,38 @@
1
+ import { Capability, GetCapabilitiesJson, Header, LayerProps, LayerTree, WMSLayerFromGetCapabilities, WMSServiceInfo } from '../../components/types';
2
+ /**
3
+ * A LayerTree with deeply nested children will be flattened into a 1D array.
4
+ * Children properties are removed and result is sorted alphabetically by the layers title.
5
+ * @param layerTree a WMS LayerTree
6
+ * @returns Flat array of layers as LayerProps[]
7
+ */
8
+ export declare const privateWmsFlattenLayerTree: (layerTree: LayerTree) => LayerProps[];
9
+ export declare const privateGetWMSUrl: (service?: string, additionalParams?: {}) => string;
10
+ export declare const privateWmsGetCapabilities: (serviceUrl: string, headers?: Header[], forceReload?: boolean) => Promise<GetCapabilitiesJson>;
11
+ export declare const privateWmsGetCapabilityElement: (jsonData: GetCapabilitiesJson) => Capability;
12
+ export declare const privateCheckException: (jsonData: GetCapabilitiesJson) => string | undefined;
13
+ export declare const privateWmsGetRootLayerFromGetCapabilities: (jsonData: GetCapabilitiesJson) => WMSLayerFromGetCapabilities;
14
+ export declare const privateCheckVersion130: (jsonData: GetCapabilitiesJson) => void;
15
+ export declare const privateCheckVersion: (jsonData: GetCapabilitiesJson) => string | null;
16
+ /**
17
+ * Returns a LayerTree object representing hierarchical structure of Lahyers in the WMS GetCapabilities document
18
+ * @param jsonData GetCapabilitiesJson
19
+ * @returns LayerTree
20
+ */
21
+ export declare const privateWmsGetLayerTree: (jsonData: GetCapabilitiesJson) => LayerTree;
22
+ /**
23
+ * Builds a standardized LayerTree object based on WMSLayerFromGetCapabilities object.
24
+ * @param wmsLayer The WMSLayerFromGetCapabilities object
25
+ * @param nestedPath - Optional, only to be used by privateWmsBuildLayerTreeFromNestedWMSLayer
26
+ * @param nestedLayerPath - Optional, only to be used by privateWmsBuildLayerTreeFromNestedWMSLayer
27
+ * @returns A LayerTree object.
28
+ */
29
+ export declare const privateWmsBuildLayerTreeFromNestedWMSLayer: (wmsLayer: WMSLayerFromGetCapabilities, nestedPath?: string[], nestedLayerPath?: LayerProps[]) => LayerTree;
30
+ export type GetCapabilitiesFunctionType = (serviceUrl: string) => Promise<GetCapabilitiesJson>;
31
+ export declare const setWMSGetCapabilitiesFetcher: (functionToSet: GetCapabilitiesFunctionType | null) => void;
32
+ /**
33
+ * Returns details about the WMS service. You are encouraged to use queryWMSServiceInfo instead.
34
+ * @param getCapabilitiesJson
35
+ * @param serviceUrl
36
+ * @returns
37
+ */
38
+ export declare const privateGetWMSServiceInfo: (getCapabilitiesJson: GetCapabilitiesJson, serviceUrl: string) => WMSServiceInfo;
@@ -0,0 +1,7 @@
1
+ import { QueryClient } from '@tanstack/query-core';
2
+ /**
3
+ * This is the default TanStack QueryClient used for the query functions.
4
+ * It can be used in react by a provider to provide the query client to the hook functions.
5
+ * This ensures that TanStack keeps the same store for both the hooks and the query functions.
6
+ */
7
+ export declare const wmsQueryClient: QueryClient;
@@ -1,9 +1,3 @@
1
- export * as webmapTestSettings from './testSettings';
2
1
  export * from './tilesettings';
3
- export * as webmapUtils from './utils';
4
2
  export * from './utils';
5
- export * from './testUtils';
6
3
  export * from './getCapabilities';
7
- export type { SpeedFactorType } from './mapConstants';
8
- export * as mapConstants from './mapConstants';
9
- export { speedFactors } from './mapConstants';
@@ -1,5 +1,4 @@
1
1
  import type { WMJSDimension, IWMJSMap, WMLayer } from '../components';
2
- import { SpeedFactorType } from './mapConstants';
3
2
  export declare const generateLayerId: () => string;
4
3
  export declare const generateMapId: () => string;
5
4
  export declare const generateTimesliderId: () => string;
@@ -50,7 +49,3 @@ export declare const getWMJSTimeDimensionForLayerId: (layerId: string) => WMJSDi
50
49
  */
51
50
  export declare const clearImageCacheForAllMaps: () => void;
52
51
  export declare const roundWithTimeStep: (unixTime: number, timeStep: number, type?: string) => number;
53
- /**
54
- * Returns speed delay for given speedFactor. For options, see defined above in "speedFactors"
55
- */
56
- export declare const getSpeedDelay: (speedFactor: SpeedFactorType) => number;
@@ -1,3 +0,0 @@
1
- import { WMJSService } from './WMJSService';
2
- declare const WMGetServiceFromStore: (serviceName: string) => WMJSService;
3
- export default WMGetServiceFromStore;
@@ -1,8 +0,0 @@
1
- import type { WMJSService } from './WMJSService';
2
- /**
3
- * Global service store for re-use of services
4
- */
5
- export declare const WMServiceStore: WMJSService[];
6
- export declare const WMServiceStoreXML2JSONRequest: {
7
- proxy: string;
8
- };
@@ -1,69 +0,0 @@
1
- import { LayerProps, LayerTree, WMSLayerFromGetCapabilities } from './types';
2
- import WMListener from './WMListener';
3
- export declare const wmServiceListener: WMListener;
4
- export interface GetCapabilitiesJson {
5
- WMS_Capabilities?: any;
6
- WMT_MS_Capabilities?: any;
7
- ServiceExceptionReport?: any;
8
- }
9
- export interface Capability {
10
- Layer: WMSLayerFromGetCapabilities;
11
- Request: any;
12
- }
13
- export declare const loadGetCapabilitiesViaProxy: (url: string, succes: (jsonData: GetCapabilitiesJson) => void, fail: (param: string) => void, xml2jsonrequestURL: string) => void;
14
- export declare const getWMSUrl: (service?: string, additionalParams?: {}) => string;
15
- /**
16
- * Global getcapabilities function
17
- */
18
- export declare const WMJSGetCapabilities: (service: string, succes: (jsonData: GetCapabilitiesJson) => void, fail: (param: string) => void, options: {
19
- headers?: {
20
- name: string;
21
- value: string;
22
- }[];
23
- }, disableCache?: boolean) => void;
24
- /**
25
- * WMJSService Class
26
- *
27
- * options:
28
- * service
29
- * title (optional)
30
- */
31
- export declare class WMJSService {
32
- id: string;
33
- service: string;
34
- title: string;
35
- onlineresource: string;
36
- abstract: string;
37
- version: string;
38
- getcapabilitiesDoc: GetCapabilitiesJson;
39
- busy: boolean;
40
- _flatLayerObject: LayerProps[] | undefined;
41
- functionCallbackList: any[];
42
- _options: any;
43
- constructor(options: {
44
- service: string;
45
- title?: string;
46
- });
47
- checkVersion111(jsonData: GetCapabilitiesJson): void;
48
- checkVersion130(jsonData: GetCapabilitiesJson): void;
49
- getCapabilityElement(jsonData: GetCapabilitiesJson): Capability;
50
- checkVersion(jsonData: GetCapabilitiesJson): string;
51
- /**
52
- * Does getcapabilities for a service.
53
- * When multple getCapabilities for the same service are made,
54
- * this method makes one get request and fires all callbacks with the same result.
55
- * @param succescallback Function called upon succes, cannot be left blank
56
- * @param failcallback Function called upon failure, cannot be left blank
57
- */
58
- getCapabilities(succescallback: (jsonData: GetCapabilitiesJson) => void, failcallback: (jsonData: string) => void, forceReload: boolean, options: any): void;
59
- checkException(jsonData: GetCapabilitiesJson): string | undefined;
60
- /**
61
- * Calls succes with a hierarchical node structure
62
- * Calls failure with a string when someting goes wrong
63
- */
64
- getNodes(succes: (layerTreeStructure: LayerTree) => void, failure: (msg: string) => void, forceReload: boolean, options?: unknown): void;
65
- /** Calls succes with an array of all layerobjects
66
- * Calls failure when something goes wrong
67
- */
68
- getLayerObjectsFlat(succes: (layers: LayerProps[]) => void, failure: (message: string) => void, forceReload: boolean, options?: any): void;
69
- }
@@ -1,18 +0,0 @@
1
- import { LayerTree } from '../../components';
2
- /**
3
- * Converts webmapjs node structure to LayerTree
4
- * @param nodesToRecur THe WebMapJS node structure from service.getNodes();
5
- */
6
- export declare const recurseNodes: (nodesToRecur: LayerTree) => LayerTree;
7
- /**
8
- * Returns a promise with a hierarchical tree of layers from the WMS GetCapabilities document.
9
- * @param serviceUrl The URL of the WMS service
10
- * @param {boolean} forceReload **optional** forceReload: boolean, true will force the layers to be reloaded from the service, defaults to false
11
- */
12
- export declare const getLayersFromService: (serviceUrl: string, forceReload?: boolean) => Promise<LayerTree>;
13
- /**
14
- * Returns a promise with an array of flattened layerobjects from the WMS GetCapabilities document.
15
- * @param serviceUrl The URL of the WMS service
16
- * @param {boolean} forceReload **optional** forceReload: boolean, true will force the layers to be reloaded from the service, defaults to false
17
- */
18
- export declare const getLayersFlattenedFromService: (serviceUrl: string, forceReload?: boolean) => Promise<[]>;
@@ -1,7 +0,0 @@
1
- export declare const defaultAnimationDelayAtStart = 250;
2
- export declare const defaultDelay = 1000;
3
- export declare const defaultTimeStep = 60;
4
- export declare const defaultSecondsPerPx = 80;
5
- export declare const defaultTimeSpan: number;
6
- export type SpeedFactorType = 0.1 | 0.2 | 0.5 | 1 | 2 | 4 | 8 | 16;
7
- export declare const speedFactors: SpeedFactorType[];
@@ -1,2 +0,0 @@
1
- declare const _default: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE WMT_MS_Capabilities SYSTEM \"http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd\" [\n <!ELEMENT VendorSpecificCapabilities EMPTY>\n]>\n<!-- end of DOCTYPE declaration -->\n<WMT_MS_Capabilities version=\"1.1.1\">\n <Service>\n <Name>OGC:WMS</Name>\n <Title>RADAR</Title>\n <Abstract>This service demonstrates how the ADAGUC server can be used to create OGC services.</Abstract>\n <ServerInfo>ADAGUCServer version 2.5.8, of Apr 13 2021 07:55:43</ServerInfo>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n <ContactInformation />\n </Service>\n <Capability>\n <Request>\n <GetCapabilities>\n <Format>application/vnd.ogc.wms_xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetCapabilities>\n <GetMap>\n <Format>image/png</Format>\n <Format>image/gif</Format>\n <Format>image/png32</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetMap>\n <GetFeatureInfo>\n <Format>text/plain</Format>\n <Format>text/html</Format>\n <Format>text/xml</Format>\n <Format>application/vnd.ogc.gml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetFeatureInfo>\n <DescribeLayer>\n <Format>text/xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </DescribeLayer>\n <GetLegendGraphic>\n <Format>image/png</Format>\n <Format>image/gif</Format>\n <Format>image/png32</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetLegendGraphic>\n <GetStyles>\n <Format>text/xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetStyles>\n </Request>\n <Exception>\n <Format>application/vnd.ogc.se_xml</Format>\n <Format>application/vnd.ogc.se_inimage</Format>\n <Format>application/vnd.ogc.se_blank</Format>\n </Exception>\n <VendorSpecificCapabilities />\n <UserDefinedSymbolization SupportSLD=\"1\" UserLayer=\"0\" UserStyle=\"1\" RemoteWFS=\"0\" />\n <Layer>\n <Title>WMS of RADAR</Title>\n <SRS>EPSG:3411</SRS>\n <SRS>EPSG:3412</SRS>\n <SRS>EPSG:3575</SRS>\n <SRS>EPSG:3857</SRS>\n <SRS>EPSG:4258</SRS>\n <SRS>EPSG:4326</SRS>\n <SRS>CRS:84</SRS>\n <SRS>EPSG:25831</SRS>\n <SRS>EPSG:25832</SRS>\n <SRS>EPSG:28992</SRS>\n <SRS>EPSG:7399</SRS>\n <SRS>EPSG:50001</SRS>\n <SRS>EPSG:54030</SRS>\n <SRS>EPSG:32661</SRS>\n <SRS>EPSG:40000</SRS>\n <SRS>EPSG:900913</SRS>\n <SRS>PROJ4:%2Bproj%3Dstere%20%2Blat_0%3D90%20%2Blon_0%3D0%20%2Blat_ts%3D60%20%2Ba%3D6378%2E14%20%2Bb%3D6356%2E75%20%2Bx_0%3D0%20y_0%3D0</SRS>\n <Layer queryable=\"1\" opaque=\"1\" cascaded=\"0\">\n <Name>RAD_NL25_PCP_CM</Name>\n <Title>Precipitation Radar NL</Title>\n <SRS>EPSG:3411</SRS>\n <BoundingBox SRS=\"EPSG:3411\" minx=\"2682754.743620\" miny=\"-3245034.014141\" maxx=\"3759536.917562\" maxy=\"-2168251.989038\" />\n <SRS>EPSG:3412</SRS>\n <BoundingBox SRS=\"EPSG:3412\" minx=\"0.000000\" miny=\"32318824.826266\" maxx=\"7413041.166015\" maxy=\"40075258.815074\" />\n <SRS>EPSG:3575</SRS>\n <BoundingBox SRS=\"EPSG:3575\" minx=\"-770622.801471\" miny=\"-4485814.811314\" maxx=\"56845.766135\" maxy=\"-3684039.443620\" />\n <SRS>EPSG:3857</SRS>\n <BoundingBox SRS=\"EPSG:3857\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <SRS>EPSG:4258</SRS>\n <BoundingBox SRS=\"EPSG:4258\" minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <SRS>EPSG:4326</SRS>\n <BoundingBox SRS=\"EPSG:4326\" minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <SRS>CRS:84</SRS>\n <BoundingBox SRS=\"CRS:84\" minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <SRS>EPSG:25831</SRS>\n <BoundingBox SRS=\"EPSG:25831\" minx=\"282182.345905\" miny=\"5433247.394267\" maxx=\"997135.658653\" maxy=\"6207204.592736\" />\n <SRS>EPSG:25832</SRS>\n <BoundingBox SRS=\"EPSG:25832\" minx=\"-153083.019482\" miny=\"5415817.312927\" maxx=\"617595.626092\" maxy=\"6239769.309937\" />\n <SRS>EPSG:28992</SRS>\n <BoundingBox SRS=\"EPSG:28992\" minx=\"-236275.338083\" miny=\"106727.731651\" maxx=\"501527.918656\" maxy=\"900797.079725\" />\n <SRS>EPSG:7399</SRS>\n <BoundingBox SRS=\"EPSG:7399\" minx=\"0.000000\" miny=\"5757301.056717\" maxx=\"763611.971696\" maxy=\"6483919.801602\" />\n <SRS>EPSG:50001</SRS>\n <BoundingBox SRS=\"EPSG:50001\" minx=\"-2000000.000000\" miny=\"-2000000.000000\" maxx=\"10000000.000000\" maxy=\"8500000.000000\" />\n <SRS>EPSG:54030</SRS>\n <BoundingBox SRS=\"EPSG:54030\" minx=\"0.000000\" miny=\"5211855.054125\" maxx=\"853649.695106\" maxy=\"5936394.291427\" />\n <SRS>EPSG:32661</SRS>\n <BoundingBox SRS=\"EPSG:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\n <SRS>EPSG:40000</SRS>\n <BoundingBox SRS=\"EPSG:40000\" minx=\"0.000000\" miny=\"-4731695.771951\" maxx=\"750214.326339\" maxy=\"-3911817.119426\" />\n <SRS>EPSG:900913</SRS>\n <BoundingBox SRS=\"EPSG:900913\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <SRS>PROJ4:%2Bproj%3Dstere%20%2Blat_0%3D90%20%2Blon_0%3D0%20%2Blat_ts%3D60%20%2Ba%3D6378%2E14%20%2Bb%3D6356%2E75%20%2Bx_0%3D0%20y_0%3D0</SRS>\n <BoundingBox SRS=\"PROJ4:%2Bproj%3Dstere%20%2Blat_0%3D90%20%2Blon_0%3D0%20%2Blat_ts%3D60%20%2Ba%3D6378%2E14%20%2Bb%3D6356%2E75%20%2Bx_0%3D0%20y_0%3D0\" minx=\"0.000000\" miny=\"-3649.999338\" maxx=\"700.002420\" maxy=\"-4415.002986\" />\n <LatLonBoundingBox minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <Dimension name=\"time\" units=\"ISO8601\" />\n <Extent name=\"time\" default=\"2021-05-17T00:00:00Z\" multipleValues=\"1\" nearestValue=\"0\">2021-03-31T09:25:00Z/2021-05-18T07:45:00Z/PT5M</Extent>\n <Style>\n <Name>radar/nearest</Name>\n <Title>radar/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=radar/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-rainbow/nearest</Name>\n <Title>precip-rainbow/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=precip-rainbow/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-gray/nearest</Name>\n <Title>precip-gray/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=precip-gray/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-blue/nearest</Name>\n <Title>precip-blue/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=precip-blue/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-blue-transparent/nearest</Name>\n <Title>precip-blue-transparent/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=precip-blue-transparent/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-with-range/nearest</Name>\n <Title>precip-with-range/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=precip-with-range/nearest\" />\n </LegendURL>\n </Style>\n <ScaleHint min=\"0\" max=\"10000\" />\n </Layer>\n </Layer>\n </Capability>\n</WMT_MS_Capabilities>";
2
- export default _default;
@@ -1,21 +0,0 @@
1
- import { LayerOptions, LayerType } from '../components/WMLayer';
2
- export declare const defaultReduxLayerRadarKNMI: LayerOptions;
3
- export declare const multiDimensionLayer: {
4
- service: string;
5
- id: string;
6
- name: string;
7
- title: string;
8
- layerType: LayerType;
9
- enabled: boolean;
10
- dimensions: ({
11
- name: string;
12
- units: string;
13
- currentValue: string;
14
- values: string;
15
- } | {
16
- name: string;
17
- units: string;
18
- currentValue: string;
19
- values?: undefined;
20
- })[];
21
- };