@opengeoweb/webmap 19.1.0 → 19.1.1

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 (51) hide show
  1. package/dist/README.md +11 -0
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.esm.js +7036 -0
  4. package/dist/src/index.d.ts +16 -0
  5. package/dist/src/lib/components/LoadDurationCounter.d.ts +17 -0
  6. package/dist/src/lib/components/WMBBOX.d.ts +32 -0
  7. package/dist/src/lib/components/WMConstants.d.ts +32 -0
  8. package/dist/src/lib/components/WMImage.d.ts +116 -0
  9. package/dist/src/lib/components/WMImageStore.d.ts +61 -0
  10. package/dist/src/lib/components/WMJSDimension.d.ts +126 -0
  11. package/dist/src/lib/components/WMJSDimensionModes.d.ts +15 -0
  12. package/dist/src/lib/components/WMJSTools.d.ts +62 -0
  13. package/dist/src/lib/components/WMLayer.d.ts +117 -0
  14. package/dist/src/lib/components/WMLayerTypes.d.ts +66 -0
  15. package/dist/src/lib/components/WMLayerUtils.d.ts +22 -0
  16. package/dist/src/lib/components/WMLegend.d.ts +6 -0
  17. package/dist/src/lib/components/WMListener.d.ts +57 -0
  18. package/dist/src/lib/components/WMProjection.d.ts +17 -0
  19. package/dist/src/lib/components/WMTime.d.ts +44 -0
  20. package/dist/src/lib/components/WMTimeTypes.d.ts +19 -0
  21. package/dist/src/lib/components/WMXMLParser.d.ts +9 -0
  22. package/dist/src/lib/components/index.d.ts +25 -0
  23. package/dist/src/lib/components/makeHashUrlForGeoReferencedImage.d.ts +6 -0
  24. package/dist/src/lib/components/types.d.ts +231 -0
  25. package/dist/src/lib/index.d.ts +5 -0
  26. package/dist/src/lib/query/fakeApiWmtsQueries.d.ts +208 -0
  27. package/dist/src/lib/query/queryConstants.d.ts +7 -0
  28. package/dist/src/lib/query/queryWMS.d.ts +69 -0
  29. package/dist/src/lib/specs/getCapabilitySpecs/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +1 -0
  30. package/dist/src/lib/specs/getCapabilitySpecs/WMS130GetCapabilitiesHarmN25.d.ts +2 -0
  31. package/dist/src/lib/specs/getCapabilitySpecs/WMS130GetCapabilitiesRadarTestWithInheritAndReplaceLayerprops.d.ts +2 -0
  32. package/dist/src/lib/specs/getCapabilitySpecs/WMS130GetCapabilitiesRadarTestWithInheritLayerprops.d.ts +2 -0
  33. package/dist/src/lib/specs/getCapabilitySpecs/WMS130GetCapabilitiesRadarTestWithInheritLayerpropsToLayerTree.d.ts +76 -0
  34. package/dist/src/lib/specs/getCapabilitySpecs/WMS130GetCapabilitiesRadarTestWithoutInheritLayerprops.d.ts +2 -0
  35. package/dist/src/lib/specs/getCapabilitySpecs/WMSGetCapabilitiesMissingLegend.d.ts +1 -0
  36. package/dist/src/lib/specs/getCapabilitySpecs/WMSSmartMet.d.ts +2 -0
  37. package/dist/src/lib/specs/getCapabilitySpecs/radarGetCapabilities.d.ts +244 -0
  38. package/dist/src/lib/specs/index.d.ts +93 -0
  39. package/dist/src/lib/specs/layerSpecs.d.ts +34 -0
  40. package/dist/src/lib/specs/mockGetCapabilities.d.ts +90 -0
  41. package/dist/src/lib/utils/consoleErrorMessages.d.ts +12 -0
  42. package/dist/src/lib/utils/fakeMaxAgeResponses.d.ts +1 -0
  43. package/dist/src/lib/utils/getCapabilities/getWMSServiceId.d.ts +10 -0
  44. package/dist/src/lib/utils/getCapabilities/index.d.ts +4 -0
  45. package/dist/src/lib/utils/getCapabilities/utils.d.ts +64 -0
  46. package/dist/src/lib/utils/getCapabilities/wmsQueryClient.d.ts +7 -0
  47. package/dist/src/lib/utils/i18n.d.ts +6 -0
  48. package/dist/src/lib/utils/index.d.ts +3 -0
  49. package/dist/src/lib/utils/tilesettings.d.ts +27 -0
  50. package/dist/src/lib/utils/utils.d.ts +31 -0
  51. package/package.json +2 -1
@@ -0,0 +1,2 @@
1
+ declare const xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<WMS_Capabilities xmlns=\"http://www.opengis.net/wms\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" version=\"1.3.0\" updateSequence=\"0\" xsi:schemaLocation=\"http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd\">\n <Service>\n <Name>WMS</Name>\n <Title>RADAR</Title>\n <Abstract>This service demonstrates how the ADAGUC server can be used to create OGC services.</Abstract>\n <KeywordList>\n <Keyword>view</Keyword>\n <Keyword>infoMapAccessService</Keyword>\n <Keyword>ADAGUCServer version 2.5.8, of Apr 13 2021 07:55:43</Keyword>\n </KeywordList>\n <OnlineResource xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n <ContactInformation />\n <Fees>no conditions apply</Fees>\n <AccessConstraints>None</AccessConstraints>\n <MaxWidth>8192</MaxWidth>\n <MaxHeight>8192</MaxHeight>\n </Service>\n <Capability>\n <Request>\n <GetCapabilities>\n <Format>text/xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xlink:type=\"simple\" 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/png;mode=8bit</Format>\n <Format>image/png;mode=8bit_noalpha</Format>\n <Format>image/png;mode=24bit</Format>\n <Format>image/png;mode=32bit</Format>\n <Format>image/gif</Format>\n <Format>image/jpeg</Format>\n <!--<Format>image/webp</Format>-->\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xlink:type=\"simple\" 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>image/png</Format>\n <Format>text/plain</Format>\n <Format>text/html</Format>\n <Format>text/xml</Format>\n <Format>application/json</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetFeatureInfo>\n </Request>\n <Exception>\n <Format>XML</Format>\n <Format>INIMAGE</Format>\n <Format>BLANK</Format>\n </Exception>\n <UserDefinedSymbolization SupportSLD=\"1\" />\n <Layer>\n <Title>WMS of RADAR</Title>\n <CRS>EPSG:3411</CRS>\n <CRS>EPSG:3412</CRS>\n <CRS>EPSG:3575</CRS>\n <CRS>EPSG:3857</CRS>\n <CRS>EPSG:4258</CRS>\n <CRS>EPSG:4326</CRS>\n <CRS>CRS:84</CRS>\n <CRS>EPSG:25831</CRS>\n <CRS>EPSG:25832</CRS>\n <CRS>EPSG:28992</CRS>\n <CRS>EPSG:7399</CRS>\n <CRS>EPSG:50001</CRS>\n <CRS>EPSG:54030</CRS>\n <CRS>EPSG:40000</CRS>\n <CRS>EPSG:900913</CRS>\n <CRS>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</CRS>\n <BoundingBox CRS=\"EPSG:3411\" minx=\"2682754.743620\" miny=\"-3245034.014141\" maxx=\"3759536.917562\" maxy=\"-2168251.989038\" />\n <BoundingBox CRS=\"EPSG:3412\" minx=\"0.000000\" miny=\"32318824.826266\" maxx=\"7413041.166015\" maxy=\"40075258.815074\" />\n <BoundingBox CRS=\"EPSG:3575\" minx=\"-770622.801471\" miny=\"-4485814.811314\" maxx=\"56845.766135\" maxy=\"-3684039.443620\" />\n <BoundingBox CRS=\"EPSG:3857\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <BoundingBox CRS=\"EPSG:4258\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"EPSG:4326\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"CRS:84\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"EPSG:25831\" minx=\"282182.345905\" miny=\"5433247.394267\" maxx=\"997135.658653\" maxy=\"6207204.592736\" />\n <BoundingBox CRS=\"EPSG:25832\" minx=\"-153083.019482\" miny=\"5415817.312927\" maxx=\"617595.626092\" maxy=\"6239769.309937\" />\n <BoundingBox CRS=\"EPSG:28992\" minx=\"-236275.338083\" miny=\"106727.731651\" maxx=\"501527.918656\" maxy=\"900797.079725\" />\n <BoundingBox CRS=\"EPSG:7399\" minx=\"0.000000\" miny=\"5757301.056717\" maxx=\"763611.971696\" maxy=\"6483919.801602\" />\n <BoundingBox CRS=\"EPSG:50001\" minx=\"-2000000.000000\" miny=\"-2000000.000000\" maxx=\"10000000.000000\" maxy=\"8500000.000000\" />\n <BoundingBox CRS=\"EPSG:54030\" minx=\"0.000000\" miny=\"5211855.054125\" maxx=\"853649.695106\" maxy=\"5936394.291427\" />\n <BoundingBox CRS=\"EPSG:40000\" minx=\"0.000000\" miny=\"-4731695.771951\" maxx=\"750214.326339\" maxy=\"-3911817.119426\" />\n <BoundingBox CRS=\"EPSG:900913\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <BoundingBox CRS=\"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 <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 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 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 <Dimension name=\"time\" units=\"ISO8601\" default=\"2021-05-14T07:35:00Z\" multipleValues=\"1\" nearestValue=\"0\" current=\"1\">2021-03-31T09:25:00Z/2021-05-14T07:35:00Z/PT5M</Dimension>\n <Layer queryable=\"1\" opaque=\"1\" cascaded=\"0\">\n <Name>RAD_NL25_PCP_CM-inherited</Name>\n <Title>Precipitation Radar NL</Title>\n <EX_GeographicBoundingBox>\n <westBoundLongitude>0.000000</westBoundLongitude>\n <eastBoundLongitude>10.856452</eastBoundLongitude>\n https://stackoverflow.com/questions/62249737/how-to-read-xml-filetoolsbox-xml-in-react-typescript\n <southBoundLatitude>48.895303</southBoundLatitude>\n <northBoundLatitude>55.973600</northBoundLatitude>\n </EX_GeographicBoundingBox>\n <BoundingBox CRS=\"EPSG:3411\" minx=\"2682754.743620\" miny=\"-3245034.014141\" maxx=\"3759536.917562\" maxy=\"-2168251.989038\" />\n <BoundingBox CRS=\"EPSG:3412\" minx=\"0.000000\" miny=\"32318824.826266\" maxx=\"7413041.166015\" maxy=\"40075258.815074\" />\n <BoundingBox CRS=\"EPSG:3575\" minx=\"-770622.801471\" miny=\"-4485814.811314\" maxx=\"56845.766135\" maxy=\"-3684039.443620\" />\n <BoundingBox CRS=\"EPSG:3857\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <BoundingBox CRS=\"EPSG:4258\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"EPSG:4326\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"CRS:84\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"EPSG:25831\" minx=\"282182.345905\" miny=\"5433247.394267\" maxx=\"997135.658653\" maxy=\"6207204.592736\" />\n <BoundingBox CRS=\"EPSG:25832\" minx=\"-153083.019482\" miny=\"5415817.312927\" maxx=\"617595.626092\" maxy=\"6239769.309937\" />\n <BoundingBox CRS=\"EPSG:28992\" minx=\"-236275.338083\" miny=\"106727.731651\" maxx=\"501527.918656\" maxy=\"900797.079725\" />\n <BoundingBox CRS=\"EPSG:7399\" minx=\"0.000000\" miny=\"5757301.056717\" maxx=\"763611.971696\" maxy=\"6483919.801602\" />\n <BoundingBox CRS=\"EPSG:50001\" minx=\"-2000000.000000\" miny=\"-2000000.000000\" maxx=\"10000000.000000\" maxy=\"8500000.000000\" />\n <BoundingBox CRS=\"EPSG:54030\" minx=\"0.000000\" miny=\"5211855.054125\" maxx=\"853649.695106\" maxy=\"5936394.291427\" />\n <BoundingBox CRS=\"EPSG:40000\" minx=\"0.000000\" miny=\"-4731695.771951\" maxx=\"750214.326339\" maxy=\"-3911817.119426\" />\n <BoundingBox CRS=\"EPSG:900913\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <BoundingBox CRS=\"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 \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 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 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 </Layer>\n </Layer>\n </Capability>\n</WMS_Capabilities>";
2
+ export default xml;
@@ -0,0 +1,76 @@
1
+ declare const _default: {
2
+ name: null;
3
+ leaf: boolean;
4
+ path: never[];
5
+ keywords: never[];
6
+ styles: never[];
7
+ dimensions: never[];
8
+ queryable: boolean;
9
+ crs: never[];
10
+ children: {
11
+ name: null;
12
+ title: string;
13
+ leaf: boolean;
14
+ path: string[];
15
+ keywords: never[];
16
+ styles: {
17
+ title: string;
18
+ name: string;
19
+ legendURL: string;
20
+ abstract: string;
21
+ }[];
22
+ dimensions: {
23
+ name: string;
24
+ units: string;
25
+ currentValue: string;
26
+ values: string;
27
+ }[];
28
+ queryable: boolean;
29
+ crs: {
30
+ name: string;
31
+ bbox: {
32
+ left: number;
33
+ right: number;
34
+ bottom: number;
35
+ top: number;
36
+ };
37
+ }[];
38
+ children: {
39
+ name: string;
40
+ title: string;
41
+ leaf: boolean;
42
+ path: string[];
43
+ keywords: never[];
44
+ styles: {
45
+ title: string;
46
+ name: string;
47
+ legendURL: string;
48
+ abstract: string;
49
+ }[];
50
+ dimensions: {
51
+ name: string;
52
+ units: string;
53
+ currentValue: string;
54
+ values: string;
55
+ }[];
56
+ geographicBoundingBox: {
57
+ east: string;
58
+ west: string;
59
+ north: string;
60
+ south: string;
61
+ };
62
+ queryable: boolean;
63
+ crs: {
64
+ name: string;
65
+ bbox: {
66
+ left: number;
67
+ right: number;
68
+ bottom: number;
69
+ top: number;
70
+ };
71
+ }[];
72
+ children: never[];
73
+ }[];
74
+ }[];
75
+ };
76
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<WMS_Capabilities xmlns=\"http://www.opengis.net/wms\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" version=\"1.3.0\" updateSequence=\"0\" xsi:schemaLocation=\"http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd\">\n <Service>\n <Name>WMS</Name>\n <Title>RADAR</Title>\n <Abstract>This service demonstrates how the ADAGUC server can be used to create OGC services.</Abstract>\n <KeywordList>\n <Keyword>view</Keyword>\n <Keyword>infoMapAccessService</Keyword>\n <Keyword>ADAGUCServer version 2.5.8, of Apr 13 2021 07:55:43</Keyword>\n </KeywordList>\n <OnlineResource xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n <ContactInformation />\n <Fees>no conditions apply</Fees>\n <AccessConstraints>None</AccessConstraints>\n <MaxWidth>8192</MaxWidth>\n <MaxHeight>8192</MaxHeight>\n </Service>\n <Capability>\n <Request>\n <GetCapabilities>\n <Format>text/xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xlink:type=\"simple\" 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/png;mode=8bit</Format>\n <Format>image/png;mode=8bit_noalpha</Format>\n <Format>image/png;mode=24bit</Format>\n <Format>image/png;mode=32bit</Format>\n <Format>image/gif</Format>\n <Format>image/jpeg</Format>\n <!--<Format>image/webp</Format>-->\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xlink:type=\"simple\" 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>image/png</Format>\n <Format>text/plain</Format>\n <Format>text/html</Format>\n <Format>text/xml</Format>\n <Format>application/json</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetFeatureInfo>\n </Request>\n <Exception>\n <Format>XML</Format>\n <Format>INIMAGE</Format>\n <Format>BLANK</Format>\n </Exception>\n <UserDefinedSymbolization SupportSLD=\"1\" />\n <Layer>\n <Title>WMS of RADAR</Title>\n <CRS>EPSG:3411</CRS>\n <CRS>EPSG:3412</CRS>\n <CRS>EPSG:3575</CRS>\n <CRS>EPSG:3857</CRS>\n <CRS>EPSG:4258</CRS>\n <CRS>EPSG:4326</CRS>\n <CRS>CRS:84</CRS>\n <CRS>EPSG:25831</CRS>\n <CRS>EPSG:25832</CRS>\n <CRS>EPSG:28992</CRS>\n <CRS>EPSG:7399</CRS>\n <CRS>EPSG:50001</CRS>\n <CRS>EPSG:54030</CRS>\n <CRS>EPSG:40000</CRS>\n <CRS>EPSG:900913</CRS>\n <CRS>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</CRS>\n <BoundingBox CRS=\"EPSG:3411\" minx=\"2682754.743620\" miny=\"-3245034.014141\" maxx=\"3759536.917562\" maxy=\"-2168251.989038\" />\n <BoundingBox CRS=\"EPSG:3412\" minx=\"0.000000\" miny=\"32318824.826266\" maxx=\"7413041.166015\" maxy=\"40075258.815074\" />\n <BoundingBox CRS=\"EPSG:3575\" minx=\"-770622.801471\" miny=\"-4485814.811314\" maxx=\"56845.766135\" maxy=\"-3684039.443620\" />\n <BoundingBox CRS=\"EPSG:3857\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <BoundingBox CRS=\"EPSG:4258\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"EPSG:4326\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"CRS:84\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"EPSG:25831\" minx=\"282182.345905\" miny=\"5433247.394267\" maxx=\"997135.658653\" maxy=\"6207204.592736\" />\n <BoundingBox CRS=\"EPSG:25832\" minx=\"-153083.019482\" miny=\"5415817.312927\" maxx=\"617595.626092\" maxy=\"6239769.309937\" />\n <BoundingBox CRS=\"EPSG:28992\" minx=\"-236275.338083\" miny=\"106727.731651\" maxx=\"501527.918656\" maxy=\"900797.079725\" />\n <BoundingBox CRS=\"EPSG:7399\" minx=\"0.000000\" miny=\"5757301.056717\" maxx=\"763611.971696\" maxy=\"6483919.801602\" />\n <BoundingBox CRS=\"EPSG:50001\" minx=\"-2000000.000000\" miny=\"-2000000.000000\" maxx=\"10000000.000000\" maxy=\"8500000.000000\" />\n <BoundingBox CRS=\"EPSG:54030\" minx=\"0.000000\" miny=\"5211855.054125\" maxx=\"853649.695106\" maxy=\"5936394.291427\" />\n <BoundingBox CRS=\"EPSG:40000\" minx=\"0.000000\" miny=\"-4731695.771951\" maxx=\"750214.326339\" maxy=\"-3911817.119426\" />\n <BoundingBox CRS=\"EPSG:900913\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <BoundingBox CRS=\"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 <Layer queryable=\"1\" opaque=\"1\" cascaded=\"0\">\n <Name>RAD_NL25_PCP_CM</Name>\n <Title>Precipitation Radar NL</Title>\n <EX_GeographicBoundingBox>\n <westBoundLongitude>0.000000</westBoundLongitude>\n <eastBoundLongitude>10.856452</eastBoundLongitude>\n https://stackoverflow.com/questions/62249737/how-to-read-xml-filetoolsbox-xml-in-react-typescript\n <southBoundLatitude>48.895303</southBoundLatitude>\n <northBoundLatitude>55.973600</northBoundLatitude>\n </EX_GeographicBoundingBox>\n <BoundingBox CRS=\"EPSG:3411\" minx=\"2682754.743620\" miny=\"-3245034.014141\" maxx=\"3759536.917562\" maxy=\"-2168251.989038\" />\n <BoundingBox CRS=\"EPSG:3412\" minx=\"0.000000\" miny=\"32318824.826266\" maxx=\"7413041.166015\" maxy=\"40075258.815074\" />\n <BoundingBox CRS=\"EPSG:3575\" minx=\"-770622.801471\" miny=\"-4485814.811314\" maxx=\"56845.766135\" maxy=\"-3684039.443620\" />\n <BoundingBox CRS=\"EPSG:3857\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <BoundingBox CRS=\"EPSG:4258\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"EPSG:4326\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"CRS:84\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"EPSG:25831\" minx=\"282182.345905\" miny=\"5433247.394267\" maxx=\"997135.658653\" maxy=\"6207204.592736\" />\n <BoundingBox CRS=\"EPSG:25832\" minx=\"-153083.019482\" miny=\"5415817.312927\" maxx=\"617595.626092\" maxy=\"6239769.309937\" />\n <BoundingBox CRS=\"EPSG:28992\" minx=\"-236275.338083\" miny=\"106727.731651\" maxx=\"501527.918656\" maxy=\"900797.079725\" />\n <BoundingBox CRS=\"EPSG:7399\" minx=\"0.000000\" miny=\"5757301.056717\" maxx=\"763611.971696\" maxy=\"6483919.801602\" />\n <BoundingBox CRS=\"EPSG:50001\" minx=\"-2000000.000000\" miny=\"-2000000.000000\" maxx=\"10000000.000000\" maxy=\"8500000.000000\" />\n <BoundingBox CRS=\"EPSG:54030\" minx=\"0.000000\" miny=\"5211855.054125\" maxx=\"853649.695106\" maxy=\"5936394.291427\" />\n <BoundingBox CRS=\"EPSG:40000\" minx=\"0.000000\" miny=\"-4731695.771951\" maxx=\"750214.326339\" maxy=\"-3911817.119426\" />\n <BoundingBox CRS=\"EPSG:900913\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <BoundingBox CRS=\"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 <Dimension name=\"time\" units=\"ISO8601\" default=\"2021-05-14T07:35:00Z\" multipleValues=\"1\" nearestValue=\"0\" current=\"1\">2021-03-31T09:25:00Z/2021-05-14T07:35:00Z/PT5M</Dimension>\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 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 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 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 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 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 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 </Layer>\n </Layer>\n </Capability>\n</WMS_Capabilities>";
2
+ export default xml;
@@ -0,0 +1 @@
1
+ export declare const WMS130GetCapabilitiesWithoutLegend = "<?xml version=\"1.0\"?>\n<WMS_Capabilities xmlns=\"http://www.opengis.net/wms\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" version=\"1.3.0\" updateSequence=\"1737582762\" xsi:schemaLocation=\"http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd\">\n <Service>\n <Name>WMS</Name>\n <Title>WMS Example</Title>\n <Abstract>Example abstract.</Abstract>\n <KeywordList/>\n <OnlineResource xlink:href=\"http://localhost:3000/wms?\" xlink:type=\"simple\"/>\n <Fees>none</Fees>\n <AccessConstraints>none</AccessConstraints>\n <LayerLimit>1</LayerLimit>\n <MaxWidth>8192</MaxWidth>\n <MaxHeight>8192</MaxHeight>\n </Service>\n <Capability>\n <Request>\n <GetCapabilities>\n <Format>text/xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xlink:href=\"http://localhost:3000/wms?\" xlink:type=\"simple\"/>\n </Get>\n </HTTP>\n </DCPType>\n </GetCapabilities>\n <GetMap>\n <Format>image/png</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xlink:href=\"http://localhost:3000/wms?\" xlink:type=\"simple\"/>\n </Get>\n </HTTP>\n </DCPType>\n </GetMap>\n </Request>\n <Exception>\n <Format>XML</Format>\n </Exception>\n <Layer>\n <Title>example</Title>\n <CRS>EPSG:3857</CRS>\n <EX_GeographicBoundingBox>\n <westBoundLongitude>-180</westBoundLongitude>\n <eastBoundLongitude>180</eastBoundLongitude>\n <southBoundLatitude>-90</southBoundLatitude>\n <northBoundLatitude>90</northBoundLatitude>\n </EX_GeographicBoundingBox>\n <BoundingBox CRS=\"EPSG:3857\" minx=\"-20037508.34\" miny=\"-20048966.1\" maxx=\"20037508.34\" maxy=\"20048966.1\"/>\n <Layer>\n <Name>my_name</Name>\n <Title>My Title</Title>\n <Abstract>My Abstract</Abstract>\n <Dimension name=\"time\" units=\"ISO8601\">2025-01-22T00:00:00Z</Dimension>\n <Style>\n <Name>standard</Name>\n <Title>Standard</Title>\n <!-- LegendURL>\n <Format>image/png</Format>\n <OnlineResource xlink:href=\"http://localhost:3000/jada\" xlink:type=\"simple\"/>\n </LegendURL -->\n </Style>\n </Layer>\n </Layer>\n </Capability>\n</WMS_Capabilities>\n";
@@ -0,0 +1,2 @@
1
+ declare const xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<WMS_Capabilities version=\"1.3.0\" xmlns=\"http://www.opengis.net/wms\" xmlns:xsi=\"https://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n<Service>\n <Name>WMS</Name>\n <Title>SmartMet Web Map Service</Title>\n <Abstract>Web Map Service Powered by SmartMet Server</Abstract>\n <KeywordList>\n <Keyword>weather</Keyword>\n <Keyword>forecast</Keyword>\n <Keyword>hirlam</Keyword>\n <Keyword>meps</Keyword>\n <Keyword>smartmetserver</Keyword>\n </KeywordList>\n <OnlineResource xlink:href=\"https://github.com/fmidev/smartmet-server\"/>\n</Service>\n<Capability>\n <Request>\n <GetCapabilities>\n <Format>text/xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xlink:type=\"simple\"\n xlink:href=\"https://data.apps.meteo.fi/wms\"/>\n </Get>\n\n </HTTP>\n </DCPType>\n </GetCapabilities>\n <GetMap>\n <Format>image/png</Format>\n <Format>image/svg+xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xlink:type=\"simple\"\n xlink:href=\"https://data.apps.meteo.fi/wms\"/>\n </Get>\n\n </HTTP>\n </DCPType>\n </GetMap>\n </Request>\n <Exception>\n <Format>XML</Format>\n </Exception>\n <Layer>\n <Title>SmartMet Web Map Service</Title>\n\n <Layer queryable=\"0\">\n <Title>hbm</Title>\n <CRS>CRS:27</CRS>\n <CRS>CRS:83</CRS>\n <CRS>CRS:84</CRS>\n <CRS>EPSG:2393</CRS>\n <CRS>EPSG:3035</CRS>\n <CRS>EPSG:3047</CRS>\n <CRS>EPSG:3067</CRS>\n <CRS>EPSG:3857</CRS>\n <CRS>EPSG:4258</CRS>\n <CRS>EPSG:4326</CRS>\n <EX_GeographicBoundingBox>\n <westBoundLongitude>9.041</westBoundLongitude>\n <eastBoundLongitude>30.291</eastBoundLongitude>\n <southBoundLatitude>53.025</southBoundLatitude>\n <northBoundLatitude>65.875</northBoundLatitude>\n </EX_GeographicBoundingBox>\n <BoundingBox CRS=\"CRS:27\" minx=\"9.041\" miny=\"53.025\" maxx=\"30.291\" maxy=\"65.875\"/>\n <BoundingBox CRS=\"CRS:83\" minx=\"9.041\" miny=\"53.025\" maxx=\"30.291\" maxy=\"65.875\"/>\n <BoundingBox CRS=\"CRS:84\" minx=\"9.041\" miny=\"53.025\" maxx=\"30.291\" maxy=\"65.875\"/>\n <BoundingBox CRS=\"EPSG:2393\" minx=\"3064557.21476\" miny=\"6651895.28724\" maxx=\"3650275.30418\" maxy=\"7312969.19512\"/>\n <BoundingBox CRS=\"EPSG:3035\" minx=\"4256650.93596\" miny=\"3324481.13996\" maxx=\"5238179.54401\" maxy=\"4886764.90153\"/>\n <BoundingBox CRS=\"EPSG:3047\" minx=\"330890.119265\" miny=\"6615141.39345\" maxx=\"636784.191878\" maxy=\"7309246.52372\"/>\n <BoundingBox CRS=\"EPSG:3067\" minx=\"43547.7892277\" miny=\"6549298.62199\" maxx=\"650042.964634\" maxy=\"7309911.51299\"/>\n <BoundingBox CRS=\"EPSG:3857\" minx=\"1006439.51626\" miny=\"6987623.58323\" maxx=\"3371978.69562\" maxy=\"9842718.24518\"/>\n <BoundingBox CRS=\"EPSG:4258\" minx=\"9.041\" miny=\"53.025\" maxx=\"30.291\" maxy=\"65.875\"/>\n <BoundingBox CRS=\"EPSG:4326\" minx=\"9.041\" miny=\"53.025\" maxx=\"30.291\" maxy=\"65.875\"/>\n <Dimension name=\"time\" units=\"ISO8601\" multipleValues=\"0\" nearestValue=\"0\" current=\"1\">2021-05-14T01:00:00Z/2021-05-16T04:00:00Z/PT1H</Dimension>\n\n <Dimension name=\"reference_time\" units=\"ISO8601\" default=\"2021-05-14T00:00:00Z\" multipleValues=\"0\" nearestValue=\"0\" current=\"1\">2021-05-13T12:00:00Z,2021-05-14T00:00:00Z</Dimension>\n\n <Dimension name=\"elevation\" units=\"DepthBelowMeanSeaLevel\" unitSymbol=\"m\" default=\"0\" multipleValues=\"0\" nearestValue=\"0\">0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,150,200,300,400</Dimension>\n\n\n\n\t <Layer queryable=\"1\">\n <Name>hbm:temperature</Name>\n <Title>Sea Surface Temperature</Title>\n <Abstract>Sea Surface Temperature from HBM</Abstract>\n <Style>\n <Name>temperaturestyleforhbm</Name>\n <Title>Default style for HBM Temperature</Title>\n <LegendURL>\n <Format>image/png</Format>\n <OnlineResource xlink:type=\"simple\" xlink:href=\"https://data.apps.meteo.fi/wms?service=WMS&amp;request=GetLegendGraphic&amp;version=1.3.0&amp;sld_version=1.1.0&amp;style=default&amp;format=image%2Fpng&amp;layer=hbm%3Atemperature\"/>\n </LegendURL>\n </Style>\n </Layer>\n\n\t </Layer>\n <Layer queryable=\"0\">\n <Title>hirlam</Title>\n <CRS>CRS:27</CRS>\n <CRS>CRS:83</CRS>\n <CRS>CRS:84</CRS>\n <CRS>EPSG:2393</CRS>\n <CRS>EPSG:3035</CRS>\n <CRS>EPSG:3047</CRS>\n <CRS>EPSG:3067</CRS>\n <CRS>EPSG:3857</CRS>\n <CRS>EPSG:4258</CRS>\n <CRS>EPSG:4326</CRS>\n <EX_GeographicBoundingBox>\n <westBoundLongitude>-101.480400722</westBoundLongitude>\n <eastBoundLongitude>102.056746641</eastBoundLongitude>\n <southBoundLatitude>25.6476611912</southBoundLatitude>\n <northBoundLatitude>61.2739846713</northBoundLatitude>\n </EX_GeographicBoundingBox>\n <BoundingBox CRS=\"CRS:27\" minx=\"-101.480400722\" miny=\"25.6476611912\" maxx=\"102.056746641\" maxy=\"61.2739846713\"/>\n <BoundingBox CRS=\"CRS:83\" minx=\"-101.480400722\" miny=\"25.6476611912\" maxx=\"102.056746641\" maxy=\"61.2739846713\"/>\n <BoundingBox CRS=\"CRS:84\" minx=\"-101.480400722\" miny=\"25.6476611912\" maxx=\"102.056746641\" maxy=\"61.2739846713\"/>\n <BoundingBox CRS=\"EPSG:2393\" minx=\"3064557.21476\" miny=\"6651895.28724\" maxx=\"3746240.35345\" maxy=\"6804804.9047\"/>\n <BoundingBox CRS=\"EPSG:3035\" minx=\"-96211.1051714\" miny=\"1631190.4604\" maxx=\"6106555.77383\" maxy=\"4695810.9123\"/>\n <BoundingBox CRS=\"EPSG:3047\" minx=\"330890.119265\" miny=\"6615141.39345\" maxx=\"660818.533807\" maxy=\"6796998.92435\"/>\n <BoundingBox CRS=\"EPSG:3067\" minx=\"43547.7892277\" miny=\"6549298.62199\" maxx=\"745971.121814\" maxy=\"6801952.28915\"/>\n <BoundingBox CRS=\"EPSG:3857\" minx=\"-11296746.5338\" miny=\"2955507.31159\" maxx=\"11360905.0681\" maxy=\"8689007.32535\"/>\n <BoundingBox CRS=\"EPSG:4258\" minx=\"-101.480400722\" miny=\"25.6476611912\" maxx=\"102.056746641\" maxy=\"61.2739846713\"/>\n <BoundingBox CRS=\"EPSG:4326\" minx=\"-101.480400722\" miny=\"25.6476611912\" maxx=\"102.056746641\" maxy=\"61.2739846713\"/>\n <Dimension name=\"time\" units=\"ISO8601\" multipleValues=\"0\" nearestValue=\"0\" current=\"1\">2021-05-14T06:00:00Z/2021-05-16T12:00:00Z/PT1H</Dimension>\n\n <Dimension name=\"reference_time\" units=\"ISO8601\" default=\"2021-05-14T06:00:00Z\" multipleValues=\"0\" nearestValue=\"0\" current=\"1\">2021-05-13T12:00:00Z,2021-05-13T18:00:00Z,2021-05-14T00:00:00Z,2021-05-14T06:00:00Z</Dimension>\n\n\n\n\t <Layer queryable=\"1\">\n <Name>hirlam:precipitation</Name>\n <Title>HIRLAM Precipitation Rate</Title>\n <Abstract>Precipitation Rate from HIRLAM</Abstract>\n <Style>\n <Name>precipitationstyleforhirlam</Name>\n <Title>Default style for hirlam</Title>\n <LegendURL>\n <Format>image/png</Format>\n <OnlineResource xlink:type=\"simple\" xlink:href=\"https://data.apps.meteo.fi/wms?service=WMS&amp;request=GetLegendGraphic&amp;version=1.3.0&amp;sld_version=1.1.0&amp;style=default&amp;format=image%2Fpng&amp;layer=hirlam%3Aprecipitation\"/>\n </LegendURL>\n </Style>\n </Layer>\n\n\n\t <Layer queryable=\"1\">\n <Name>hirlam:relativehumidity</Name>\n <Title>HIRLAM Relative Humidity 2m</Title>\n <Abstract>Relative Humidity 2m from HIRLAM</Abstract>\n <Style>\n <Name>default</Name>\n <Title>Default style</Title>\n <LegendURL>\n <Format>image/png</Format>\n <OnlineResource xlink:type=\"simple\" xlink:href=\"https://data.apps.meteo.fi/wms?service=WMS&amp;request=GetLegendGraphic&amp;version=1.3.0&amp;sld_version=1.1.0&amp;style=default&amp;format=image%2Fpng&amp;layer=hirlam%3Arelativehumidity\"/>\n </LegendURL>\n </Style>\n </Layer>\n\n\n\t <Layer queryable=\"1\">\n <Name>hirlam:temperature</Name>\n <Title>HIRLAM Temperature 2m</Title>\n <Abstract>Temperature 2m from HIRLAM</Abstract>\n <Style>\n <Name>default</Name>\n <Title>Default style</Title>\n <LegendURL>\n <Format>image/png</Format>\n <OnlineResource xlink:type=\"simple\" xlink:href=\"https://data.apps.meteo.fi/wms?service=WMS&amp;request=GetLegendGraphic&amp;version=1.3.0&amp;sld_version=1.1.0&amp;style=default&amp;format=image%2Fpng&amp;layer=hirlam%3Atemperature\"/>\n </LegendURL>\n </Style>\n </Layer>\n\n\n\t <Layer queryable=\"1\">\n <Name>hirlam:temperature-850hpa</Name>\n <Title>HIRLAM Temperature 850hPa</Title>\n <Abstract>Temperature 850hPa from HIRLAM</Abstract>\n <Dimension name=\"time\" units=\"ISO8601\" multipleValues=\"0\" nearestValue=\"0\" current=\"1\">2021-05-14T06:00:00Z/2021-05-16T12:00:00Z/PT1H</Dimension>\n\n <Dimension name=\"reference_time\" units=\"ISO8601\" default=\"2021-05-14T06:00:00Z\" multipleValues=\"0\" nearestValue=\"0\" current=\"1\">2021-05-14T00:00:00Z,2021-05-14T06:00:00Z</Dimension>\n\n <Dimension name=\"elevation\" units=\"IsobaricLevel\" unitSymbol=\"hPa\" default=\"1000\" multipleValues=\"0\" nearestValue=\"0\">1000,925,850,700,600,500,400,300,250,200,100,50</Dimension>\n\n <Style>\n <Name>default</Name>\n <Title>Default style</Title>\n <LegendURL>\n <Format>image/png</Format>\n <OnlineResource xlink:type=\"simple\" xlink:href=\"https://data.apps.meteo.fi/wms?service=WMS&amp;request=GetLegendGraphic&amp;version=1.3.0&amp;sld_version=1.1.0&amp;style=default&amp;format=image%2Fpng&amp;layer=hirlam%3Atemperature-850hpa\"/>\n </LegendURL>\n </Style>\n </Layer>\n\n\n\t <Layer queryable=\"1\">\n <Name>hirlam:totalcloudcover</Name>\n <Title>HIRLAM Total Cloud Cover</Title>\n <Abstract>Total cloud cover from HIRLAM forecast model.</Abstract>\n <Style>\n <Name>default</Name>\n <Title>Default style</Title>\n <LegendURL>\n <Format>image/png</Format>\n <OnlineResource xlink:type=\"simple\" xlink:href=\"https://data.apps.meteo.fi/wms?service=WMS&amp;request=GetLegendGraphic&amp;version=1.3.0&amp;sld_version=1.1.0&amp;style=default&amp;format=image%2Fpng&amp;layer=hirlam%3Atotalcloudcover\"/>\n </LegendURL>\n </Style>\n </Layer>\n\n\n\t <Layer queryable=\"1\">\n <Name>hirlam:winddirection</Name>\n <Title>HIRLAM Wind Direction 10m</Title>\n <Abstract>Wind direction from HIRLAM forecast model.</Abstract>\n </Layer>\n\n\n\t <Layer queryable=\"1\">\n <Name>hirlam:windspeed</Name>\n <Title>HIRLAM Wind Speed 10m</Title>\n <Abstract>Wind speed in m/s from HIRLAM forecast model.</Abstract>\n <Style>\n <Name>default</Name>\n <Title>Default style</Title>\n <LegendURL>\n <Format>image/png</Format>\n <OnlineResource xlink:type=\"simple\" xlink:href=\"https://data.apps.meteo.fi/wms?service=WMS&amp;request=GetLegendGraphic&amp;version=1.3.0&amp;sld_version=1.1.0&amp;style=default&amp;format=image%2Fpng&amp;layer=hirlam%3Awindspeed\"/>\n </LegendURL>\n </Style>\n </Layer>\n\n\t </Layer>\n <Layer queryable=\"0\">\n <Title>meps</Title>\n <CRS>CRS:27</CRS>\n <CRS>CRS:83</CRS>\n <CRS>CRS:84</CRS>\n <CRS>EPSG:2393</CRS>\n <CRS>EPSG:3035</CRS>\n <CRS>EPSG:3047</CRS>\n <CRS>EPSG:3067</CRS>\n <CRS>EPSG:3857</CRS>\n <CRS>EPSG:4258</CRS>\n <CRS>EPSG:4326</CRS>\n <EX_GeographicBoundingBox>\n <westBoundLongitude>-18.1181798512</westBoundLongitude>\n <eastBoundLongitude>54.237</eastBoundLongitude>\n <southBoundLatitude>49.7657866394</southBoundLatitude>\n <northBoundLatitude>72.7612723061</northBoundLatitude>\n </EX_GeographicBoundingBox>\n <BoundingBox CRS=\"CRS:27\" minx=\"-18.1181798512\" miny=\"49.7657866394\" maxx=\"54.237\" maxy=\"72.7612723061\"/>\n <BoundingBox CRS=\"CRS:83\" minx=\"-18.1181798512\" miny=\"49.7657866394\" maxx=\"54.237\" maxy=\"72.7612723061\"/>\n <BoundingBox CRS=\"CRS:84\" minx=\"-18.1181798512\" miny=\"49.7657866394\" maxx=\"54.237\" maxy=\"72.7612723061\"/>\n <BoundingBox CRS=\"EPSG:2393\" minx=\"3064557.21476\" miny=\"6651895.28724\" maxx=\"3674549.99025\" maxy=\"7785726.69717\"/>\n <BoundingBox CRS=\"EPSG:3035\" minx=\"2351945.35175\" miny=\"3346053.06304\" maxx=\"5431836.28888\" maxy=\"5804319.83173\"/>\n <BoundingBox CRS=\"EPSG:3047\" minx=\"330890.119265\" miny=\"6615141.39345\" maxx=\"599196.301358\" maxy=\"8076330.30937\"/>\n <BoundingBox CRS=\"EPSG:3067\" minx=\"43547.7892277\" miny=\"6549298.62199\" maxx=\"674306.988933\" maxy=\"7782478.68382\"/>\n <BoundingBox CRS=\"EPSG:3857\" minx=\"-2016906.55513\" miny=\"6405812.58171\" maxx=\"6037635.22215\" maxy=\"12033196.7337\"/>\n <BoundingBox CRS=\"EPSG:4258\" minx=\"-18.1181798512\" miny=\"49.7657866394\" maxx=\"54.237\" maxy=\"72.7612723061\"/>\n <BoundingBox CRS=\"EPSG:4326\" minx=\"-18.1181798512\" miny=\"49.7657866394\" maxx=\"54.237\" maxy=\"72.7612723061\"/>\n <Dimension name=\"time\" units=\"ISO8601\" multipleValues=\"0\" nearestValue=\"0\" current=\"1\">2021-05-14T06:00:00Z/2021-05-17T00:00:00Z/PT1H</Dimension>\n\n <Dimension name=\"reference_time\" units=\"ISO8601\" default=\"2021-05-14T06:00:00Z\" multipleValues=\"0\" nearestValue=\"0\" current=\"1\">2021-05-13T12:00:00Z,2021-05-13T18:00:00Z,2021-05-14T00:00:00Z,2021-05-14T06:00:00Z</Dimension>\n\n\n\n\t <Layer queryable=\"1\">\n <Name>meps:precipitation</Name>\n <Title>MEPS Precipitation Rate</Title>\n <Abstract>Precipitation Rate from MEPS</Abstract>\n <Style>\n <Name>default</Name>\n <Title>Default style</Title>\n <LegendURL>\n <Format>image/png</Format>\n <OnlineResource xlink:type=\"simple\" xlink:href=\"https://data.apps.meteo.fi/wms?service=WMS&amp;request=GetLegendGraphic&amp;version=1.3.0&amp;sld_version=1.1.0&amp;style=default&amp;format=image%2Fpng&amp;layer=meps%3Aprecipitation\"/>\n </LegendURL>\n </Style>\n </Layer>\n\n\n\t <Layer queryable=\"1\">\n <Name>meps:relativehumidity</Name>\n <Title>MEPS Relative Humidity 2m</Title>\n <Abstract>Relative Humidity 2m from MEPS</Abstract>\n <Style>\n <Name>default</Name>\n <Title>Default style</Title>\n <LegendURL>\n <Format>image/png</Format>\n <OnlineResource xlink:type=\"simple\" xlink:href=\"https://data.apps.meteo.fi/wms?service=WMS&amp;request=GetLegendGraphic&amp;version=1.3.0&amp;sld_version=1.1.0&amp;style=default&amp;format=image%2Fpng&amp;layer=meps%3Arelativehumidity\"/>\n </LegendURL>\n </Style>\n </Layer>\n\n\n\t <Layer queryable=\"1\">\n <Name>meps:temperature</Name>\n <Title>MEPS Temperature 2m</Title>\n <Abstract>Temperature 2m from MEPS</Abstract>\n <Style>\n <Name>default</Name>\n <Title>Default style</Title>\n <LegendURL>\n <Format>image/png</Format>\n <OnlineResource xlink:type=\"simple\" xlink:href=\"https://data.apps.meteo.fi/wms?service=WMS&amp;request=GetLegendGraphic&amp;version=1.3.0&amp;sld_version=1.1.0&amp;style=default&amp;format=image%2Fpng&amp;layer=meps%3Atemperature\"/>\n </LegendURL>\n </Style>\n </Layer>\n\n\n\t <Layer queryable=\"1\">\n <Name>meps:windspeed</Name>\n <Title>MEPS Wind Speed 10m</Title>\n <Abstract>Wind speed in m/s from MEPS forecast model.</Abstract>\n <Style>\n <Name>default</Name>\n <Title>Default style</Title>\n <LegendURL>\n <Format>image/png</Format>\n <OnlineResource xlink:type=\"simple\" xlink:href=\"https://data.apps.meteo.fi/wms?service=WMS&amp;request=GetLegendGraphic&amp;version=1.3.0&amp;sld_version=1.1.0&amp;style=default&amp;format=image%2Fpng&amp;layer=meps%3Awindspeed\"/>\n </LegendURL>\n </Style>\n </Layer>\n <Layer queryable=\"1\">\n <Name>meps:dailymeantemperature</Name>\n <Title>Mean Temperature</Title>\n <Abstract>Daily mean temperature</Abstract>\n <Dimension name=\"time\" units=\"ISO8601\" multipleValues=\"0\" nearestValue=\"0\" current=\"1\">2024-11-26T00:00:00Z/2024-12-07T00:00:00Z/PT24H</Dimension>\n <Dimension name=\"reference_time\" units=\"ISO8601\" default=\"2024-12-02T10:30:00Z\" multipleValues=\"0\" nearestValue=\"0\" current=\"1\">2024-11-26T09:30:00Z,2024-11-26T10:30:00Z</Dimension>\n <Style>\n <Name>default</Name>\n <Title>Default style</Title>\n <LegendURL width=\"201\" height=\"950\">\n <Format>image/png</Format>\n <OnlineResource xlink:type=\"simple\" xlink:href=\"https://data.apps.meteo.fi/wms?service=WMS&amp;request=GetLegendGraphic&amp;version=1.3.0&amp;sld_version=1.1.0&amp;style=default&amp;format=image%2Fpng&amp;layer=meps%3Adailymeantemperature\"/>\n </LegendURL>\n </Style>\n </Layer>\n\t </Layer>\n </Layer>\n</Capability>\n</WMS_Capabilities>";
2
+ export default xml;
@@ -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
+ };
@@ -0,0 +1,93 @@
1
+ export * from './layerSpecs';
2
+ export declare const mockGetCapabilities: {
3
+ WMS111GetCapabilitiesGeoServicesRADAR: string;
4
+ MOCK_URL_WITH_CHILDREN: "https://mockUrlWithChildren.nl";
5
+ MOCK_URL_NO_CHILDREN: "https://mockUrlNoChildren.nl";
6
+ MOCK_URL_WITH_NO_TITLE: "https://mockUrlWithNoTitle.nl";
7
+ MOCK_URL_WITH_NO_TITLE_OR_NAME: "https://mockUrlWithNoTitleOrName.nl/wms?";
8
+ MOCK_URL_WITH_SUBCATEGORY: "https://mockUrlWithSubcategory.nl";
9
+ MOCK_URL_INVALID: "https://notawmsservice.nl";
10
+ MOCK_URL_SLOW: "https://slowresolve.nl";
11
+ MOCK_URL_SLOW_FAILS: "https://slowreject.nl";
12
+ MOCK_URL_DEFAULT: "https://defaultservice.nl";
13
+ MOCK_URL_DEFAULT2: "https://defaultservice2.nl";
14
+ MOCK_URL_HTTP: "http://wmsservice.nl";
15
+ MOCK_URL_HARMONIE: "WMS130GetCapabilitiesHarmN25";
16
+ MOCK_URL_WMS130_NOLEGEND: "MOCK_URL_WMS130_NOLEGEND";
17
+ mockLayersNoChildren: {
18
+ leaf: boolean;
19
+ name: null;
20
+ title: string;
21
+ path: never[];
22
+ children: never[];
23
+ };
24
+ mockLayersWithChildren: {
25
+ leaf: boolean;
26
+ name: null;
27
+ title: string;
28
+ path: never[];
29
+ children: {
30
+ leaf: boolean;
31
+ name: string;
32
+ title: string;
33
+ path: never[];
34
+ children: never[];
35
+ }[];
36
+ };
37
+ mockLayersWithNoTitle: import("..").LayerTree;
38
+ mockLayersWithNoTitleOrName: import("..").LayerTree;
39
+ mockLayersWithSubcategory: {
40
+ leaf: boolean;
41
+ name: null;
42
+ title: string;
43
+ path: never[];
44
+ children: ({
45
+ leaf: boolean;
46
+ name: string;
47
+ title: string;
48
+ path: never[];
49
+ children: never[];
50
+ } | {
51
+ leaf: boolean;
52
+ name: null;
53
+ title: string;
54
+ path: never[];
55
+ children: ({
56
+ leaf: boolean;
57
+ name: string;
58
+ title: string;
59
+ path: string[];
60
+ children: never[];
61
+ } | {
62
+ leaf: boolean;
63
+ name: null;
64
+ title: string;
65
+ path: string[];
66
+ children: {
67
+ leaf: boolean;
68
+ name: string;
69
+ title: string;
70
+ path: string[];
71
+ children: never[];
72
+ }[];
73
+ })[];
74
+ })[];
75
+ };
76
+ mockLayersDefault: {
77
+ leaf: boolean;
78
+ name: null;
79
+ title: string;
80
+ path: never[];
81
+ children: never[];
82
+ };
83
+ mockLayersDefault2: {
84
+ leaf: boolean;
85
+ name: null;
86
+ title: string;
87
+ path: never[];
88
+ children: never[];
89
+ };
90
+ mockGetLayersFromService: (url: string) => Promise<import("..").LayerTree>;
91
+ mockGetLayersFlattenedFromService: (url: string) => Promise<import("..").LayerProps[]>;
92
+ mockGetCapabilitiesFetcher: (serviceUrl: string) => Promise<import("..").WMSGetCapabilities>;
93
+ };
@@ -0,0 +1,34 @@
1
+ import type { CoordinateReferenceSystem, Dimension, LayerFoundation, LayerOptions, Style } from '../components';
2
+ import { LayerType, WMLayer } from '../components';
3
+ export declare const defaultReduxLayerRadarColor: LayerOptions;
4
+ export declare const WmdefaultReduxLayerRadarKNMI: WMLayer;
5
+ export declare const makeGeoservicesRadarLayer: (dimensions?: Dimension[]) => WMLayer;
6
+ export declare const WmMultiDimensionLayer: WMLayer;
7
+ export declare const layerWithoutTimeDimension: LayerOptions;
8
+ export declare const WmLayerWithoutTimeDimension: WMLayer;
9
+ export declare const crsListForRADNL25PCPCMLayer: CoordinateReferenceSystem[];
10
+ export declare const styleListForRADNL25PCPCMLayer: Style[];
11
+ export declare const multiDimensionLayer3: LayerFoundation;
12
+ export declare const defaultReduxLayerRadarKNMIWithStyles: LayerFoundation & {
13
+ styles: Style[];
14
+ };
15
+ export declare const defaultReduxLayerRadarKNMI: LayerOptions;
16
+ export declare const multiDimensionLayer: {
17
+ service: string;
18
+ id: string;
19
+ name: string;
20
+ title: string;
21
+ layerType: LayerType;
22
+ enabled: boolean;
23
+ dimensions: ({
24
+ name: string;
25
+ units: string;
26
+ currentValue: string;
27
+ values: string;
28
+ } | {
29
+ name: string;
30
+ units: string;
31
+ currentValue: string;
32
+ values?: undefined;
33
+ })[];
34
+ };