]> git.basschouten.com Git - openhab-addons.git/commitdiff
[fmiweather] Fixed to work with new API (#10765)
authorSami Salonen <ssalonen@gmail.com>
Sat, 29 May 2021 12:23:23 +0000 (15:23 +0300)
committerGitHub <noreply@github.com>
Sat, 29 May 2021 12:23:23 +0000 (14:23 +0200)
Tests updated as well

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
bundles/org.openhab.binding.fmiweather/src/main/java/org/openhab/binding/fmiweather/internal/client/Client.java
bundles/org.openhab.binding.fmiweather/src/test/java/org/openhab/binding/fmiweather/AbstractFMIResponseParsingTest.java
bundles/org.openhab.binding.fmiweather/src/test/java/org/openhab/binding/fmiweather/FMIResponseParsingExceptionReportTest.java
bundles/org.openhab.binding.fmiweather/src/test/java/org/openhab/binding/fmiweather/FMIResponseParsingMultiplePlacesTest.java
bundles/org.openhab.binding.fmiweather/src/test/java/org/openhab/binding/fmiweather/ParsingStationsTest.java
bundles/org.openhab.binding.fmiweather/src/test/resources/org/openhab/binding/fmiweather/error1.xml
bundles/org.openhab.binding.fmiweather/src/test/resources/org/openhab/binding/fmiweather/forecast_multiple_places.xml
bundles/org.openhab.binding.fmiweather/src/test/resources/org/openhab/binding/fmiweather/observations_empty.xml
bundles/org.openhab.binding.fmiweather/src/test/resources/org/openhab/binding/fmiweather/observations_multiple_places.xml
bundles/org.openhab.binding.fmiweather/src/test/resources/org/openhab/binding/fmiweather/observations_single_place.xml
bundles/org.openhab.binding.fmiweather/src/test/resources/org/openhab/binding/fmiweather/stations.xml

index 2e4e5a016b1d19f94c9f8d7f85a71471f805bb17..4c3e9cd2b26e0b1d15db21144cbf84b4f79416c7 100644 (file)
@@ -71,7 +71,7 @@ public class Client {
 
     private static final Map<String, String> NAMESPACES = new HashMap<>();
     static {
-        NAMESPACES.put("target", "http://xml.fmi.fi/namespace/om/atmosphericfeatures/1.0");
+        NAMESPACES.put("target", "http://xml.fmi.fi/namespace/om/atmosphericfeatures/1.1");
         NAMESPACES.put("gml", "http://www.opengis.net/gml/3.2");
         NAMESPACES.put("xlink", "http://www.w3.org/1999/xlink");
         NAMESPACES.put("ows", "http://www.opengis.net/ows/1.1");
@@ -374,7 +374,8 @@ public class Client {
      */
     private String takeFirstOrError(String errorDescription, String[] values) throws FMIUnexpectedResponseException {
         if (values.length != 1) {
-            throw new FMIUnexpectedResponseException(String.format("No unique match found: %s", errorDescription));
+            throw new FMIUnexpectedResponseException(
+                    String.format("No unique match found: %s (found %d)", errorDescription, values.length));
         }
         return values[0];
     }
index 397e46832ffc17211bfe694a263785dcb0ee2b08..ef6b89fe623a0dc225233b35008db99ab4e5a71d 100644 (file)
@@ -12,7 +12,7 @@
  */
 package org.openhab.binding.fmiweather;
 
-import static org.junit.jupiter.api.Assertions.*;
+import static org.junit.jupiter.api.Assertions.fail;
 
 import java.io.BufferedReader;
 import java.io.IOException;
@@ -23,6 +23,7 @@ import java.nio.charset.StandardCharsets;
 import java.nio.file.Files;
 import java.nio.file.Path;
 import java.nio.file.Paths;
+import java.util.HashSet;
 import java.util.Objects;
 import java.util.Set;
 
@@ -109,6 +110,36 @@ public class AbstractFMIResponseParsingTest {
                 return timestampMatcher.matches(dataValues.timestampsEpochSecs)
                         && valuesMatcher.matches(dataValues.values);
             }
+
+            @Override
+            protected void describeMismatchSafely(Data dataValues, @Nullable Description mismatchDescription) {
+                if (mismatchDescription == null) {
+                    super.describeMismatchSafely(dataValues, mismatchDescription);
+                    return;
+                }
+                if (!timestampMatcher.matches(dataValues.timestampsEpochSecs)) {
+                    mismatchDescription.appendText("timestamps mismatch: ");
+                    if (dataValues.timestampsEpochSecs[0] != start) {
+                        mismatchDescription.appendText("start mismatch (was ");
+                        mismatchDescription.appendValue(dataValues.timestampsEpochSecs[0]);
+                        mismatchDescription.appendText(")");
+                    } else if (dataValues.timestampsEpochSecs.length != values.length) {
+                        mismatchDescription.appendText("length mismatch (was ");
+                        mismatchDescription.appendValue(dataValues.timestampsEpochSecs.length);
+                        mismatchDescription.appendText(")");
+                    } else {
+                        mismatchDescription.appendText("interval mismatch (was ");
+                        Set<Long> intervals = new HashSet<>();
+                        for (int i = 1; i < values.length; i++) {
+                            long interval = dataValues.timestampsEpochSecs[i] - dataValues.timestampsEpochSecs[i - 1];
+                            intervals.add(interval);
+                        }
+                        mismatchDescription.appendValue(intervals.toArray());
+                        mismatchDescription.appendText(")");
+                    }
+                }
+                mismatchDescription.appendText(", valuesMatch=").appendValue(valuesMatcher.matches(dataValues.values));
+            }
         };
     }
 
index afa615c270176a4d615290407dc55cace517aeb1..d82da881f981db140fec50bc7689a2363faa63aa 100644 (file)
@@ -39,7 +39,7 @@ public class FMIResponseParsingExceptionReportTest extends AbstractFMIResponsePa
         } catch (FMIResponseException e) {
             // OK
             assertThat(e.getMessage(), is(
-                    "Exception report (OperationParsingFailed): [Invalid time interval!, The start time is later than the end time., URI:\n\t\t\t/wfs?endtime=1900-03-10T20%3A10%3A00Z&fmisid=101023&parameters=t2m%2Crh%2Cwd_10min%2Cws_10min%2Cwg_10min%2Cp_sea&request=getFeature&service=WFS&starttime=2019-03-10T10%3A10%3A00Z&storedquery_id=fmi%3A%3Aobservations%3A%3Aweather%3A%3Amultipointcoverage&timestep=60&version=2.0.0]"));
+                    "Exception report (OperationParsingFailed): [Invalid time interval!, The start time is later than the end time., URI: /wfs?endtime=1900-03-10T20%3A10%3A00Z&fmisid=101023&parameters=t2m%2Crh%2Cwd_10min%2Cws_10min%2Cwg_10min%2Cp_sea&request=getFeature&service=WFS&starttime=2019-03-10T10%3A10%3A00Z&storedquery_id=fmi%3A%3Aobservations%3A%3Aweather%3A%3Amultipointcoverage&timestep=60&version=2.0.0]"));
             return;
         } catch (Throwable e) {
             fail("Wrong exception, was " + e.getClass().getName());
index 938a7281781573df87e24d4f523cadfecebca10e..5c4d4efd9d3eff4a94b1e5aa10c77e224a3b279d 100644 (file)
@@ -73,7 +73,6 @@ public class FMIResponseParsingMultiplePlacesTest extends AbstractFMIResponsePar
         }
     }
 
-    @SuppressWarnings("unchecked")
     @Test
     public void testLocationsMultiplePlacesObservations() {
         // locations
@@ -82,7 +81,6 @@ public class FMIResponseParsingMultiplePlacesTest extends AbstractFMIResponsePar
                 hasItems(deeplyEqualTo(emasalo), deeplyEqualTo(kilpilahti), deeplyEqualTo(harabacka)));
     }
 
-    @SuppressWarnings("unchecked")
     @Test
     public void testLocationsMultiplePlacesForecasts() {
         // locations
@@ -123,19 +121,20 @@ public class FMIResponseParsingMultiplePlacesTest extends AbstractFMIResponsePar
 
     @Test
     public void testParseForecastsMultipleData() {
+        long start = 1622116800;
         Data temperature = forecastsMultiplePlacesResponse.getData(maarianhamina, "Temperature").get();
-        assertThat(temperature, is(deeplyEqualTo(1553688000, 360, "3.84", "2.62", "2.26", "1.22", "5.47", "5.52",
-                "5.42", "4.78", "8.34", "7.15", null, null, null, null)));
+        assertThat(temperature, is(deeplyEqualTo(start, 360, "7.75", "7.94", "6.72", "8.22", "11.37", "9.69", "6.42",
+                "9.52", "11.04", "9.69", null, null, null, null)));
         Data temperature2 = forecastsMultiplePlacesResponse.getData(pointWithNoName, "Temperature").get();
-        assertThat(temperature2, is(deeplyEqualTo(1553688000, 360, "1.54", "2.91", "2.41", "2.36", "4.22", "5.28",
-                "4.58", "4.0", "4.79", "5.4", null, null, null, null)));
+        assertThat(temperature2, is(deeplyEqualTo(start, 360, "7.46", "6.56", "6.2", "5.15", "5.05", "5.96", "6.2",
+                "5.94", "5.69", "5.47", null, null, null, null)));
 
         Data humidity = forecastsMultiplePlacesResponse.getData(maarianhamina, "Humidity").get();
-        assertThat(humidity, is(deeplyEqualTo(1553688000, 360, "66.57", "87.38", "85.77", "96.3", "75.74", "81.7",
-                "86.78", "87.96", "70.86", "76.35", null, null, null, null)));
+        assertThat(humidity, is(deeplyEqualTo(start, 360, "93.76", "93.24", "98.22", "93.93", "75.78", "58.91", "80.42",
+                "54.11", "40.29", "46.42", null, null, null, null)));
         Data humidity2 = forecastsMultiplePlacesResponse.getData(pointWithNoName, "Humidity").get();
-        assertThat(humidity2, is(deeplyEqualTo(1553688000, 360, "90.18", "86.22", "89.18", "89.43", "77.26", "78.55",
-                "83.36", "85.83", "80.82", "76.92", null, null, null, null)));
+        assertThat(humidity2, is(deeplyEqualTo(start, 360, "93.44", "95.3", "96.15", "93.77", "93.0", "82.1", "81.95",
+                "81.37", "85.41", "87.8", null, null, null, null)));
     }
 
     @Test
index b0d3330ca892ebb905b12f93216277aa802b5d69..0d9907db3d500496417dac4589e897dc006cc7a7 100644 (file)
@@ -46,7 +46,7 @@ public class ParsingStationsTest extends AbstractFMIResponseParsingTest {
                                 new BigDecimal("25.549164"))),
                         deeplyEqualTo(new Location("Parainen Utö", "100908", new BigDecimal("59.779094"),
                                 new BigDecimal("21.374788"))),
-                        deeplyEqualTo(new Location("Lemland Nyhamn", "100909", new BigDecimal("59.959108"),
-                                new BigDecimal("19.953736")))));
+                        deeplyEqualTo(new Location("Lemland Nyhamn", "100909", new BigDecimal("59.959194"),
+                                new BigDecimal("19.953667")))));
     }
 }
index c3eafbe525ce48d3fa529edfebdfc01f29e43364..c679f35206d06f49f170f037cb61e576093a94c4 100644 (file)
@@ -1,17 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- https://opendata.fmi.fi/wfs?service=WFS&version=2.0.0&request=getFeature&storedquery_id=fmi::observations::weather::multipointcoverage&fmisid=101023&starttime=2019-03-10T10:10:00Z&endtime=1900-03-10T20:10:00Z&timestep=60&parameters=t2m,rh,wd_10min,ws_10min,wg_10min,p_sea -->
 <ExceptionReport xmlns="http://www.opengis.net/ows/1.1"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd"
-       version="2.0.0" xml:lang="eng">
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd"
+  version="2.0.0" xml:lang="eng">
 
 
-       <Exception exceptionCode="OperationParsingFailed">
-               <ExceptionText>Invalid time interval!</ExceptionText>
-               <ExceptionText>The start time is later than the end time.</ExceptionText>
-               <ExceptionText>URI:
-                       /wfs?endtime=1900-03-10T20%3A10%3A00Z&amp;fmisid=101023&amp;parameters=t2m%2Crh%2Cwd_10min%2Cws_10min%2Cwg_10min%2Cp_sea&amp;request=getFeature&amp;service=WFS&amp;starttime=2019-03-10T10%3A10%3A00Z&amp;storedquery_id=fmi%3A%3Aobservations%3A%3Aweather%3A%3Amultipointcoverage&amp;timestep=60&amp;version=2.0.0</ExceptionText>
+  <Exception exceptionCode="OperationParsingFailed">
+    <ExceptionText>Invalid time interval!</ExceptionText>
+    <ExceptionText>The start time is later than the end time.</ExceptionText>
+    <ExceptionText>URI: /wfs?endtime=1900-03-10T20%3A10%3A00Z&amp;fmisid=101023&amp;parameters=t2m%2Crh%2Cwd_10min%2Cws_10min%2Cwg_10min%2Cp_sea&amp;request=getFeature&amp;service=WFS&amp;starttime=2019-03-10T10%3A10%3A00Z&amp;storedquery_id=fmi%3A%3Aobservations%3A%3Aweather%3A%3Amultipointcoverage&amp;timestep=60&amp;version=2.0.0</ExceptionText>
 
-       </Exception>
+  </Exception>
 
 </ExceptionReport>
index 5bcec61e920114fb2020b313d66b67a920da504c..ea1957f5933f1e5e18bbf560dd1e5b56d4752b43 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- https://opendata.fmi.fi/wfs?service=WFS&version=2.0.0&request=getFeature&storedquery_id=fmi::forecast::hirlam::surface::point::multipointcoverage&latlon=60.09726,19.93481&latlon=61.09726,19.9&starttime=2019-03-27T10:10:00Z&endtime=2019-03-30T20:10:00Z&timestep=360&parameters=Temperature,Humidity -->
-<wfs:FeatureCollection timeStamp="2019-03-27T19:46:01Z" numberMatched="1" numberReturned="1"
-       xmlns:wfs="http://www.opengis.net/wfs/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:om="http://www.opengis.net/om/2.0"
-       xmlns:omso="http://inspire.ec.europa.eu/schemas/omso/3.0" xmlns:ompr="http://inspire.ec.europa.eu/schemas/ompr/3.0"
-       xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gmd="http://www.isotc211.org/2005/gmd"
-       xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:swe="http://www.opengis.net/swe/2.0"
-       xmlns:gmlcov="http://www.opengis.net/gmlcov/1.0" xmlns:sam="http://www.opengis.net/sampling/2.0"
-       xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"
-       xmlns:target="http://xml.fmi.fi/namespace/om/atmosphericfeatures/1.0"
-       xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd
+<!-- when regenerating test results, update date below (otherwise forecast will be nan) -->
+<!-- https://opendata.fmi.fi/wfs?service=WFS&version=2.0.0&request=getFeature&storedquery_id=fmi::forecast::hirlam::surface::point::multipointcoverage&latlon=60.09726,19.93481&latlon=61.09726,19.9&starttime=2021-05-27T10:10:00Z&endtime=2021-05-30T20:10:00Z&timestep=360&parameters=Temperature,Humidity -->
+<wfs:FeatureCollection
+    timeStamp="2021-05-27T17:41:39Z"
+    numberMatched="1"
+    numberReturned="1"
+    xmlns:wfs="http://www.opengis.net/wfs/2.0"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:xlink="http://www.w3.org/1999/xlink"
+    xmlns:om="http://www.opengis.net/om/2.0"
+    xmlns:omso="http://inspire.ec.europa.eu/schemas/omso/3.0"
+    xmlns:ompr="http://inspire.ec.europa.eu/schemas/ompr/3.0"
+    xmlns:gml="http://www.opengis.net/gml/3.2"
+    xmlns:gmd="http://www.isotc211.org/2005/gmd"
+    xmlns:gco="http://www.isotc211.org/2005/gco"
+    xmlns:swe="http://www.opengis.net/swe/2.0"
+    xmlns:gmlcov="http://www.opengis.net/gmlcov/1.0"
+    xmlns:sam="http://www.opengis.net/sampling/2.0"
+    xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"
+    xmlns:target="http://xml.fmi.fi/namespace/om/atmosphericfeatures/1.1"
+    xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd
     http://www.opengis.net/gmlcov/1.0 http://schemas.opengis.net/gmlcov/1.0/gmlcovAll.xsd
     http://www.opengis.net/sampling/2.0 http://schemas.opengis.net/sampling/2.0/samplingFeature.xsd
     http://www.opengis.net/samplingSpatial/2.0 http://schemas.opengis.net/samplingSpatial/2.0/spatialSamplingFeature.xsd
     http://www.opengis.net/swe/2.0 http://schemas.opengis.net/sweCommon/2.0/swe.xsd
-    http://inspire.ec.europa.eu/schemas/omso/3.0 http://inspire.ec.europa.eu/schemas/omso/3.0/SpecialisedObservations.xsd
-    http://inspire.ec.europa.eu/schemas/ompr/3.0 http://inspire.ec.europa.eu/schemas/ompr/3.0/Processes.xsd
-    http://xml.fmi.fi/namespace/om/atmosphericfeatures/1.0 http://xml.fmi.fi/schema/om/atmosphericfeatures/1.0/atmosphericfeatures.xsd">
+    http://inspire.ec.europa.eu/schemas/omso/3.0 https://inspire.ec.europa.eu/schemas/omso/3.0/SpecialisedObservations.xsd
+    http://inspire.ec.europa.eu/schemas/ompr/3.0 https://inspire.ec.europa.eu/schemas/ompr/3.0/Processes.xsd
+    http://xml.fmi.fi/namespace/om/atmosphericfeatures/1.1 http://xml.fmi.fi/schema/om/atmosphericfeatures/1.1/atmosphericfeatures.xsd">
 
-       <wfs:member>
-               <omso:GridSeriesObservation
-                       gml:id="WFS-QGPHvQmfZT9VhmkXx4WpnRrbPFuJTowuYWbbpdOs2_llx4efR060aeWzDtdOufXlmw48rp1w36d3R0629dnTTw36d3THv7ZeWHPlhaWLLn07qmnbltR_wo3bxvHCY2PlzrUi0Kcd06aMmrhnZd2Spp25bUf8KN88eTRHBm07sk7Lh5ZefSth2ackhmZ8u_Tk51nM2DRi3Zsqxp2Gc6NeXz338sl_f2y8u_LT0w4tmWJpbMvbLsqeeGWpmbN.PDsy1qZtN.NJXdemZw1tuHxE08.mHdjy0rV0IDW26efPTuz1MvjpWNOwzmVt35MuyszRp5bMO1lcMPLDtrWqZdvDLyw9OvLLWhI67dOTT08tzn038suTj1y8vN_TkrzCzbdLp1m38suPDz6OnWjTy2Ydrp1z68s2HHldOuG_Tu6OnW3rs6aeG_Tu6Y9_bLyw58rQ6aduWn0y8J0Vmh007ctrfuy1jVakMA--">
-                       <om:phenomenonTime>
-                               <gml:TimePeriod gml:id="time-interval-1-1">
-                                       <gml:beginPosition>2019-03-27T12:00:00Z</gml:beginPosition>
-                                       <gml:endPosition>2019-03-30T18:00:00Z</gml:endPosition>
-                               </gml:TimePeriod>
-                       </om:phenomenonTime>
-                       <om:resultTime>
-                               <gml:TimeInstant gml:id="time-1-1">
-                                       <gml:timePosition>2019-03-27T15:19:43Z</gml:timePosition>
-                               </gml:TimeInstant>
-                       </om:resultTime>
+    <wfs:member>
+        <omso:GridSeriesObservation gml:id="WFS-cmhTLeo3jidbXDhaWbELfUba1KOJTowuYWbbpdOs2_llx4efR060aeWzDtdOufXlmw48rp1w36d3R0629dnTTw36d3THv7ZeWHPlhaWLLn07qmnbltS_wpXbxvHCY2PlzrUi0Kcd06aMmrhnZd2Spp25bUv8KV88eTRHBm07sk7Lh5ZefSth2ackhmZ8u_Tk51nM2DRi3Zsqxp2Gc6NeXz338sl_f2y8u_LT0w4tmWJpbMvbLsqeeGWpmbN.PDsy1qZtN.NJXdemZw1tuHxE08.mHdjy0rV0IDW26efPTuz1MvjpWNOwzmVt35MuyszRp5bMO1lcMPLDtrWqZdvDLyw9OvLLWhI67dOTT08tzn038suTj1y8vN_TkrzCzbdLp1m38suPDz6OnWjTy2Ydrp1z68s2HHldOuG_Tu6OnW3rs6aeG_Tu6Y9_bLyw58rQ6aduWn0y8J0Vmh007ctrfuy1jVakMA--">
+                     <om:phenomenonTime>
+                <gml:TimePeriod gml:id="time-interval-1-1">
+                    <gml:beginPosition>2021-05-27T12:00:00Z</gml:beginPosition>
+                    <gml:endPosition>2021-05-30T18:00:00Z</gml:endPosition>
+                </gml:TimePeriod>
+            </om:phenomenonTime>
+            <om:resultTime>
+                <gml:TimeInstant gml:id="time-1-1">
+                    <gml:timePosition>2021-05-27T15:06:06Z</gml:timePosition>
+                </gml:TimeInstant>
+            </om:resultTime>
 
-                       <om:procedure xlink:href="http://xml.fmi.fi/inspire/process/hirlam" />
-                       <om:parameter>
-                               <om:NamedValue>
-                                       <om:name xlink:href="http://xml.fmi.fi/inspire/process/hirlam" />
-                                       <om:value>
-                                               <gml:TimeInstant gml:id="analysis-time-1-1">
-                                                       <gml:timePosition>2019-03-27T12:00:00Z</gml:timePosition>
-                                               </gml:TimeInstant>
-                                       </om:value>
-                               </om:NamedValue>
-                       </om:parameter>
-                       <om:observedProperty
-                               xlink:href="http://opendata.fmi.fi/meta?observableProperty=forecast&amp;param=Temperature,Humidity&amp;language=eng" />
-                       <om:featureOfInterest>
-                               <sams:SF_SpatialSamplingFeature gml:id="enn-s-1-1-">
-                                       <sam:sampledFeature>
-                                               <target:LocationCollection gml:id="sampled-target-1-1">
-                                                       <target:member>
-                                                               <target:Location gml:id="forloc-geoid-3041732-pos">
-                                                                       <gml:identifier codeSpace="http://xml.fmi.fi/namespace/stationcode/geoid">3041732</gml:identifier>
-                                                                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/name">Mariehamn</gml:name>
-                                                                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/geoid">3041732</gml:name>
-                                                                       <target:representativePoint xlink:href="#point-3041732" />
-                                                                       <target:country codeSpace="http://xml.fmi.fi/namespace/location/country">Finland</target:country>
-                                                                       <target:timezone>Europe/Mariehamn</target:timezone>
-                                                                       <target:region codeSpace="http://xml.fmi.fi/namespace/location/region">Maarianhamina</target:region>
-                                                               </target:Location>
-                                                       </target:member>
-                                                       <target:member>
-                                                               <target:Location gml:id="forloc-geoid-NaN-pos">
-                                                                       <gml:identifier codeSpace="http://xml.fmi.fi/namespace/stationcode/geoid">NaN</gml:identifier>
-                                                                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/name">19.9,61.0973</gml:name>
-                                                                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/geoid">NaN</gml:name>
-                                                                       <target:representativePoint xlink:href="#point-NaN" />
-                                                                       <target:country codeSpace="http://xml.fmi.fi/namespace/location/country"></target:country>
-                                                                       <target:timezone>Europe/Helsinki</target:timezone>
+        <om:procedure xlink:href="http://xml.fmi.fi/inspire/process/hirlam"/>
+            <om:parameter>
+                <om:NamedValue>
+                    <om:name xlink:href="http://xml.fmi.fi/inspire/process/hirlam"/>
+                    <om:value>
+                        <gml:TimeInstant gml:id="analysis-time-1-1">
+                            <gml:timePosition>2021-05-27T12:00:00Z</gml:timePosition>
+                        </gml:TimeInstant>
+                    </om:value>
+                </om:NamedValue>
+            </om:parameter>
+            <om:observedProperty  xlink:href="https://opendata.fmi.fi/meta?observableProperty=forecast&amp;param=Temperature,Humidity&amp;language=eng"/>
+                    <om:featureOfInterest>
+                <sams:SF_SpatialSamplingFeature gml:id="enn-s-1-1-">
+          <sam:sampledFeature>
+        <target:LocationCollection gml:id="sampled-target-1-1">
+            <target:member>
+            <target:Location gml:id="forloc-geoid-3041732-pos">
+                <gml:identifier codeSpace="http://xml.fmi.fi/namespace/stationcode/geoid">3041732</gml:identifier>
+            <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/name">Mariehamn</gml:name>
+            <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/geoid">3041732</gml:name>
+            <target:representativePoint xlink:href="#point-3041732"/>
+            <target:country codeSpace="http://xml.fmi.fi/namespace/location/country">Finland</target:country>
+            <target:timezone>Europe/Mariehamn</target:timezone>
+            <target:region codeSpace="http://xml.fmi.fi/namespace/location/region">Maarianhamina</target:region>
+            </target:Location></target:member>
+            <target:member>
+            <target:Location gml:id="forloc-geoid-NaN-pos">
+                <gml:identifier codeSpace="http://xml.fmi.fi/namespace/stationcode/geoid">NaN</gml:identifier>
+            <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/name">19.9,61.0973</gml:name>
+            <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/geoid">NaN</gml:name>
+            <target:representativePoint xlink:href="#point-NaN"/>
+            <target:country codeSpace="http://xml.fmi.fi/namespace/location/country"></target:country>
+            <target:timezone>Europe/Helsinki</target:timezone>
 
-                                                               </target:Location>
-                                                       </target:member>
-                                               </target:LocationCollection>
-                                       </sam:sampledFeature>
-                                       <sams:shape>
-                                               <gml:MultiPoint gml:id="sf-1-1-">
-                                                       <gml:pointMembers>
-                                                               <gml:Point gml:id="point-3041732" srsName="http://www.opengis.net/def/crs/EPSG/0/4258"
-                                                                       srsDimension="2">
-                                                                       <gml:name>Mariehamn</gml:name>
-                                                                       <gml:pos>60.09726 19.93481 </gml:pos>
-                                                               </gml:Point>
-                                                               <gml:Point gml:id="point-NaN" srsName="http://www.opengis.net/def/crs/EPSG/0/4258" srsDimension="2">
-                                                                       <gml:name>19.9,61.0973</gml:name>
-                                                                       <gml:pos>61.09726 19.90000 </gml:pos>
-                                                               </gml:Point>
-                                                       </gml:pointMembers>
-                                               </gml:MultiPoint>
-                                       </sams:shape>
-                               </sams:SF_SpatialSamplingFeature>
-                       </om:featureOfInterest>
-                       <om:result>
-                               <gmlcov:MultiPointCoverage gml:id="mpcv-1-1">
-                                       <gml:domainSet>
-                                               <gmlcov:SimpleMultiPoint gml:id="mp-1-1"
-                                                       srsName="http://xml.fmi.fi/gml/crs/compoundCRS.php?crs=4258&amp;time=unixtime" srsDimension="3">
-                                                       <gmlcov:positions>
-                                                               60.09726 19.93481 1553688000
-                                                               60.09726 19.93481 1553709600
-                                                               60.09726 19.93481 1553731200
-                                                               60.09726 19.93481 1553752800
-                                                               60.09726 19.93481 1553774400
-                                                               60.09726 19.93481 1553796000
-                                                               60.09726 19.93481 1553817600
-                                                               60.09726 19.93481 1553839200
-                                                               60.09726 19.93481 1553860800
-                                                               60.09726 19.93481 1553882400
-                                                               60.09726 19.93481 1553904000
-                                                               60.09726 19.93481 1553925600
-                                                               60.09726 19.93481 1553947200
-                                                               60.09726 19.93481 1553968800
-                                                               61.09726 19.90000 1553688000
-                                                               61.09726 19.90000 1553709600
-                                                               61.09726 19.90000 1553731200
-                                                               61.09726 19.90000 1553752800
-                                                               61.09726 19.90000 1553774400
-                                                               61.09726 19.90000 1553796000
-                                                               61.09726 19.90000 1553817600
-                                                               61.09726 19.90000 1553839200
-                                                               61.09726 19.90000 1553860800
-                                                               61.09726 19.90000 1553882400
-                                                               61.09726 19.90000 1553904000
-                                                               61.09726 19.90000 1553925600
-                                                               61.09726 19.90000 1553947200
-                                                               61.09726 19.90000 1553968800
-                                                       </gmlcov:positions>
-                                               </gmlcov:SimpleMultiPoint>
-                                       </gml:domainSet>
-                                       <gml:rangeSet>
-                                               <gml:DataBlock>
-                                                       <gml:rangeParameters />
-                                                       <gml:doubleOrNilReasonTupleList>
-                                                               3.84 66.57
-                                                               2.62 87.38
-                                                               2.26 85.77
-                                                               1.22 96.3
-                                                               5.47 75.74
-                                                               5.52 81.7
-                                                               5.42 86.78
-                                                               4.78 87.96
-                                                               8.34 70.86
-                                                               7.15 76.35
-                                                               NaN NaN
-                                                               NaN NaN
-                                                               NaN NaN
-                                                               NaN NaN
-                                                               1.54 90.18
-                                                               2.91 86.22
-                                                               2.41 89.18
-                                                               2.36 89.43
-                                                               4.22 77.26
-                                                               5.28 78.55
-                                                               4.58 83.36
-                                                               4.0 85.83
-                                                               4.79 80.82
-                                                               5.4 76.92
-                                                               NaN NaN
-                                                               NaN NaN
-                                                               NaN NaN
-                                                               NaN NaN
-                                                       </gml:doubleOrNilReasonTupleList>
-                                               </gml:DataBlock>
-                                       </gml:rangeSet>
-                                       <gml:coverageFunction>
-                                               <gml:CoverageMappingRule>
-                                                       <gml:ruleDefinition>Linear</gml:ruleDefinition>
-                                               </gml:CoverageMappingRule>
-                                       </gml:coverageFunction>
-                                       <gmlcov:rangeType>
-                                               <swe:DataRecord>
-                                                       <swe:field name="Temperature"
-                                                               xlink:href="http://opendata.fmi.fi/meta?observableProperty=forecast&amp;param=Temperature&amp;language=eng" />
-                                                       <swe:field name="Humidity"
-                                                               xlink:href="http://opendata.fmi.fi/meta?observableProperty=forecast&amp;param=Humidity&amp;language=eng" />
-                                               </swe:DataRecord>
-                                       </gmlcov:rangeType>
-                               </gmlcov:MultiPointCoverage>
-                       </om:result>
+            </target:Location></target:member>
+        </target:LocationCollection>
+       </sam:sampledFeature>
+                <sams:shape>
+                    <gml:MultiPoint gml:id="sf-1-1-">
+                        <gml:pointMembers>
+                           <gml:Point gml:id="point-3041732" srsName="http://www.opengis.net/def/crs/EPSG/0/4258" srsDimension="2">
+                               <gml:name>Mariehamn</gml:name>
+                               <gml:pos>60.09726 19.93481 </gml:pos>
+                           </gml:Point>
+                           <gml:Point gml:id="point-NaN" srsName="http://www.opengis.net/def/crs/EPSG/0/4258" srsDimension="2">
+                               <gml:name>19.9,61.0973</gml:name>
+                               <gml:pos>61.09726 19.90000 </gml:pos>
+                           </gml:Point>
+                        </gml:pointMembers>
+                    </gml:MultiPoint>
+                </sams:shape>
+            </sams:SF_SpatialSamplingFeature>
+        </om:featureOfInterest>
+              <om:result>
+        <gmlcov:MultiPointCoverage gml:id="mpcv-1-1">
+          <gml:domainSet>
+            <gmlcov:SimpleMultiPoint gml:id="mp-1-1" srsName="http://xml.fmi.fi/gml/crs/compoundCRS.php?crs=4258&amp;time=unixtime" srsDimension="3">
+              <gmlcov:positions>
+                60.09726 19.93481  1622116800
+                60.09726 19.93481  1622138400
+                60.09726 19.93481  1622160000
+                60.09726 19.93481  1622181600
+                60.09726 19.93481  1622203200
+                60.09726 19.93481  1622224800
+                60.09726 19.93481  1622246400
+                60.09726 19.93481  1622268000
+                60.09726 19.93481  1622289600
+                60.09726 19.93481  1622311200
+                60.09726 19.93481  1622332800
+                60.09726 19.93481  1622354400
+                60.09726 19.93481  1622376000
+                60.09726 19.93481  1622397600                
+                61.09726 19.90000  1622116800
+                61.09726 19.90000  1622138400
+                61.09726 19.90000  1622160000
+                61.09726 19.90000  1622181600
+                61.09726 19.90000  1622203200
+                61.09726 19.90000  1622224800
+                61.09726 19.90000  1622246400
+                61.09726 19.90000  1622268000
+                61.09726 19.90000  1622289600
+                61.09726 19.90000  1622311200
+                61.09726 19.90000  1622332800
+                61.09726 19.90000  1622354400
+                61.09726 19.90000  1622376000
+                61.09726 19.90000  1622397600
+                </gmlcov:positions>
+            </gmlcov:SimpleMultiPoint>
+          </gml:domainSet>
+          <gml:rangeSet>
+            <gml:DataBlock>
+              <gml:rangeParameters/>
+              <gml:doubleOrNilReasonTupleList>
+                7.75 93.76
+                7.94 93.24
+                6.72 98.22
+                8.22 93.93
+                11.37 75.78
+                9.69 58.91
+                6.42 80.42
+                9.52 54.11
+                11.04 40.29
+                9.69 46.42
+                NaN NaN
+                NaN NaN
+                NaN NaN
+                NaN NaN                
+                7.46 93.44
+                6.56 95.3
+                6.2 96.15
+                5.15 93.77
+                5.05 93.0
+                5.96 82.1
+                6.2 81.95
+                5.94 81.37
+                5.69 85.41
+                5.47 87.8
+                NaN NaN
+                NaN NaN
+                NaN NaN
+                NaN NaN
+                </gml:doubleOrNilReasonTupleList>
+            </gml:DataBlock>
+          </gml:rangeSet>
+          <gml:coverageFunction>
+            <gml:CoverageMappingRule>
+              <gml:ruleDefinition>Linear</gml:ruleDefinition>
+            </gml:CoverageMappingRule>
+          </gml:coverageFunction>
+          <gmlcov:rangeType>
+            <swe:DataRecord>
+              <swe:field name="Temperature"  xlink:href="https://opendata.fmi.fi/meta?observableProperty=forecast&amp;param=Temperature&amp;language=eng"/>
+              <swe:field name="Humidity"  xlink:href="https://opendata.fmi.fi/meta?observableProperty=forecast&amp;param=Humidity&amp;language=eng"/>
+              </swe:DataRecord>
+          </gmlcov:rangeType>
+        </gmlcov:MultiPointCoverage>
+      </om:result>
 
-               </omso:GridSeriesObservation>
-       </wfs:member>
+        </omso:GridSeriesObservation>
+    </wfs:member>
 
 </wfs:FeatureCollection>
index 04753086c1012a80da5d4cb48dedc83073470846..ffcc4329e5d125f07e5e0bed302e4785cca4b733 100644 (file)
@@ -1,22 +1,31 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- https://opendata.fmi.fi/wfs?service=WFS&version=2.0.0&request=getFeature&storedquery_id=fmi::observations::weather::multipointcoverage&fmisid=101023&starttime=2019-03-10T10:10:00Z&endtime=2019-03-10T10:10:00Z&timestep=60&parameters=t2m,rh,wd_10min,ws_10min,wg_10min,p_sea -->
-<wfs:FeatureCollection timeStamp="2019-03-23T08:13:23Z" numberMatched="0" numberReturned="0"
-       xmlns:wfs="http://www.opengis.net/wfs/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+<wfs:FeatureCollection
+  timeStamp="2021-05-27T17:22:36Z"
+  numberMatched="0"
+  numberReturned="0"
+  xmlns:wfs="http://www.opengis.net/wfs/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 
-       xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:om="http://www.opengis.net/om/2.0"
-       xmlns:ompr="http://inspire.ec.europa.eu/schemas/ompr/3.0" xmlns:omso="http://inspire.ec.europa.eu/schemas/omso/3.0"
-       xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gmd="http://www.isotc211.org/2005/gmd"
-       xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:swe="http://www.opengis.net/swe/2.0"
-       xmlns:gmlcov="http://www.opengis.net/gmlcov/1.0" xmlns:sam="http://www.opengis.net/sampling/2.0"
-       xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"
-       xmlns:target="http://xml.fmi.fi/namespace/om/atmosphericfeatures/1.0"
-       xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd
+  xmlns:xlink="http://www.w3.org/1999/xlink"
+  xmlns:om="http://www.opengis.net/om/2.0"
+  xmlns:ompr="http://inspire.ec.europa.eu/schemas/ompr/3.0"
+  xmlns:omso="http://inspire.ec.europa.eu/schemas/omso/3.0"
+  xmlns:gml="http://www.opengis.net/gml/3.2"
+  xmlns:gmd="http://www.isotc211.org/2005/gmd"
+  xmlns:gco="http://www.isotc211.org/2005/gco"
+  xmlns:swe="http://www.opengis.net/swe/2.0"
+  xmlns:gmlcov="http://www.opengis.net/gmlcov/1.0"
+  xmlns:sam="http://www.opengis.net/sampling/2.0"
+  xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"
+  xmlns:target="http://xml.fmi.fi/namespace/om/atmosphericfeatures/1.1"
+  xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd
   http://www.opengis.net/gmlcov/1.0 http://schemas.opengis.net/gmlcov/1.0/gmlcovAll.xsd
   http://www.opengis.net/sampling/2.0 http://schemas.opengis.net/sampling/2.0/samplingFeature.xsd
   http://www.opengis.net/samplingSpatial/2.0 http://schemas.opengis.net/samplingSpatial/2.0/spatialSamplingFeature.xsd
   http://www.opengis.net/swe/2.0 http://schemas.opengis.net/sweCommon/2.0/swe.xsd
-  http://inspire.ec.europa.eu/schemas/ompr/3.0 http://inspire.ec.europa.eu/schemas/ompr/3.0/Processes.xsd
-  http://inspire.ec.europa.eu/schemas/omso/3.0 http://inspire.ec.europa.eu/schemas/omso/3.0/SpecialisedObservations.xsd
-  http://xml.fmi.fi/namespace/om/atmosphericfeatures/1.0 http://xml.fmi.fi/schema/om/atmosphericfeatures/1.0/atmosphericfeatures.xsd">
+  http://inspire.ec.europa.eu/schemas/ompr/3.0 https://inspire.ec.europa.eu/schemas/ompr/3.0/Processes.xsd
+  http://inspire.ec.europa.eu/schemas/omso/3.0 https://inspire.ec.europa.eu/schemas/omso/3.0/SpecialisedObservations.xsd
+  http://xml.fmi.fi/namespace/om/atmosphericfeatures/1.1 http://xml.fmi.fi/schema/om/atmosphericfeatures/1.1/atmosphericfeatures.xsd">
 
-</wfs:FeatureCollection>
+</wfs:FeatureCollection>
\ No newline at end of file
index ef343102db0848e47f02aaf085927c29f3adc328..457481571549de2f71c03d93deda57768de9ca95 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- multiple locations using place=xxx&maxlocations=3 -->
 <!-- https://opendata.fmi.fi/wfs?service=WFS&version=2.0.0&request=getFeature&storedquery_id=fmi::observations::weather::multipointcoverage&place=porvoo&starttime=2019-03-10T10:10:00Z&endtime=2019-03-10T20:10:00Z&timestep=60&parameters=t2m,rh,wd_10min,ws_10min,wg_10min,p_sea&maxlocations=3 -->
-<wfs:FeatureCollection timeStamp="2019-03-22T21:17:09Z" numberMatched="1" numberReturned="1"
-       xmlns:wfs="http://www.opengis.net/wfs/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-
-       xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:om="http://www.opengis.net/om/2.0"
-       xmlns:ompr="http://inspire.ec.europa.eu/schemas/ompr/3.0" xmlns:omso="http://inspire.ec.europa.eu/schemas/omso/3.0"
-       xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gmd="http://www.isotc211.org/2005/gmd"
-       xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:swe="http://www.opengis.net/swe/2.0"
-       xmlns:gmlcov="http://www.opengis.net/gmlcov/1.0" xmlns:sam="http://www.opengis.net/sampling/2.0"
-       xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"
-       xmlns:target="http://xml.fmi.fi/namespace/om/atmosphericfeatures/1.0"
-       xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd
+<wfs:FeatureCollection
+  timeStamp="2021-05-27T17:22:59Z"
+  numberMatched="1"
+  numberReturned="1"
+  xmlns:wfs="http://www.opengis.net/wfs/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
+  xmlns:xlink="http://www.w3.org/1999/xlink"
+  xmlns:om="http://www.opengis.net/om/2.0"
+  xmlns:ompr="http://inspire.ec.europa.eu/schemas/ompr/3.0"
+  xmlns:omso="http://inspire.ec.europa.eu/schemas/omso/3.0"
+  xmlns:gml="http://www.opengis.net/gml/3.2"
+  xmlns:gmd="http://www.isotc211.org/2005/gmd"
+  xmlns:gco="http://www.isotc211.org/2005/gco"
+  xmlns:swe="http://www.opengis.net/swe/2.0"
+  xmlns:gmlcov="http://www.opengis.net/gmlcov/1.0"
+  xmlns:sam="http://www.opengis.net/sampling/2.0"
+  xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"
+  xmlns:target="http://xml.fmi.fi/namespace/om/atmosphericfeatures/1.1"
+  xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd
   http://www.opengis.net/gmlcov/1.0 http://schemas.opengis.net/gmlcov/1.0/gmlcovAll.xsd
   http://www.opengis.net/sampling/2.0 http://schemas.opengis.net/sampling/2.0/samplingFeature.xsd
   http://www.opengis.net/samplingSpatial/2.0 http://schemas.opengis.net/samplingSpatial/2.0/spatialSamplingFeature.xsd
   http://www.opengis.net/swe/2.0 http://schemas.opengis.net/sweCommon/2.0/swe.xsd
-  http://inspire.ec.europa.eu/schemas/ompr/3.0 http://inspire.ec.europa.eu/schemas/ompr/3.0/Processes.xsd
-  http://inspire.ec.europa.eu/schemas/omso/3.0 http://inspire.ec.europa.eu/schemas/omso/3.0/SpecialisedObservations.xsd
-  http://xml.fmi.fi/namespace/om/atmosphericfeatures/1.0 http://xml.fmi.fi/schema/om/atmosphericfeatures/1.0/atmosphericfeatures.xsd">
-
-       <wfs:member>
-               <omso:GridSeriesObservation
-                       gml:id="WFS-N4yxAM8P4I023XBe9o.q4oicpFWJTowroWbbpdOt.Lnl5dsPTTv3c3Trvlw9NGXk6dbeuzpp4b9O7pj39svLDnywtLFlz6d1TTty2o_4Uap43jhMbHy51qRaFOO6dNGTVwzsu7JU07ctqP.FGqePJojO15fPffyyVOjXl899_LJf39svLvy09MOLZliZmzD0y8.kTM2b8eHZlrUzab8aSu69MzhrbcPiJp59MO7HlpWroQGltw.IvDfj0c5wY5m9ty9Mu.hh5YduXpl5c6xujLbWJy0Vod8l9iw26d1aHfnfYsNundWh3z32LDbp3VlcL_PLha23Tz56d2epl8dKxp2Gc2t3XbPzU.mHpp37uc4zM4bMOPLzrM4b.Xbfva3Hrh2aenmTuzb4mtz6YemnfuqeeGWtDfwy7smHphbnPpv5ZcnHrl5eb.nJW6Fm26XTrfi55eXbD00793N0675cPTRl5OnW3rs6aeG_Tu6Y9_bLyw58rQ6aduWn0y8J.Qmh007ctrfuy1jVakMA">
-
-                       <om:phenomenonTime>
-                               <gml:TimePeriod gml:id="time1-1-1">
-                                       <gml:beginPosition>2019-03-10T10:10:00Z</gml:beginPosition>
-                                       <gml:endPosition>2019-03-10T20:10:00Z</gml:endPosition>
-                               </gml:TimePeriod>
-                       </om:phenomenonTime>
-                       <om:resultTime>
-                               <gml:TimeInstant gml:id="time2-1-1">
-                                       <gml:timePosition>2019-03-10T20:10:00Z</gml:timePosition>
-                               </gml:TimeInstant>
-                       </om:resultTime>
-
-                       <om:procedure xlink:href="http://xml.fmi.fi/inspire/process/opendata" />
-                       <om:parameter>
-                               <om:NamedValue>
-                                       <om:name
-                                               xlink:href="http://inspire.ec.europa.eu/codeList/ProcessParameterValue/value/groundObservation/observationIntent" />
-                                       <om:value>
-                                               atmosphere
-                                       </om:value>
-                               </om:NamedValue>
-                       </om:parameter>
-
-                       <om:observedProperty
-                               xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=t2m,rh,wd_10min,ws_10min,wg_10min,p_sea&amp;language=eng" />
-                       <om:featureOfInterest>
-                               <sams:SF_SpatialSamplingFeature gml:id="sampling-feature-1-1-fmisid">
-
-                                       <sam:sampledFeature>
-                                               <target:LocationCollection gml:id="sampled-target-1-1">
-                                                       <target:member>
-                                                               <target:Location gml:id="obsloc-fmisid-100683-pos">
-                                                                       <gml:identifier codeSpace="http://xml.fmi.fi/namespace/stationcode/fmisid">100683</gml:identifier>
-                                                                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/name">Porvoo Kilpilahti satama</gml:name>
-                                                                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/geoid">-16777356</gml:name>
-                                                                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/wmo">2994</gml:name>
-                                                                       <target:representativePoint xlink:href="#point-100683" />
-
-
-                                                                       <target:region codeSpace="http://xml.fmi.fi/namespace/location/region">Porvoo</target:region>
-
-                                                               </target:Location>
-                                                       </target:member>
-                                                       <target:member>
-                                                               <target:Location gml:id="obsloc-fmisid-101023-pos">
-                                                                       <gml:identifier codeSpace="http://xml.fmi.fi/namespace/stationcode/fmisid">101023</gml:identifier>
-                                                                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/name">Porvoo Emäsalo</gml:name>
-                                                                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/geoid">-16000110</gml:name>
-                                                                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/wmo">2991</gml:name>
-                                                                       <target:representativePoint xlink:href="#point-101023" />
-
-
-                                                                       <target:region codeSpace="http://xml.fmi.fi/namespace/location/region">Porvoo</target:region>
-
-                                                               </target:Location>
-                                                       </target:member>
-                                                       <target:member>
-                                                               <target:Location gml:id="obsloc-fmisid-101028-pos">
-                                                                       <gml:identifier codeSpace="http://xml.fmi.fi/namespace/stationcode/fmisid">101028</gml:identifier>
-                                                                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/name">Porvoo Harabacka</gml:name>
-                                                                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/geoid">-16000142</gml:name>
-                                                                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/wmo">2759</gml:name>
-                                                                       <target:representativePoint xlink:href="#point-101028" />
-
-
-                                                                       <target:region codeSpace="http://xml.fmi.fi/namespace/location/region">Porvoo</target:region>
-
-                                                               </target:Location>
-                                                       </target:member>
-                                               </target:LocationCollection>
-                                       </sam:sampledFeature>
-                                       <sams:shape>
-                                               <gml:MultiPoint gml:id="mp-1-1-fmisid">
-                                                       <gml:pointMember>
-                                                               <gml:Point gml:id="point-100683" srsName="http://www.opengis.net/def/crs/EPSG/0/4258" srsDimension="2">
-                                                                       <gml:name>Porvoo Kilpilahti satama</gml:name>
-                                                                       <gml:pos>60.30373 25.54916 </gml:pos>
-                                                               </gml:Point>
-                                                       </gml:pointMember>
-                                                       <gml:pointMember>
-                                                               <gml:Point gml:id="point-101023" srsName="http://www.opengis.net/def/crs/EPSG/0/4258" srsDimension="2">
-                                                                       <gml:name>Porvoo Emäsalo</gml:name>
-                                                                       <gml:pos>60.20382 25.62546 </gml:pos>
-                                                               </gml:Point>
-                                                       </gml:pointMember>
-                                                       <gml:pointMember>
-                                                               <gml:Point gml:id="point-101028" srsName="http://www.opengis.net/def/crs/EPSG/0/4258" srsDimension="2">
-                                                                       <gml:name>Porvoo Harabacka</gml:name>
-                                                                       <gml:pos>60.39172 25.60730 </gml:pos>
-                                                               </gml:Point>
-                                                       </gml:pointMember>
-                                               </gml:MultiPoint>
-                                       </sams:shape>
-                               </sams:SF_SpatialSamplingFeature>
-                       </om:featureOfInterest>
-
-                       <om:result>
-                               <gmlcov:MultiPointCoverage gml:id="mpcv1-1-1">
-                                       <gml:domainSet>
-                                               <gmlcov:SimpleMultiPoint gml:id="mp1-1-1"
-                                                       srsName="http://xml.fmi.fi/gml/crs/compoundCRS.php?crs=4258&amp;time=unixtime" srsDimension="3">
-                                                       <gmlcov:positions>
-                                                               60.30373 25.54916 1552215600
-                                                               60.30373 25.54916 1552219200
-                                                               60.30373 25.54916 1552222800
-                                                               60.30373 25.54916 1552226400
-                                                               60.30373 25.54916 1552230000
-                                                               60.30373 25.54916 1552233600
-                                                               60.30373 25.54916 1552237200
-                                                               60.30373 25.54916 1552240800
-                                                               60.30373 25.54916 1552244400
-                                                               60.30373 25.54916 1552248000
-                                                               60.20382 25.62546 1552215600
-                                                               60.20382 25.62546 1552219200
-                                                               60.20382 25.62546 1552222800
-                                                               60.20382 25.62546 1552226400
-                                                               60.20382 25.62546 1552230000
-                                                               60.20382 25.62546 1552233600
-                                                               60.20382 25.62546 1552237200
-                                                               60.20382 25.62546 1552240800
-                                                               60.20382 25.62546 1552244400
-                                                               60.20382 25.62546 1552248000
-                                                               60.39172 25.60730 1552215600
-                                                               60.39172 25.60730 1552219200
-                                                               60.39172 25.60730 1552222800
-                                                               60.39172 25.60730 1552226400
-                                                               60.39172 25.60730 1552230000
-                                                               60.39172 25.60730 1552233600
-                                                               60.39172 25.60730 1552237200
-                                                               60.39172 25.60730 1552240800
-                                                               60.39172 25.60730 1552244400
-                                                               60.39172 25.60730 1552248000
-                                                       </gmlcov:positions>
-                                               </gmlcov:SimpleMultiPoint>
-                                       </gml:domainSet>
-                                       <gml:rangeSet>
-                                               <gml:DataBlock>
-                                                       <gml:rangeParameters />
-                                                       <gml:doubleOrNilReasonTupleList>
-                                                               -0.5 73.0 299.0 5.3 8.2 NaN
-                                                               -0.6 65.0 293.0 7.0 9.1 NaN
-                                                               -0.9 60.0 300.0 6.2 9.8 NaN
-                                                               -1.2 59.0 288.0 6.3 8.9 NaN
-                                                               -1.2 57.0 256.0 4.6 7.1 NaN
-                                                               -1.6 64.0 232.0 2.4 5.2 NaN
-                                                               -1.9 66.0 239.0 1.9 3.2 NaN
-                                                               -2.3 65.0 249.0 3.1 5.0 NaN
-                                                               -2.9 71.0 280.0 4.3 5.7 NaN
-                                                               -3.3 77.0 246.0 3.4 5.6 NaN
-                                                               -0.4 77.0 312.0 8.0 10.0 985.9
-                                                               0.0 70.0 286.0 7.5 9.0 986.5
-                                                               0.1 61.0 295.0 8.6 10.5 987.0
-                                                               -1.0 64.0 282.0 8.4 10.5 987.6
-                                                               -1.2 65.0 271.0 6.6 8.7 988.1
-                                                               -1.3 61.0 262.0 5.0 6.7 988.2
-                                                               -1.2 65.0 243.0 8.2 9.6 988.1
-                                                               -1.5 69.0 252.0 6.1 7.6 987.9
-                                                               -1.7 71.0 262.0 7.3 8.6 988.0
-                                                               -2.4 77.0 276.0 6.0 7.5 988.2
-                                                               -0.6 74.0 317.0 3.9 7.1 985.9
-                                                               -0.9 64.0 290.0 4.2 6.8 986.4
-                                                               -1.0 58.0 296.0 5.3 9.1 987.0
-                                                               -1.7 66.0 301.0 3.5 6.6 987.6
-                                                               -1.9 64.0 269.0 2.6 4.2 988.0
-                                                               -2.8 71.0 231.0 1.1 2.3 988.1
-                                                               -3.4 78.0 229.0 1.1 1.6 988.1
-                                                               -3.8 79.0 229.0 1.8 2.7 987.8
-                                                               -4.1 81.0 253.0 2.0 3.2 988.0
-                                                               -4.7 86.0 224.0 1.9 3.1 988.2
-                                                       </gml:doubleOrNilReasonTupleList>
-                                               </gml:DataBlock>
-                                       </gml:rangeSet>
-                                       <gml:coverageFunction>
-                                               <gml:CoverageMappingRule>
-                                                       <gml:ruleDefinition>Linear</gml:ruleDefinition>
-                                               </gml:CoverageMappingRule>
-                                       </gml:coverageFunction>
-                                       <gmlcov:rangeType>
-                                               <swe:DataRecord>
-                                                       <swe:field name="t2m"
-                                                               xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=t2m&amp;language=eng" />
-                                                       <swe:field name="rh"
-                                                               xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=rh&amp;language=eng" />
-                                                       <swe:field name="wd_10min"
-                                                               xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=wd_10min&amp;language=eng" />
-                                                       <swe:field name="ws_10min"
-                                                               xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=ws_10min&amp;language=eng" />
-                                                       <swe:field name="wg_10min"
-                                                               xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=wg_10min&amp;language=eng" />
-                                                       <swe:field name="p_sea"
-                                                               xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=p_sea&amp;language=eng" />
-                                               </swe:DataRecord>
-                                       </gmlcov:rangeType>
-                               </gmlcov:MultiPointCoverage>
-                       </om:result>
-
-               </omso:GridSeriesObservation>
-       </wfs:member>
+  http://inspire.ec.europa.eu/schemas/ompr/3.0 https://inspire.ec.europa.eu/schemas/ompr/3.0/Processes.xsd
+  http://inspire.ec.europa.eu/schemas/omso/3.0 https://inspire.ec.europa.eu/schemas/omso/3.0/SpecialisedObservations.xsd
+  http://xml.fmi.fi/namespace/om/atmosphericfeatures/1.1 http://xml.fmi.fi/schema/om/atmosphericfeatures/1.1/atmosphericfeatures.xsd">
+
+  <wfs:member>
+    <omso:GridSeriesObservation gml:id="WFS-3MUfOS0t6wRJa5CND3fapa1fP.eJTowroWbbpdOt.Lnl5dsPTTv3c3Trvlw9NGXk6dbeuzpp4b9O7pj39svLDnywtLFlz6d1TTty2o_4Uap43jhMbHy51qRaFOO6dNGTVwzsu7JU07ctqP.FGqePJojO15fPffyyVOjXl899_LJf39svLvy09MOLZliZmzD0y8.kTM2b8eHZlrUzab8aSu69MzhrbcPiJp59MO7HlpWroQGltw.IvDfj0c5wY5m9ty9Mu.hh5YduXpl5c6xujLbWJy0Vod8l9iw26d1aHfnfYsNundWh3z32LDbp3VlcL_PLha23Tz56d2epl8dKxp2Gc2t3XbPzU.mHpp37uc4zM4bMOPLzrM4b.Xbfva3Hrh2aenmTuzb4mtz6YemnfuqeeGWtDfwy7smHphbnPpv5ZcnHrl5eb.nJW6Fm26XTrfi55eXbD00793N0675cPTRl5OnW3rs6aeG_Tu6Y9_bLyw58rQ6aduWn0y8J.Qmh007ctrfuy1jVakMA">
+
+                 <om:phenomenonTime>
+        <gml:TimePeriod gml:id="time1-1-1">
+          <gml:beginPosition>2019-03-10T10:10:00Z</gml:beginPosition>
+          <gml:endPosition>2019-03-10T20:10:00Z</gml:endPosition>
+        </gml:TimePeriod>
+      </om:phenomenonTime>
+      <om:resultTime>
+        <gml:TimeInstant gml:id="time2-1-1">
+          <gml:timePosition>2019-03-10T20:10:00Z</gml:timePosition>
+        </gml:TimeInstant>
+      </om:resultTime>
+
+     <om:procedure xlink:href="http://xml.fmi.fi/inspire/process/opendata"/>
+                 <om:parameter>
+                <om:NamedValue>
+                    <om:name xlink:href="https://inspire.ec.europa.eu/codeList/ProcessParameterValue/value/groundObservation/observationIntent"/>
+                    <om:value>
+            atmosphere
+                    </om:value>
+                </om:NamedValue>
+            </om:parameter>
+
+     <om:observedProperty  xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=t2m,rh,wd_10min,ws_10min,wg_10min,p_sea&amp;language=eng"/>
+        <om:featureOfInterest>
+        <sams:SF_SpatialSamplingFeature gml:id="sampling-feature-1-1-fmisid">
+
+          <sam:sampledFeature>
+        <target:LocationCollection gml:id="sampled-target-1-1">
+            <target:member>
+            <target:Location gml:id="obsloc-fmisid-100683-pos">
+                <gml:identifier codeSpace="http://xml.fmi.fi/namespace/stationcode/fmisid">100683</gml:identifier>
+            <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/name">Porvoo Kilpilahti satama</gml:name>
+            <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/geoid">-16777356</gml:name>
+            <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/wmo">2994</gml:name>
+            <target:representativePoint xlink:href="#point-100683"/>
+
+
+            <target:region codeSpace="http://xml.fmi.fi/namespace/location/region">Porvoo</target:region>
+
+            </target:Location></target:member>
+            <target:member>
+            <target:Location gml:id="obsloc-fmisid-101023-pos">
+                <gml:identifier codeSpace="http://xml.fmi.fi/namespace/stationcode/fmisid">101023</gml:identifier>
+            <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/name">Porvoo Emäsalo</gml:name>
+            <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/geoid">-16000110</gml:name>
+            <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/wmo">2991</gml:name>
+            <target:representativePoint xlink:href="#point-101023"/>
+
+
+            <target:region codeSpace="http://xml.fmi.fi/namespace/location/region">Porvoo</target:region>
+
+            </target:Location></target:member>
+            <target:member>
+            <target:Location gml:id="obsloc-fmisid-101028-pos">
+                <gml:identifier codeSpace="http://xml.fmi.fi/namespace/stationcode/fmisid">101028</gml:identifier>
+            <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/name">Porvoo Harabacka</gml:name>
+            <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/geoid">-16000142</gml:name>
+            <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/wmo">2759</gml:name>
+            <target:representativePoint xlink:href="#point-101028"/>
+
+
+            <target:region codeSpace="http://xml.fmi.fi/namespace/location/region">Porvoo</target:region>
+
+            </target:Location></target:member>
+        </target:LocationCollection>
+       </sam:sampledFeature>
+          <sams:shape>
+            <gml:MultiPoint gml:id="mp-1-1-fmisid">
+              <gml:pointMember>
+              <gml:Point gml:id="point-100683" srsName="http://www.opengis.net/def/crs/EPSG/0/4258" srsDimension="2">
+                <gml:name>Porvoo Kilpilahti satama</gml:name>
+                <gml:pos>60.30373 25.54916 </gml:pos>
+            </gml:Point>
+        </gml:pointMember>
+              <gml:pointMember>
+              <gml:Point gml:id="point-101023" srsName="http://www.opengis.net/def/crs/EPSG/0/4258" srsDimension="2">
+                <gml:name>Porvoo Emäsalo</gml:name>
+                <gml:pos>60.20382 25.62546 </gml:pos>
+            </gml:Point>
+        </gml:pointMember>
+              <gml:pointMember>
+              <gml:Point gml:id="point-101028" srsName="http://www.opengis.net/def/crs/EPSG/0/4258" srsDimension="2">
+                <gml:name>Porvoo Harabacka</gml:name>
+                <gml:pos>60.39172 25.60730 </gml:pos>
+            </gml:Point>
+        </gml:pointMember>
+        </gml:MultiPoint>
+          </sams:shape>
+        </sams:SF_SpatialSamplingFeature>
+      </om:featureOfInterest>
+
+           <om:result>
+        <gmlcov:MultiPointCoverage gml:id="mpcv1-1-1">
+          <gml:domainSet>
+            <gmlcov:SimpleMultiPoint gml:id="mp1-1-1" srsName="http://xml.fmi.fi/gml/crs/compoundCRS.php?crs=4258&amp;time=unixtime" srsDimension="3">
+              <gmlcov:positions>
+                60.30373 25.54916  1552215600
+                60.30373 25.54916  1552219200
+                60.30373 25.54916  1552222800
+                60.30373 25.54916  1552226400
+                60.30373 25.54916  1552230000
+                60.30373 25.54916  1552233600
+                60.30373 25.54916  1552237200
+                60.30373 25.54916  1552240800
+                60.30373 25.54916  1552244400
+                60.30373 25.54916  1552248000
+                60.20382 25.62546  1552215600
+                60.20382 25.62546  1552219200
+                60.20382 25.62546  1552222800
+                60.20382 25.62546  1552226400
+                60.20382 25.62546  1552230000
+                60.20382 25.62546  1552233600
+                60.20382 25.62546  1552237200
+                60.20382 25.62546  1552240800
+                60.20382 25.62546  1552244400
+                60.20382 25.62546  1552248000
+                60.39172 25.60730  1552215600
+                60.39172 25.60730  1552219200
+                60.39172 25.60730  1552222800
+                60.39172 25.60730  1552226400
+                60.39172 25.60730  1552230000
+                60.39172 25.60730  1552233600
+                60.39172 25.60730  1552237200
+                60.39172 25.60730  1552240800
+                60.39172 25.60730  1552244400
+                60.39172 25.60730  1552248000
+                </gmlcov:positions>
+            </gmlcov:SimpleMultiPoint>
+          </gml:domainSet>
+          <gml:rangeSet>
+            <gml:DataBlock>
+              <gml:rangeParameters/>
+              <gml:doubleOrNilReasonTupleList>
+                -0.5 73.0 299.0 5.3 8.2 NaN
+                -0.6 65.0 293.0 7.0 9.1 NaN
+                -0.9 60.0 300.0 6.2 9.8 NaN
+                -1.2 59.0 288.0 6.3 8.9 NaN
+                -1.2 57.0 256.0 4.6 7.1 NaN
+                -1.6 64.0 232.0 2.4 5.2 NaN
+                -1.9 66.0 239.0 1.9 3.2 NaN
+                -2.3 65.0 249.0 3.1 5.0 NaN
+                -2.9 71.0 280.0 4.3 5.7 NaN
+                -3.3 77.0 246.0 3.4 5.6 NaN
+                -0.4 77.0 312.0 8.0 10.0 985.9
+                0.0 70.0 286.0 7.5 9.0 986.5
+                0.1 61.0 295.0 8.6 10.5 987.0
+                -1.0 64.0 282.0 8.4 10.5 987.6
+                -1.2 65.0 271.0 6.6 8.7 988.1
+                -1.3 61.0 262.0 5.0 6.7 988.2
+                -1.2 65.0 243.0 8.2 9.6 988.1
+                -1.5 69.0 252.0 6.1 7.6 987.9
+                -1.7 71.0 262.0 7.3 8.6 988.0
+                -2.4 77.0 276.0 6.0 7.5 988.2
+                -0.6 74.0 317.0 3.9 7.1 985.9
+                -0.9 64.0 290.0 4.2 6.8 986.4
+                -1.0 58.0 296.0 5.3 9.1 987.0
+                -1.7 66.0 301.0 3.5 6.6 987.6
+                -1.9 64.0 269.0 2.6 4.2 988.0
+                -2.8 71.0 231.0 1.1 2.3 988.1
+                -3.4 78.0 229.0 1.1 1.6 988.1
+                -3.8 79.0 229.0 1.8 2.7 987.8
+                -4.1 81.0 253.0 2.0 3.2 988.0
+                -4.7 86.0 224.0 1.9 3.1 988.2
+                </gml:doubleOrNilReasonTupleList>
+            </gml:DataBlock>
+          </gml:rangeSet>
+          <gml:coverageFunction>
+            <gml:CoverageMappingRule>
+              <gml:ruleDefinition>Linear</gml:ruleDefinition>
+            </gml:CoverageMappingRule>
+          </gml:coverageFunction>
+          <gmlcov:rangeType>
+            <swe:DataRecord>
+              <swe:field name="t2m"  xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=t2m&amp;language=eng"/>
+              <swe:field name="rh"  xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=rh&amp;language=eng"/>
+              <swe:field name="wd_10min"  xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=wd_10min&amp;language=eng"/>
+              <swe:field name="ws_10min"  xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=ws_10min&amp;language=eng"/>
+              <swe:field name="wg_10min"  xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=wg_10min&amp;language=eng"/>
+              <swe:field name="p_sea"  xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=p_sea&amp;language=eng"/>
+              </swe:DataRecord>
+          </gmlcov:rangeType>
+        </gmlcov:MultiPointCoverage>
+      </om:result>
+
+    </omso:GridSeriesObservation>
+  </wfs:member>
 </wfs:FeatureCollection>
index 45ad13307f79d805771311d57a89fb27eb223c07..e5cb977423e526e11b388ce69af1ccc5e29b6543 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- https://opendata.fmi.fi/wfs?service=WFS&version=2.0.0&request=getFeature&storedquery_id=fmi::observations::weather::timevaluepair&fmisid=101023&starttime=2019-03-10T10:10:00Z&endtime=2019-03-10T20:10:00Z&timestep=60&parameters=t2m,rh,wd_10min,ws_10min,wg_10min,p_sea -->
-<wfs:FeatureCollection timeStamp="2019-03-22T21:08:05Z" numberMatched="1" numberReturned="1"
-       xmlns:wfs="http://www.opengis.net/wfs/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+<!-- https://opendata.fmi.fi/wfs?service=WFS&version=2.0.0&request=getFeature&storedquery_id=fmi::observations::weather::multipointcoverage&fmisid=101023&starttime=2019-03-10T10:10:00Z&endtime=2019-03-10T20:10:00Z&timestep=60&parameters=t2m,rh,wd_10min,ws_10min,wg_10min,p_sea -->
+<wfs:FeatureCollection
+  timeStamp="2021-05-27T18:16:19Z"
+  numberMatched="1"
+  numberReturned="1"
+  xmlns:wfs="http://www.opengis.net/wfs/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 
-       xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:om="http://www.opengis.net/om/2.0"
-       xmlns:ompr="http://inspire.ec.europa.eu/schemas/ompr/3.0" xmlns:omso="http://inspire.ec.europa.eu/schemas/omso/3.0"
-       xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gmd="http://www.isotc211.org/2005/gmd"
-       xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:swe="http://www.opengis.net/swe/2.0"
-       xmlns:gmlcov="http://www.opengis.net/gmlcov/1.0" xmlns:sam="http://www.opengis.net/sampling/2.0"
-       xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"
-       xmlns:target="http://xml.fmi.fi/namespace/om/atmosphericfeatures/1.0"
-       xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd
+  xmlns:xlink="http://www.w3.org/1999/xlink"
+  xmlns:om="http://www.opengis.net/om/2.0"
+  xmlns:ompr="http://inspire.ec.europa.eu/schemas/ompr/3.0"
+  xmlns:omso="http://inspire.ec.europa.eu/schemas/omso/3.0"
+  xmlns:gml="http://www.opengis.net/gml/3.2"
+  xmlns:gmd="http://www.isotc211.org/2005/gmd"
+  xmlns:gco="http://www.isotc211.org/2005/gco"
+  xmlns:swe="http://www.opengis.net/swe/2.0"
+  xmlns:gmlcov="http://www.opengis.net/gmlcov/1.0"
+  xmlns:sam="http://www.opengis.net/sampling/2.0"
+  xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"
+  xmlns:target="http://xml.fmi.fi/namespace/om/atmosphericfeatures/1.1"
+  xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd
   http://www.opengis.net/gmlcov/1.0 http://schemas.opengis.net/gmlcov/1.0/gmlcovAll.xsd
   http://www.opengis.net/sampling/2.0 http://schemas.opengis.net/sampling/2.0/samplingFeature.xsd
   http://www.opengis.net/samplingSpatial/2.0 http://schemas.opengis.net/samplingSpatial/2.0/spatialSamplingFeature.xsd
   http://www.opengis.net/swe/2.0 http://schemas.opengis.net/sweCommon/2.0/swe.xsd
-  http://inspire.ec.europa.eu/schemas/ompr/3.0 http://inspire.ec.europa.eu/schemas/ompr/3.0/Processes.xsd
-  http://inspire.ec.europa.eu/schemas/omso/3.0 http://inspire.ec.europa.eu/schemas/omso/3.0/SpecialisedObservations.xsd
-  http://xml.fmi.fi/namespace/om/atmosphericfeatures/1.0 http://xml.fmi.fi/schema/om/atmosphericfeatures/1.0/atmosphericfeatures.xsd">
+  http://inspire.ec.europa.eu/schemas/ompr/3.0 https://inspire.ec.europa.eu/schemas/ompr/3.0/Processes.xsd
+  http://inspire.ec.europa.eu/schemas/omso/3.0 https://inspire.ec.europa.eu/schemas/omso/3.0/SpecialisedObservations.xsd
+  http://xml.fmi.fi/namespace/om/atmosphericfeatures/1.1 http://xml.fmi.fi/schema/om/atmosphericfeatures/1.1/atmosphericfeatures.xsd">
 
-       <wfs:member>
-               <omso:GridSeriesObservation
-                       gml:id="WFS-xZ0lqfETUd73TKo3ljaXS8obGT2JTowroWbbpdOt.Lnl5dsPTTv3c3Trvlw9NGXk6dbeuzpp4b9O7pj39svLDnywtLFlz6d1TTty2o_4Uap43jhMbHy51qRaFOO6dNGTVwzsu7JU07ctqP.FGqePJojOzbdPPTk5yf6RRmdry.e._lkqdGvL577.WS_v7ZeXflp6YcWzLEzNmHpl59ImZs348OzLWpm0340ld16ZnDW24fETTz6Yd2PLStXQgNLbh8ReG_Ho5zgxzN7bl6Zd9DDyw7cvTLy51jdGW2sTlorQ75L7Fht07q0O_O.xYbdO6tDvnvsWG3TurK4X.eXC1tunnz07s9TL46VjTsM5tbuu2fmp9MPTTv3c5wmtx64dmnp5k7s2.Jrc.mHpp37qnnhlrQ38Mu7Jh6YW5z6b.WXJx65eXm_pyVuhZtul0634ueXl2w9NO_dzdOu.XD00ZeTp1t67Omnhv07umPf2y8sOfK0Omnblp9MvCfkJodNO3La37stY1WpDAA--">
+  <wfs:member>
+    <omso:GridSeriesObservation gml:id="WFS-mYt.XAvDxqTy3JMKaJNfN12v7iyJTowroWbbpdOt.Lnl5dsPTTv3c3Trvlw9NGXk6dbeuzpp4b9O7pj39svLDnywtLFlz6d1TTty2o_4Uap43jhMbHy51qRaFOO6dNGTVwzsu7JU07ctqP.FGqePJojOzbdPPTk5yf6RRmdry.e._lkqdGvL577.WS_v7ZeXflp6YcWzLEzNmHpl59ImZs348OzLWpm0340ld16ZnDW24fETTz6Yd2PLStXQgNLbh8ReG_Ho5zgxzN7bl6Zd9DDyw7cvTLy51jdGW2sTlorQ75L7Fht07q0O_O.xYbdO6tDvnvsWG3TurK4X.eXC1tunnz07s9TL46VjTsM5tbuu2fmp9MPTTv3c5wmtx64dmnp5k7s2.Jrc.mHpp37qnnhlrQ38Mu7Jh6YW5z6b.WXJx65eXm_pyVuhZtul0634ueXl2w9NO_dzdOu.XD00ZeTp1t67Omnhv07umPf2y8sOfK0Omnblp9MvCfkJodNO3La37stY1WpDAA--">
 
-                       <om:phenomenonTime>
-                               <gml:TimePeriod gml:id="time1-1-1">
-                                       <gml:beginPosition>2019-03-10T10:10:00Z</gml:beginPosition>
-                                       <gml:endPosition>2019-03-10T20:10:00Z</gml:endPosition>
-                               </gml:TimePeriod>
-                       </om:phenomenonTime>
-                       <om:resultTime>
-                               <gml:TimeInstant gml:id="time2-1-1">
-                                       <gml:timePosition>2019-03-10T20:10:00Z</gml:timePosition>
-                               </gml:TimeInstant>
-                       </om:resultTime>
+                 <om:phenomenonTime>
+        <gml:TimePeriod gml:id="time1-1-1">
+          <gml:beginPosition>2019-03-10T10:10:00Z</gml:beginPosition>
+          <gml:endPosition>2019-03-10T20:10:00Z</gml:endPosition>
+        </gml:TimePeriod>
+      </om:phenomenonTime>
+      <om:resultTime>
+        <gml:TimeInstant gml:id="time2-1-1">
+          <gml:timePosition>2019-03-10T20:10:00Z</gml:timePosition>
+        </gml:TimeInstant>
+      </om:resultTime>
 
-                       <om:procedure xlink:href="http://xml.fmi.fi/inspire/process/opendata" />
-                       <om:parameter>
-                               <om:NamedValue>
-                                       <om:name
-                                               xlink:href="http://inspire.ec.europa.eu/codeList/ProcessParameterValue/value/groundObservation/observationIntent" />
-                                       <om:value>
-                                               atmosphere
-                                       </om:value>
-                               </om:NamedValue>
-                       </om:parameter>
+     <om:procedure xlink:href="http://xml.fmi.fi/inspire/process/opendata"/>
+                 <om:parameter>
+                <om:NamedValue>
+                    <om:name xlink:href="https://inspire.ec.europa.eu/codeList/ProcessParameterValue/value/groundObservation/observationIntent"/>
+                    <om:value>
+            atmosphere
+                    </om:value>
+                </om:NamedValue>
+            </om:parameter>
 
-                       <om:observedProperty
-                               xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=t2m,rh,wd_10min,ws_10min,wg_10min,p_sea&amp;language=eng" />
-                       <om:featureOfInterest>
-                               <sams:SF_SpatialSamplingFeature gml:id="sampling-feature-1-1-fmisid">
+     <om:observedProperty  xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=t2m,rh,wd_10min,ws_10min,wg_10min,p_sea&amp;language=eng"/>
+        <om:featureOfInterest>
+        <sams:SF_SpatialSamplingFeature gml:id="sampling-feature-1-1-fmisid">
 
-                                       <sam:sampledFeature>
-                                               <target:LocationCollection gml:id="sampled-target-1-1">
-                                                       <target:member>
-                                                               <target:Location gml:id="obsloc-fmisid-101023-pos">
-                                                                       <gml:identifier codeSpace="http://xml.fmi.fi/namespace/stationcode/fmisid">101023</gml:identifier>
-                                                                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/name">Porvoo Emäsalo</gml:name>
-                                                                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/geoid">-16000110</gml:name>
-                                                                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/wmo">2991</gml:name>
-                                                                       <target:representativePoint xlink:href="#point-101023" />
+          <sam:sampledFeature>
+        <target:LocationCollection gml:id="sampled-target-1-1">
+            <target:member>
+            <target:Location gml:id="obsloc-fmisid-101023-pos">
+                <gml:identifier codeSpace="http://xml.fmi.fi/namespace/stationcode/fmisid">101023</gml:identifier>
+            <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/name">Porvoo Emäsalo</gml:name>
+            <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/geoid">-16000110</gml:name>
+            <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/wmo">2991</gml:name>
+            <target:representativePoint xlink:href="#point-101023"/>
 
 
-                                                                       <target:region codeSpace="http://xml.fmi.fi/namespace/location/region">Porvoo</target:region>
+            <target:region codeSpace="http://xml.fmi.fi/namespace/location/region">Porvoo</target:region>
 
-                                                               </target:Location>
-                                                       </target:member>
-                                               </target:LocationCollection>
-                                       </sam:sampledFeature>
-                                       <sams:shape>
-                                               <gml:MultiPoint gml:id="mp-1-1-fmisid">
-                                                       <gml:pointMember>
-                                                               <gml:Point gml:id="point-101023" srsName="http://www.opengis.net/def/crs/EPSG/0/4258" srsDimension="2">
-                                                                       <gml:name>Porvoo Emäsalo</gml:name>
-                                                                       <gml:pos>60.20382 25.62546 </gml:pos>
-                                                               </gml:Point>
-                                                       </gml:pointMember>
-                                               </gml:MultiPoint>
-                                       </sams:shape>
-                               </sams:SF_SpatialSamplingFeature>
-                       </om:featureOfInterest>
+            </target:Location></target:member>
+        </target:LocationCollection>
+       </sam:sampledFeature>
+          <sams:shape>
+            <gml:MultiPoint gml:id="mp-1-1-fmisid">
+              <gml:pointMember>
+              <gml:Point gml:id="point-101023" srsName="http://www.opengis.net/def/crs/EPSG/0/4258" srsDimension="2">
+                <gml:name>Porvoo Emäsalo</gml:name>
+                <gml:pos>60.20382 25.62546 </gml:pos>
+            </gml:Point>
+        </gml:pointMember>
+        </gml:MultiPoint>
+          </sams:shape>
+        </sams:SF_SpatialSamplingFeature>
+      </om:featureOfInterest>
 
-                       <om:result>
-                               <gmlcov:MultiPointCoverage gml:id="mpcv1-1-1">
-                                       <gml:domainSet>
-                                               <gmlcov:SimpleMultiPoint gml:id="mp1-1-1"
-                                                       srsName="http://xml.fmi.fi/gml/crs/compoundCRS.php?crs=4258&amp;time=unixtime" srsDimension="3">
-                                                       <gmlcov:positions>
-                                                               60.20382 25.62546 1552215600
-                                                               60.20382 25.62546 1552219200
-                                                               60.20382 25.62546 1552222800
-                                                               60.20382 25.62546 1552226400
-                                                               60.20382 25.62546 1552230000
-                                                               60.20382 25.62546 1552233600
-                                                               60.20382 25.62546 1552237200
-                                                               60.20382 25.62546 1552240800
-                                                               60.20382 25.62546 1552244400
-                                                               60.20382 25.62546 1552248000
-                                                       </gmlcov:positions>
-                                               </gmlcov:SimpleMultiPoint>
-                                       </gml:domainSet>
-                                       <gml:rangeSet>
-                                               <gml:DataBlock>
-                                                       <gml:rangeParameters />
-                                                       <gml:doubleOrNilReasonTupleList>
-                                                               -0.4 77.0 312.0 8.0 10.0 985.9
-                                                               0.0 70.0 286.0 7.5 9.0 986.5
-                                                               0.1 61.0 295.0 8.6 10.5 987.0
-                                                               -1.0 64.0 282.0 8.4 10.5 987.6
-                                                               -1.2 65.0 271.0 6.6 8.7 988.1
-                                                               -1.3 61.0 262.0 5.0 6.7 988.2
-                                                               -1.2 65.0 243.0 8.2 9.6 988.1
-                                                               -1.5 69.0 252.0 6.1 7.6 987.9
-                                                               -1.7 71.0 262.0 7.3 8.6 988.0
-                                                               -2.4 77.0 276.0 6.0 7.5 988.2
-                                                       </gml:doubleOrNilReasonTupleList>
-                                               </gml:DataBlock>
-                                       </gml:rangeSet>
-                                       <gml:coverageFunction>
-                                               <gml:CoverageMappingRule>
-                                                       <gml:ruleDefinition>Linear</gml:ruleDefinition>
-                                               </gml:CoverageMappingRule>
-                                       </gml:coverageFunction>
-                                       <gmlcov:rangeType>
-                                               <swe:DataRecord>
-                                                       <swe:field name="t2m"
-                                                               xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=t2m&amp;language=eng" />
-                                                       <swe:field name="rh"
-                                                               xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=rh&amp;language=eng" />
-                                                       <swe:field name="wd_10min"
-                                                               xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=wd_10min&amp;language=eng" />
-                                                       <swe:field name="ws_10min"
-                                                               xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=ws_10min&amp;language=eng" />
-                                                       <swe:field name="wg_10min"
-                                                               xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=wg_10min&amp;language=eng" />
-                                                       <swe:field name="p_sea"
-                                                               xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=p_sea&amp;language=eng" />
-                                               </swe:DataRecord>
-                                       </gmlcov:rangeType>
-                               </gmlcov:MultiPointCoverage>
-                       </om:result>
+           <om:result>
+        <gmlcov:MultiPointCoverage gml:id="mpcv1-1-1">
+          <gml:domainSet>
+            <gmlcov:SimpleMultiPoint gml:id="mp1-1-1" srsName="http://xml.fmi.fi/gml/crs/compoundCRS.php?crs=4258&amp;time=unixtime" srsDimension="3">
+              <gmlcov:positions>
+                60.20382 25.62546  1552215600
+                60.20382 25.62546  1552219200
+                60.20382 25.62546  1552222800
+                60.20382 25.62546  1552226400
+                60.20382 25.62546  1552230000
+                60.20382 25.62546  1552233600
+                60.20382 25.62546  1552237200
+                60.20382 25.62546  1552240800
+                60.20382 25.62546  1552244400
+                60.20382 25.62546  1552248000
+                </gmlcov:positions>
+            </gmlcov:SimpleMultiPoint>
+          </gml:domainSet>
+          <gml:rangeSet>
+            <gml:DataBlock>
+              <gml:rangeParameters/>
+              <gml:doubleOrNilReasonTupleList>
+                -0.4 77.0 312.0 8.0 10.0 985.9
+                0.0 70.0 286.0 7.5 9.0 986.5
+                0.1 61.0 295.0 8.6 10.5 987.0
+                -1.0 64.0 282.0 8.4 10.5 987.6
+                -1.2 65.0 271.0 6.6 8.7 988.1
+                -1.3 61.0 262.0 5.0 6.7 988.2
+                -1.2 65.0 243.0 8.2 9.6 988.1
+                -1.5 69.0 252.0 6.1 7.6 987.9
+                -1.7 71.0 262.0 7.3 8.6 988.0
+                -2.4 77.0 276.0 6.0 7.5 988.2
+                </gml:doubleOrNilReasonTupleList>
+            </gml:DataBlock>
+          </gml:rangeSet>
+          <gml:coverageFunction>
+            <gml:CoverageMappingRule>
+              <gml:ruleDefinition>Linear</gml:ruleDefinition>
+            </gml:CoverageMappingRule>
+          </gml:coverageFunction>
+          <gmlcov:rangeType>
+            <swe:DataRecord>
+              <swe:field name="t2m"  xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=t2m&amp;language=eng"/>
+              <swe:field name="rh"  xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=rh&amp;language=eng"/>
+              <swe:field name="wd_10min"  xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=wd_10min&amp;language=eng"/>
+              <swe:field name="ws_10min"  xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=ws_10min&amp;language=eng"/>
+              <swe:field name="wg_10min"  xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=wg_10min&amp;language=eng"/>
+              <swe:field name="p_sea"  xlink:href="https://opendata.fmi.fi/meta?observableProperty=observation&amp;param=p_sea&amp;language=eng"/>
+              </swe:DataRecord>
+          </gmlcov:rangeType>
+        </gmlcov:MultiPointCoverage>
+      </om:result>
 
-               </omso:GridSeriesObservation>
-       </wfs:member>
+    </omso:GridSeriesObservation>
+  </wfs:member>
 </wfs:FeatureCollection>
index 0168746f09b698a69e53b1b0c01d54b2a48387d3..f73857a69d69333c3053d8bb6f30e1f7bba4ae43 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- http://opendata.fmi.fi/wfs/fin?service=WFS&version=2.0.0&request=GetFeature&storedquery_id=fmi::ef::stations&networkid=121& -->
-<wfs:FeatureCollection timeStamp="2019-03-24T17:18:25Z" numberMatched="186" numberReturned="186"
-       xmlns:wfs="http://www.opengis.net/wfs/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml/3.2"
-       xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:ins_base="http://inspire.ec.europa.eu/schemas/base/3.3"
-       xmlns:ins_base2="http://inspire.ec.europa.eu/schemas/base2/2.0" xmlns:ef="http://inspire.ec.europa.eu/schemas/ef/4.0"
-       xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd
-  http://inspire.ec.europa.eu/schemas/ef/4.0 http://inspire.ec.europa.eu/schemas/ef/4.0/EnvironmentalMonitoringFacilities.xsd">
-
-       <wfs:member>
-               <ef:EnvironmentalMonitoringFacility
-                       gml:id="WFS-vrkQ87m4.0LG38lzogcLEyonCriJTowsWbbpdOsuZ0659MPTTv3c4W9h69NG_lp6eYm_bh07q4tHTpwdL1_jbsXZtuldm0tLFlz6d1TTty2o_4Ubdw47hM7Hsw8.cnJJjEZ2XdkqaduW1H_CjcOHHcJwad3Php5ZZ2Hbl58MOPLXaFo6dODpev8bdi7Nt0rs2lfuw7cvPhhx5V.nJl3dNObTl5L.fTD0079y_Tu58NPLK7uejf3n4ueXl207s8PDww4tOzT08xNLn0w9NO_dJyVmMWDBs4ZtLn038sOfLJySXXG5z6b.WXJx65eXm_pyVxZtul06y5nTrn0w9NO_dzA-">
-                       <gml:identifier codeSpace="http://xml.fmi.fi/namespace/stationcode/fmisid">100683</gml:identifier>
-                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/name">Porvoo Kilpilahti satama</gml:name>
-                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/geoid">-16777356</gml:name>
-                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/wmo">02994</gml:name>
-                       <gml:name codeSpace="http://xml.fmi.fi/namespace/location/region">Porvoo</gml:name>
-                       <gml:name codeSpace="http://xml.fmi.fi/namespace/location/country">Suomi</gml:name>
-                       <ef:inspireId>
-                               <ins_base:Identifier>
-                                       <ins_base:localId>100683</ins_base:localId>
-                                       <ins_base:namespace>http://xml.fmi.fi/namespace/identifier/station/inspire</ins_base:namespace>
-                               </ins_base:Identifier>
-                       </ef:inspireId>
-                       <ef:name>Porvoo Kilpilahti satama</ef:name>
-                       <ef:mediaMonitored xlink:href="" nilReason="missing" />
-                       <ef:representativePoint>
-                               <gml:Point gml:id="point-1" axisLabels="Lat Long" srsName="http://www.opengis.net/def/crs/EPSG/0/4258"
-                                       srsDimension="2">
-                                       <gml:pos>60.303725 25.549164</gml:pos>
-                               </gml:Point>
-                       </ef:representativePoint>
-                       <ef:measurementRegime
-                               xlink:href="http://inspire.ec.europa.eu/codelist/MeasurementRegimeValue/continuousDataCollection" />
-                       <ef:mobile>false</ef:mobile>
-                       <ef:operationalActivityPeriod>
-                               <ef:OperationalActivityPeriod gml:id="oap-1-1">
-                                       <ef:activityTime>
-                                               <gml:TimePeriod gml:id="oap-tp-1-1">
-                                                       <gml:beginPosition>2014-06-19T00:00:00Z</gml:beginPosition>
-                                                       <gml:endPosition indeterminatePosition="now" />
-                                               </gml:TimePeriod>
-                                       </ef:activityTime>
-                               </ef:OperationalActivityPeriod>
-                       </ef:operationalActivityPeriod>
-                       <ef:belongsTo xlink:title="Automaattinen sääasema"
-                               xlink:href="http://opendata.fmi.fi/wfs/fin?request=getFeature&amp;storedquery_id=fmi::ef::networks&amp;networkid=121&amp;" />
-               </ef:EnvironmentalMonitoringFacility>
-       </wfs:member>
-       <wfs:member>
-               <ef:EnvironmentalMonitoringFacility
-                       gml:id="WFS-II3Xuz6KyPwy8qiVxHNgeRWBtLWJTowsWbbpdOsuZ0659MPTTv3c4W9h69NG_lp6eYm_bh07q4tHTpwdL1_jbsXZtuldm0tLFlz6d1TTty2o_4Ubdw47hM7Hsw8.cnJJjEZ2XdkqaduW1H_CjcOHHcJwad3Php5ZZ2Hbl58MOPLXaFo6dODpev8bdi7Nt0rs2lfuw7cvPhhx5V.nJl3dNObTl5L.fTD0079y_Tu58NPLK7uejf3n4ueXl207s8PDww4tOzT08xNLn0w9NO_dJyVmMWDBywcNLn038sOfLJySXXG5z6b.WXJx65eXm_pyVxZtul06y5nTrn0w9NO_dzA-">
-                       <gml:identifier codeSpace="http://xml.fmi.fi/namespace/stationcode/fmisid">100908</gml:identifier>
-                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/name">Parainen Utö</gml:name>
-                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/geoid">-16000054</gml:name>
-                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/wmo">02981</gml:name>
-                       <gml:name codeSpace="http://xml.fmi.fi/namespace/location/region">Parainen</gml:name>
-                       <gml:name codeSpace="http://xml.fmi.fi/namespace/location/country">Suomi</gml:name>
-                       <ef:inspireId>
-                               <ins_base:Identifier>
-                                       <ins_base:localId>100908</ins_base:localId>
-                                       <ins_base:namespace>http://xml.fmi.fi/namespace/identifier/station/inspire</ins_base:namespace>
-                               </ins_base:Identifier>
-                       </ef:inspireId>
-                       <ef:name>Parainen Utö</ef:name>
-                       <ef:mediaMonitored xlink:href="" nilReason="missing" />
-                       <ef:representativePoint>
-                               <gml:Point gml:id="point-2" axisLabels="Lat Long" srsName="http://www.opengis.net/def/crs/EPSG/0/4258"
-                                       srsDimension="2">
-                                       <gml:pos>59.779094 21.374788</gml:pos>
-                               </gml:Point>
-                       </ef:representativePoint>
-                       <ef:measurementRegime
-                               xlink:href="http://inspire.ec.europa.eu/codelist/MeasurementRegimeValue/continuousDataCollection" />
-                       <ef:mobile>false</ef:mobile>
-                       <ef:operationalActivityPeriod>
-                               <ef:OperationalActivityPeriod gml:id="oap-2-1">
-                                       <ef:activityTime>
-                                               <gml:TimePeriod gml:id="oap-tp-2-1">
-                                                       <gml:beginPosition>1881-02-01T00:00:00Z</gml:beginPosition>
-                                                       <gml:endPosition indeterminatePosition="now" />
-                                               </gml:TimePeriod>
-                                       </ef:activityTime>
-                               </ef:OperationalActivityPeriod>
-                       </ef:operationalActivityPeriod>
-                       <ef:belongsTo xlink:title="Automaattinen sääasema"
-                               xlink:href="http://opendata.fmi.fi/wfs/fin?request=getFeature&amp;storedquery_id=fmi::ef::networks&amp;networkid=121&amp;" />
-                       <ef:belongsTo xlink:title="Sadeasema"
-                               xlink:href="http://opendata.fmi.fi/wfs/fin?request=getFeature&amp;storedquery_id=fmi::ef::networks&amp;networkid=124&amp;" />
-                       <ef:belongsTo xlink:title="Auringonsäteilyasema"
-                               xlink:href="http://opendata.fmi.fi/wfs/fin?request=getFeature&amp;storedquery_id=fmi::ef::networks&amp;networkid=128&amp;" />
-                       <ef:belongsTo xlink:title="Ilmanlaadun tausta-asema"
-                               xlink:href="http://opendata.fmi.fi/wfs/fin?request=getFeature&amp;storedquery_id=fmi::ef::networks&amp;networkid=129&amp;" />
-                       <ef:belongsTo xlink:title="Tutkimusmittausasema"
-                               xlink:href="http://opendata.fmi.fi/wfs/fin?request=getFeature&amp;storedquery_id=fmi::ef::networks&amp;networkid=146&amp;" />
-               </ef:EnvironmentalMonitoringFacility>
-       </wfs:member>
-       <wfs:member>
-               <ef:EnvironmentalMonitoringFacility
-                       gml:id="WFS-gEH2bGdgHgyFDHlZfVTKz_hRejSJTowsWbbpdOsuZ0659MPTTv3c4W9h69NG_lp6eYm_bh07q4tHTpwdL1_jbsXZtuldm0tLFlz6d1TTty2o_4Ubdw47hM7Hsw8.cnJJjEZ2XdkqaduW1H_CjcOHHcJwad3Php5ZZ2Hbl58MOPLXaFo6dODpev8bdi7Nt0rs2lfuw7cvPhhx5V.nJl3dNObTl5L.fTD0079y_Tu58NPLK7uejf3n4ueXl207s8PDww4tOzT08xNLn0w9NO_dJyVmMWDBywctLn038sOfLJySXXG5z6b.WXJx65eXm_pyVxZtul06y5nTrn0w9NO_dzA-">
-                       <gml:identifier codeSpace="http://xml.fmi.fi/namespace/stationcode/fmisid">100909</gml:identifier>
-                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/name">Lemland Nyhamn</gml:name>
-                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/geoid">-16000086</gml:name>
-                       <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/wmo">02980</gml:name>
-                       <gml:name codeSpace="http://xml.fmi.fi/namespace/location/region">Lemland</gml:name>
-                       <gml:name codeSpace="http://xml.fmi.fi/namespace/location/country">Suomi</gml:name>
-                       <ef:inspireId>
-                               <ins_base:Identifier>
-                                       <ins_base:localId>100909</ins_base:localId>
-                                       <ins_base:namespace>http://xml.fmi.fi/namespace/identifier/station/inspire</ins_base:namespace>
-                               </ins_base:Identifier>
-                       </ef:inspireId>
-                       <ef:name>Lemland Nyhamn</ef:name>
-                       <ef:mediaMonitored xlink:href="" nilReason="missing" />
-                       <ef:representativePoint>
-                               <gml:Point gml:id="point-3" axisLabels="Lat Long" srsName="http://www.opengis.net/def/crs/EPSG/0/4258"
-                                       srsDimension="2">
-                                       <gml:pos>59.959108 19.953736</gml:pos>
-                               </gml:Point>
-                       </ef:representativePoint>
-                       <ef:measurementRegime
-                               xlink:href="http://inspire.ec.europa.eu/codelist/MeasurementRegimeValue/continuousDataCollection" />
-                       <ef:mobile>false</ef:mobile>
-                       <ef:operationalActivityPeriod>
-                               <ef:OperationalActivityPeriod gml:id="oap-3-1">
-                                       <ef:activityTime>
-                                               <gml:TimePeriod gml:id="oap-tp-3-1">
-                                                       <gml:beginPosition>1958-10-01T00:00:00Z</gml:beginPosition>
-                                                       <gml:endPosition indeterminatePosition="now" />
-                                               </gml:TimePeriod>
-                                       </ef:activityTime>
-                               </ef:OperationalActivityPeriod>
-                       </ef:operationalActivityPeriod>
-                       <ef:belongsTo xlink:title="Automaattinen sääasema"
-                               xlink:href="http://opendata.fmi.fi/wfs/fin?request=getFeature&amp;storedquery_id=fmi::ef::networks&amp;networkid=121&amp;" />
-               </ef:EnvironmentalMonitoringFacility>
-       </wfs:member>
-
+<wfs:FeatureCollection
+  timeStamp="2021-05-27T17:24:14Z"
+  numberMatched="188"
+  numberReturned="188"
+  xmlns:wfs="http://www.opengis.net/wfs/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xmlns:xlink="http://www.w3.org/1999/xlink"
+  xmlns:gml="http://www.opengis.net/gml/3.2"
+  xmlns:gco="http://www.isotc211.org/2005/gco"
+  xmlns:ins_base="http://inspire.ec.europa.eu/schemas/base/3.3"
+  xmlns:ins_base2="http://inspire.ec.europa.eu/schemas/base2/2.0"
+  xmlns:ef="http://inspire.ec.europa.eu/schemas/ef/4.0"
+  xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd
+  http://inspire.ec.europa.eu/schemas/ef/4.0 https://inspire.ec.europa.eu/schemas/ef/4.0/EnvironmentalMonitoringFacilities.xsd">
+  
+  <wfs:member>
+    <ef:EnvironmentalMonitoringFacility gml:id="WFS-FHVW8R_5m7yna6ixhyyzLHOdk9OJTowsWbbpdOsuZ0659MPTTv3c4W9h69NG_lp6eYm_bh07q4tHTpwdL1_jbsXZtuldm0tLFlz6d1TTty2pf4Urpw47hM7Hsw8.cnJJjEZ2XdkqaduW1L_ClduHHcJwad3Php5ZZ2Hbl58MOPLXaFo6dODpev8bdi7Nt0rs2lfuw7cvPhhx5V.nJl3dNObTl5L.fTD0079y_Tu58NPLK7uejf3n4ueXl207s8PDww4tOzT08xNLn0w9NO_dJyVmMWDBs4ZtLn038sOfLJySXXG5z6b.WXJx65eXm_pyVxZtul06y5nTrn0w9NO_dzA-">
+      <gml:identifier codeSpace="http://xml.fmi.fi/namespace/stationcode/fmisid">100683</gml:identifier>
+      <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/name">Porvoo Kilpilahti satama</gml:name>
+      <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/geoid">-16777356</gml:name>
+      <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/wmo">02994</gml:name>
+      <gml:name codeSpace="http://xml.fmi.fi/namespace/location/region">Porvoo</gml:name>
+      <gml:name codeSpace="http://xml.fmi.fi/namespace/location/country">Suomi</gml:name>
+      <ef:inspireId>
+        <ins_base:Identifier>
+          <ins_base:localId>100683</ins_base:localId>
+          <ins_base:namespace>http://xml.fmi.fi/namespace/identifier/station/inspire</ins_base:namespace>
+        </ins_base:Identifier>
+      </ef:inspireId>
+      <ef:name>Porvoo Kilpilahti satama</ef:name>
+      <ef:mediaMonitored xlink:href="" nilReason="missing"/>
+      <ef:representativePoint>
+        <gml:Point gml:id="point-1" axisLabels="Lat Long" srsName="http://www.opengis.net/def/crs/EPSG/0/4258" srsDimension="2">
+          <gml:pos>60.303725 25.549164</gml:pos>
+        </gml:Point>
+      </ef:representativePoint>
+      <ef:measurementRegime xlink:href="https://inspire.ec.europa.eu/codelist/MeasurementRegimeValue/continuousDataCollection"/>
+      <ef:mobile>false</ef:mobile>
+      <ef:operationalActivityPeriod>
+        <ef:OperationalActivityPeriod gml:id="oap-1-1">
+          <ef:activityTime>
+            <gml:TimePeriod gml:id="oap-tp-1-1">
+              <gml:beginPosition>2014-06-19T00:00:00Z</gml:beginPosition>
+              <gml:endPosition indeterminatePosition="now"/>
+            </gml:TimePeriod>
+          </ef:activityTime>
+        </ef:OperationalActivityPeriod>
+      </ef:operationalActivityPeriod>
+      <ef:belongsTo xlink:title="Automaattinen sääasema" xlink:href="http://opendata.fmi.fi/wfs/fin?request=getFeature&amp;storedquery_id=fmi::ef::networks&amp;networkid=121&amp;"/>
+    </ef:EnvironmentalMonitoringFacility>
+  </wfs:member>
+  <wfs:member>
+    <ef:EnvironmentalMonitoringFacility gml:id="WFS-GsH4dTAZmdic0tX56SNC_T.TlVeJTowsWbbpdOsuZ0659MPTTv3c4W9h69NG_lp6eYm_bh07q4tHTpwdL1_jbsXZtuldm0tLFlz6d1TTty2pf4Urpw47hM7Hsw8.cnJJjEZ2XdkqaduW1L_ClduHHcJwad3Php5ZZ2Hbl58MOPLXaFo6dODpev8bdi7Nt0rs2lfuw7cvPhhx5V.nJl3dNObTl5L.fTD0079y_Tu58NPLK7uejf3n4ueXl207s8PDww4tOzT08xNLn0w9NO_dJyVmMWDBywcNLn038sOfLJySXXG5z6b.WXJx65eXm_pyVxZtul06y5nTrn0w9NO_dzA-">
+      <gml:identifier codeSpace="http://xml.fmi.fi/namespace/stationcode/fmisid">100908</gml:identifier>
+      <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/name">Parainen Utö</gml:name>
+      <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/geoid">-16000054</gml:name>
+      <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/wmo">02981</gml:name>
+      <gml:name codeSpace="http://xml.fmi.fi/namespace/location/region">Parainen</gml:name>
+      <gml:name codeSpace="http://xml.fmi.fi/namespace/location/country">Suomi</gml:name>
+      <ef:inspireId>
+        <ins_base:Identifier>
+          <ins_base:localId>100908</ins_base:localId>
+          <ins_base:namespace>http://xml.fmi.fi/namespace/identifier/station/inspire</ins_base:namespace>
+        </ins_base:Identifier>
+      </ef:inspireId>
+      <ef:name>Parainen Utö</ef:name>
+      <ef:mediaMonitored xlink:href="" nilReason="missing"/>
+      <ef:representativePoint>
+        <gml:Point gml:id="point-2" axisLabels="Lat Long" srsName="http://www.opengis.net/def/crs/EPSG/0/4258" srsDimension="2">
+          <gml:pos>59.779094 21.374788</gml:pos>
+        </gml:Point>
+      </ef:representativePoint>
+      <ef:measurementRegime xlink:href="https://inspire.ec.europa.eu/codelist/MeasurementRegimeValue/continuousDataCollection"/>
+      <ef:mobile>false</ef:mobile>
+      <ef:operationalActivityPeriod>
+        <ef:OperationalActivityPeriod gml:id="oap-2-1">
+          <ef:activityTime>
+            <gml:TimePeriod gml:id="oap-tp-2-1">
+              <gml:beginPosition>1881-02-01T00:00:00Z</gml:beginPosition>
+              <gml:endPosition indeterminatePosition="now"/>
+            </gml:TimePeriod>
+          </ef:activityTime>
+        </ef:OperationalActivityPeriod>
+      </ef:operationalActivityPeriod>
+      <ef:belongsTo xlink:title="Automaattinen sääasema" xlink:href="http://opendata.fmi.fi/wfs/fin?request=getFeature&amp;storedquery_id=fmi::ef::networks&amp;networkid=121&amp;"/>
+      <ef:belongsTo xlink:title="Sadeasema" xlink:href="http://opendata.fmi.fi/wfs/fin?request=getFeature&amp;storedquery_id=fmi::ef::networks&amp;networkid=124&amp;"/>
+      <ef:belongsTo xlink:title="Auringonsäteilyasema" xlink:href="http://opendata.fmi.fi/wfs/fin?request=getFeature&amp;storedquery_id=fmi::ef::networks&amp;networkid=128&amp;"/>
+      <ef:belongsTo xlink:title="Ilmanlaadun tausta-asema" xlink:href="http://opendata.fmi.fi/wfs/fin?request=getFeature&amp;storedquery_id=fmi::ef::networks&amp;networkid=129&amp;"/>
+      <ef:belongsTo xlink:title="Radioaktiivisuusasema" xlink:href="http://opendata.fmi.fi/wfs/fin?request=getFeature&amp;storedquery_id=fmi::ef::networks&amp;networkid=130&amp;"/>
+      <ef:belongsTo xlink:title="Tutkimusmittausasema" xlink:href="http://opendata.fmi.fi/wfs/fin?request=getFeature&amp;storedquery_id=fmi::ef::networks&amp;networkid=146&amp;"/>
+    </ef:EnvironmentalMonitoringFacility>
+  </wfs:member>
+  <wfs:member>
+    <ef:EnvironmentalMonitoringFacility gml:id="WFS-KJPD4B1aSo5AhW0E9AYLLhaWirWJTowsWbbpdOsuZ0659MPTTv3c4W9h69NG_lp6eYm_bh07q4tHTpwdL1_jbsXZtuldm0tLFlz6d1TTty2pf4Urpw47hM7Hsw8.cnJJjEZ2XdkqaduW1L_ClduHHcJwad3Php5ZZ2Hbl58MOPLXaFo6dODpev8bdi7Nt0rs2lfuw7cvPhhx5V.nJl3dNObTl5L.fTD0079y_Tu58NPLK7uejf3n4ueXl207s8PDww4tOzT08xNLn0w9NO_dJyVmMWDBywctLn038sOfLJySXXG5z6b.WXJx65eXm_pyVxZtul06y5nTrn0w9NO_dzA-">
+      <gml:identifier codeSpace="http://xml.fmi.fi/namespace/stationcode/fmisid">100909</gml:identifier>
+      <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/name">Lemland Nyhamn</gml:name>
+      <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/geoid">-16000086</gml:name>
+      <gml:name codeSpace="http://xml.fmi.fi/namespace/locationcode/wmo">02980</gml:name>
+      <gml:name codeSpace="http://xml.fmi.fi/namespace/location/region">Lemland</gml:name>
+      <gml:name codeSpace="http://xml.fmi.fi/namespace/location/country">Suomi</gml:name>
+      <ef:inspireId>
+        <ins_base:Identifier>
+          <ins_base:localId>100909</ins_base:localId>
+          <ins_base:namespace>http://xml.fmi.fi/namespace/identifier/station/inspire</ins_base:namespace>
+        </ins_base:Identifier>
+      </ef:inspireId>
+      <ef:name>Lemland Nyhamn</ef:name>
+      <ef:mediaMonitored xlink:href="" nilReason="missing"/>
+      <ef:representativePoint>
+        <gml:Point gml:id="point-3" axisLabels="Lat Long" srsName="http://www.opengis.net/def/crs/EPSG/0/4258" srsDimension="2">
+          <gml:pos>59.959194 19.953667</gml:pos>
+        </gml:Point>
+      </ef:representativePoint>
+      <ef:measurementRegime xlink:href="https://inspire.ec.europa.eu/codelist/MeasurementRegimeValue/continuousDataCollection"/>
+      <ef:mobile>false</ef:mobile>
+      <ef:operationalActivityPeriod>
+        <ef:OperationalActivityPeriod gml:id="oap-3-1">
+          <ef:activityTime>
+            <gml:TimePeriod gml:id="oap-tp-3-1">
+              <gml:beginPosition>1958-09-16T00:00:00Z</gml:beginPosition>
+              <gml:endPosition indeterminatePosition="now"/>
+            </gml:TimePeriod>
+          </ef:activityTime>
+        </ef:OperationalActivityPeriod>
+      </ef:operationalActivityPeriod>
+      <ef:belongsTo xlink:title="Automaattinen sääasema" xlink:href="http://opendata.fmi.fi/wfs/fin?request=getFeature&amp;storedquery_id=fmi::ef::networks&amp;networkid=121&amp;"/>
+    </ef:EnvironmentalMonitoringFacility>
+  </wfs:member>
+  <!-- SNIP -->
 </wfs:FeatureCollection>
+