@opengeoweb/webmap 14.3.0 → 14.5.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.
- package/index.esm.js +4040 -3416
- package/package.json +2 -2
- package/src/index.d.ts +3 -3
- package/src/lib/components/WMImageStore.d.ts +2 -1
- package/src/lib/components/WMJSDimension.d.ts +2 -2
- package/src/lib/components/WMLayer.d.ts +4 -3
- package/src/lib/components/WMLayerTypes.d.ts +3 -1
- package/src/lib/components/WMLayerUtils.d.ts +1 -1
- package/src/lib/components/WMLegend.d.ts +1 -1
- package/src/lib/components/WMProjection.d.ts +2 -1
- package/src/lib/components/WMTime.d.ts +2 -2
- package/src/lib/components/index.d.ts +7 -7
- package/src/lib/components/types.d.ts +54 -4
- package/src/lib/index.d.ts +1 -0
- package/src/lib/query/fakeApiWmtsQueries.d.ts +208 -0
- package/src/lib/query/queryConstants.d.ts +1 -0
- package/src/lib/query/queryWMS.d.ts +22 -4
- package/src/lib/query/queryWMS.spec.d.ts +1 -0
- package/src/lib/specs/getCapabilitySpecs/WMS130GetCapabilitiesHarmN25.d.ts +2 -2
- package/src/lib/specs/getCapabilitySpecs/WMS130GetCapabilitiesRadarTestWithInheritAndReplaceLayerprops.d.ts +2 -2
- package/src/lib/specs/getCapabilitySpecs/WMS130GetCapabilitiesRadarTestWithInheritLayerprops.d.ts +2 -2
- package/src/lib/specs/getCapabilitySpecs/WMS130GetCapabilitiesRadarTestWithoutInheritLayerprops.d.ts +2 -2
- package/src/lib/specs/getCapabilitySpecs/WMSSmartMet.d.ts +2 -2
- package/src/lib/specs/index.d.ts +1 -1
- package/src/lib/specs/layerSpecs.d.ts +2 -1
- package/src/lib/specs/mockGetCapabilities.d.ts +2 -2
- package/src/lib/utils/getCapabilities/utils.d.ts +25 -11
- package/src/lib/utils/i18n.d.ts +2 -1
- package/src/lib/utils/tilesettings.d.ts +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "<?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&SERVICE=WMS&\" />\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&SERVICE=WMS&\" />\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&SERVICE=WMS&\" />\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&SERVICE=WMS&\" />\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:32661</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:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&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 <Dimension name=\"elevation\" units=\"PRESSURE\" unitSymbol=\"Pa\" default=\"100000\" multipleValues=\"0\" nearestValue=\"0\">100000,92500,85000,70000,60000,50000,40000,30000,25000</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:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-rainbow/nearest\" />\n </LegendURL>\n </Style>\n <Dimension name=\"time\" units=\"ISO8601\" default=\"2022-06-01T00:00:00Z\" multipleValues=\"1\" nearestValue=\"0\" current=\"1\">2022-01-01T00:00:00Z/2023-01-01T00:00:00Z/PT5M</Dimension>\n </Layer>\n </Layer>\n </Capability>\n</WMS_Capabilities>";
|
|
2
|
-
export default
|
|
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&SERVICE=WMS&\" />\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&SERVICE=WMS&\" />\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&SERVICE=WMS&\" />\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&SERVICE=WMS&\" />\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:32661</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:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&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 <Dimension name=\"elevation\" units=\"PRESSURE\" unitSymbol=\"Pa\" default=\"100000\" multipleValues=\"0\" nearestValue=\"0\">100000,92500,85000,70000,60000,50000,40000,30000,25000</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:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-rainbow/nearest\" />\n </LegendURL>\n </Style>\n <Dimension name=\"time\" units=\"ISO8601\" default=\"2022-06-01T00:00:00Z\" multipleValues=\"1\" nearestValue=\"0\" current=\"1\">2022-01-01T00:00:00Z/2023-01-01T00:00:00Z/PT5M</Dimension>\n </Layer>\n </Layer>\n </Capability>\n</WMS_Capabilities>";
|
|
2
|
+
export default xml;
|
package/src/lib/specs/getCapabilitySpecs/WMS130GetCapabilitiesRadarTestWithInheritLayerprops.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "<?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&SERVICE=WMS&\" />\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&SERVICE=WMS&\" />\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&SERVICE=WMS&\" />\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&SERVICE=WMS&\" />\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:32661</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:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&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:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-rainbow/nearest\" />\n </LegendURL>\n </Style>\n </Layer>\n </Layer>\n </Capability>\n</WMS_Capabilities>";
|
|
2
|
-
export default
|
|
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&SERVICE=WMS&\" />\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&SERVICE=WMS&\" />\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&SERVICE=WMS&\" />\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&SERVICE=WMS&\" />\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:32661</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:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&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:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-rainbow/nearest\" />\n </LegendURL>\n </Style>\n </Layer>\n </Layer>\n </Capability>\n</WMS_Capabilities>";
|
|
2
|
+
export default xml;
|
package/src/lib/specs/getCapabilitySpecs/WMS130GetCapabilitiesRadarTestWithoutInheritLayerprops.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "<?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&SERVICE=WMS&\" />\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&SERVICE=WMS&\" />\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&SERVICE=WMS&\" />\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&SERVICE=WMS&\" />\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:32661</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:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\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:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-with-range/nearest\" />\n </LegendURL>\n </Style>\n </Layer>\n </Layer>\n </Capability>\n</WMS_Capabilities>";
|
|
2
|
-
export default
|
|
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&SERVICE=WMS&\" />\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&SERVICE=WMS&\" />\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&SERVICE=WMS&\" />\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&SERVICE=WMS&\" />\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:32661</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:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\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:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&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&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-with-range/nearest\" />\n </LegendURL>\n </Style>\n </Layer>\n </Layer>\n </Capability>\n</WMS_Capabilities>";
|
|
2
|
+
export default xml;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "<?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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&layer=meps%3Adailymeantemperature\"/>\n </LegendURL>\n </Style>\n </Layer>\n\t </Layer>\n </Layer>\n</Capability>\n</WMS_Capabilities>";
|
|
2
|
-
export default
|
|
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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&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&request=GetLegendGraphic&version=1.3.0&sld_version=1.1.0&style=default&format=image%2Fpng&layer=meps%3Adailymeantemperature\"/>\n </LegendURL>\n </Style>\n </Layer>\n\t </Layer>\n </Layer>\n</Capability>\n</WMS_Capabilities>";
|
|
2
|
+
export default xml;
|
package/src/lib/specs/index.d.ts
CHANGED
|
@@ -89,5 +89,5 @@ export declare const mockGetCapabilities: {
|
|
|
89
89
|
};
|
|
90
90
|
mockGetLayersFromService: (url: string) => Promise<import("..").LayerTree>;
|
|
91
91
|
mockGetLayersFlattenedFromService: (url: string) => Promise<import("..").LayerProps[]>;
|
|
92
|
-
mockGetCapabilitiesFetcher: (serviceUrl: string) => Promise<import("..").
|
|
92
|
+
mockGetCapabilitiesFetcher: (serviceUrl: string) => Promise<import("..").WMSGetCapabilities>;
|
|
93
93
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { CoordinateReferenceSystem, Dimension, LayerFoundation, LayerOptions,
|
|
1
|
+
import type { CoordinateReferenceSystem, Dimension, LayerFoundation, LayerOptions, Style } from '../components';
|
|
2
|
+
import { LayerType, WMLayer } from '../components';
|
|
2
3
|
export declare const defaultReduxLayerRadarColor: LayerOptions;
|
|
3
4
|
export declare const WmdefaultReduxLayerRadarKNMI: WMLayer;
|
|
4
5
|
export declare const makeGeoservicesRadarLayer: (dimensions?: Dimension[]) => WMLayer;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { WMSGetCapabilities, 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";
|
|
@@ -87,4 +87,4 @@ export declare const mockLayersDefault2: {
|
|
|
87
87
|
};
|
|
88
88
|
export declare const mockGetLayersFromService: (url: string) => Promise<LayerTree>;
|
|
89
89
|
export declare const mockGetLayersFlattenedFromService: (url: string) => Promise<LayerProps[]>;
|
|
90
|
-
export declare const mockGetCapabilitiesFetcher: (serviceUrl: string) => Promise<
|
|
90
|
+
export declare const mockGetCapabilitiesFetcher: (serviceUrl: string) => Promise<WMSGetCapabilities>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Capability,
|
|
1
|
+
import type { Capability, WMSGetCapabilities, Header, LayerProps, LayerTree, WMSLayerFromGetCapabilities, WMSServiceInfo, WMTSGetCapabilities, OGCWMSWMTSGetCapabilities } from '../../components/types';
|
|
2
2
|
/**
|
|
3
3
|
* A LayerTree with deeply nested children will be flattened into a 1D array.
|
|
4
4
|
* Children properties are removed and result is sorted alphabetically by the layers title.
|
|
@@ -7,24 +7,24 @@ import { Capability, GetCapabilitiesJson, Header, LayerProps, LayerTree, WMSLaye
|
|
|
7
7
|
*/
|
|
8
8
|
export declare const privateWmsFlattenLayerTree: (layerTree: LayerTree) => LayerProps[];
|
|
9
9
|
export declare const privateGetOGCCapabilitiesUrl: (url?: string, service?: string, additionalParams?: {}) => string;
|
|
10
|
-
export declare const privateWmsGetCapabilities: (serviceUrl: string, headers?: Header[], forceReload?: boolean) => Promise<
|
|
10
|
+
export declare const privateWmsGetCapabilities: (serviceUrl: string, headers?: Header[], forceReload?: boolean) => Promise<WMSGetCapabilities>;
|
|
11
11
|
export declare const privateWmtsGetCapabilities: (serviceUrl: string, headers?: Header[], forceReload?: boolean) => Promise<string>;
|
|
12
12
|
/**
|
|
13
13
|
* privateWmsGetCapabilityElement
|
|
14
14
|
* @param jsonData
|
|
15
15
|
* @returns
|
|
16
16
|
*/
|
|
17
|
-
export declare const privateWmsGetCapabilityElement: (jsonData:
|
|
18
|
-
export declare const privateCheckException: (jsonData:
|
|
19
|
-
export declare const privateWmsGetRootLayerFromGetCapabilities: (jsonData:
|
|
20
|
-
export declare const privateCheckVersion130: (jsonData:
|
|
21
|
-
export declare const privateCheckVersion: (jsonData:
|
|
17
|
+
export declare const privateWmsGetCapabilityElement: (jsonData: WMSGetCapabilities) => Capability;
|
|
18
|
+
export declare const privateCheckException: (jsonData: WMSGetCapabilities) => string | undefined;
|
|
19
|
+
export declare const privateWmsGetRootLayerFromGetCapabilities: (jsonData: WMSGetCapabilities) => WMSLayerFromGetCapabilities;
|
|
20
|
+
export declare const privateCheckVersion130: (jsonData: WMSGetCapabilities) => void;
|
|
21
|
+
export declare const privateCheckVersion: (jsonData: WMSGetCapabilities) => string | null;
|
|
22
22
|
/**
|
|
23
23
|
* Returns a LayerTree object representing hierarchical structure of Lahyers in the WMS GetCapabilities document
|
|
24
|
-
* @param jsonData
|
|
24
|
+
* @param jsonData WMSGetCapabilities
|
|
25
25
|
* @returns LayerTree
|
|
26
26
|
*/
|
|
27
|
-
export declare const privateWmsGetLayerTree: (jsonData:
|
|
27
|
+
export declare const privateWmsGetLayerTree: (jsonData: OGCWMSWMTSGetCapabilities) => LayerTree;
|
|
28
28
|
/**
|
|
29
29
|
* Builds a standardized LayerTree object based on WMSLayerFromGetCapabilities object.
|
|
30
30
|
* @param wmsLayer The WMSLayerFromGetCapabilities object
|
|
@@ -33,7 +33,7 @@ export declare const privateWmsGetLayerTree: (jsonData: GetCapabilitiesJson) =>
|
|
|
33
33
|
* @returns A LayerTree object.
|
|
34
34
|
*/
|
|
35
35
|
export declare const privateWmsBuildLayerTreeFromNestedWMSLayer: (wmsLayer: WMSLayerFromGetCapabilities, nestedPath?: string[], nestedLayerPath?: LayerProps[]) => LayerTree;
|
|
36
|
-
export type GetCapabilitiesFunctionType = (serviceUrl: string) => Promise<
|
|
36
|
+
export type GetCapabilitiesFunctionType = (serviceUrl: string) => Promise<WMSGetCapabilities>;
|
|
37
37
|
export declare const setWMSGetCapabilitiesFetcher: (functionToSet: GetCapabilitiesFunctionType | null) => void;
|
|
38
38
|
/**
|
|
39
39
|
* Returns details about the WMS service. You are encouraged to use queryWMSServiceInfo instead.
|
|
@@ -41,10 +41,24 @@ export declare const setWMSGetCapabilitiesFetcher: (functionToSet: GetCapabiliti
|
|
|
41
41
|
* @param serviceUrl
|
|
42
42
|
* @returns
|
|
43
43
|
*/
|
|
44
|
-
export declare const privateGetWMSServiceInfo: (getCapabilitiesJson:
|
|
44
|
+
export declare const privateGetWMSServiceInfo: (getCapabilitiesJson: WMSGetCapabilities, serviceUrl: string) => WMSServiceInfo;
|
|
45
|
+
/**
|
|
46
|
+
* Returns details about the WMTS service. You are encouraged to use queryWMSServiceInfo instead.
|
|
47
|
+
* @param getCapabilitiesJson
|
|
48
|
+
* @param serviceUrl
|
|
49
|
+
* @returns
|
|
50
|
+
*/
|
|
51
|
+
export declare const privateGetWMTSServiceInfo: (getCapabilitiesJson: WMTSGetCapabilities, serviceUrl: string) => WMSServiceInfo;
|
|
45
52
|
/**
|
|
46
53
|
* Makes a uniform and harmonized URL used as caching key in TanStack
|
|
47
54
|
* @param serviceUrl
|
|
48
55
|
* @returns
|
|
49
56
|
*/
|
|
50
57
|
export declare const makeQueryKeyFroMServiceUrl: (serviceUrl: string) => string;
|
|
58
|
+
/**
|
|
59
|
+
* Parses WMTS GetCapabilities and returns an array of LayerProps
|
|
60
|
+
* @param getCapabilities
|
|
61
|
+
* @returns
|
|
62
|
+
*/
|
|
63
|
+
export declare const handleWMTSGetCapabilities: (getCapabilities: WMTSGetCapabilities) => LayerProps[];
|
|
64
|
+
export declare const handleWMTSGetCapabilitiesForLayer: (getCapabilities: WMTSGetCapabilities, layerName: string) => LayerProps | undefined;
|
package/src/lib/utils/i18n.d.ts
CHANGED