Overview

The European Flood Awareness System(EFAS) Sensor Observation Service(SOS) import function (<importType>EfasSos</importType>) imports XML files from the file system as exported from the EFAS SOS system. It is also possible to import directly from the EFAS SOS API. Please see: EFAS SOS Server

The EfasSos import supports observations as defined in http://schemas.opengis.net/sos/2.0/sosGetObservation.xsd.

EFAS SOS Import example .xml

For each imported XML file and observation data a gml:id is required. 


An example XML file of an EFAS SOS Observation response. (N.B. observation = forecast).

<?xml version="1.0" encoding="UTF-8"?>
<sos:GetObservationResponse xmlns:sos="http://www.opengis.net/sos/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:om="http://www.opengis.net/om/2.0" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.opengis.net/sos/2.0 http://schemas.opengis.net/sos/2.0/sosGetObservation.xsd http://inspire.ec.europa.eu/schemas/ef/4.0 http://inspire.ec.europa.eu/schemas/ef/4.0/EnvironmentalMonitoringFacilities.xsd http://www.opengis.net/swes/2.0 http://schemas.opengis.net/swes/2.0/swes.xsd http://www.opengis.net/om/2.0 http://schemas.opengis.net/om/2.0/observation.xsd">
  <sos:observationData>
    <om:OM_Observation gml:id="o_515399711">
      <om:type xlink:href="http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_SWEArrayObservation"/>
      <om:phenomenonTime>
        <gml:TimePeriod gml:id="phenomenonTime_515399711">
          <gml:beginPosition>2022-05-30T06:00:00.000Z</gml:beginPosition>
          <gml:endPosition>2022-06-14T00:00:00.000Z</gml:endPosition>
        </gml:TimePeriod>
      </om:phenomenonTime>
      <om:resultTime>
        <gml:TimeInstant gml:id="ti_2E70612ECBF6D43C8F99A1A508CD3CCBA565BB66">
          <gml:timePosition>2022-05-30T00:00:00.000Z</gml:timePosition>
        </gml:TimeInstant>
      </om:resultTime>
      <om:procedure xlink:href="eud_lisflood" xlink:title="eud_lisflood"/>
      <om:observedProperty xlink:href="averageDischargeOverPreceding6Hours" xlink:title="averageDischargeOverPreceding6Hours"/>
      <om:featureOfInterest xlink:href="ID_1" xlink:title="Schwabelweis"/>
      <om:result xmlns:ns="http://www.opengis.net/swe/2.0" xsi:type="ns:DataArrayPropertyType">
        <ns:DataArray definition="averageDischargeOverPreceding6Hours">
          <ns:elementCount>
            <ns:Count>
              <ns:value>1</ns:value>
            </ns:Count>
          </ns:elementCount>
          <ns:elementType name="Components">
            <ns:DataRecord>
              <ns:field name="phenomenonTime">
                <ns:Time definition="http://www.opengis.net/def/property/OGC/0/PhenomenonTime">
                  <ns:uom xlink:href="http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"/>
                </ns:Time>
              </ns:field>
              <ns:field name="averageDischargeOverPreceding6Hours">
                <ns:Quantity definition="averageDischargeOverPreceding6Hours">
                  <ns:uom code="m3/s"/>
                </ns:Quantity>
              </ns:field>
            </ns:DataRecord>
          </ns:elementType>
          <ns:encoding>
            <ns:TextEncoding blockSeparator="@" collapseWhiteSpaces="true" decimalSeparator="." tokenSeparator="#"/>
          </ns:encoding>
          <ns:values>2022-05-30T06:00:00+00:00#368.644165039062#2022-05-30T12:00:00+00:00#367.124938964844#2022-05-30T18:00:00+00:00#365.834625244141#2022-05-31T00:00:00+00:00#363.899291992188#2022-05-31T06:00:00+00:00#361.335632324219#2022-05-31T12:00:00+00:00#358.533599853516#2022-05-31T18:00:00+00:00#355.553924560547#2022-06-01T00:00:00+00:00#351.912475585938#2022-06-01T06:00:00+00:00#347.545288085938#2022-06-01T12:00:00+00:00#343.2529296875#2022-06-01T18:00:00+00:00#339.928894042969#2022-06-02T00:00:00+00:00#337.707550048828#2022-06-02T06:00:00+00:00#336.930053710938#2022-06-02T12:00:00+00:00#338.055755615234#2022-06-02T18:00:00+00:00#340.352905273438#2022-06-03T00:00:00+00:00#341.738159179688#2022-06-03T06:00:00+00:00#340.760406494141#2022-06-03T12:00:00+00:00#337.949920654297#2022-06-03T18:00:00+00:00#335.5771484375#2022-06-04T00:00:00+00:00#336.106292724609#2022-06-04T06:00:00+00:00#340.352783203125#2022-06-04T12:00:00+00:00#346.659393310547#2022-06-04T18:00:00+00:00#353.463439941406#2022-06-05T00:00:00+00:00#359.995452880859#2022-06-05T06:00:00+00:00#365.241546630859#2022-06-05T12:00:00+00:00#368.38330078125#2022-06-05T18:00:00+00:00#369.355285644531#2022-06-06T00:00:00+00:00#368.115020751953#2022-06-06T06:00:00+00:00#364.484588623047#2022-06-06T12:00:00+00:00#365.496215820312#2022-06-06T18:00:00+00:00#363.117156982422#2022-06-07T00:00:00+00:00#364.959228515625#2022-06-07T06:00:00+00:00#377.062469482422#2022-06-07T12:00:00+00:00#406.511779785156#2022-06-07T18:00:00+00:00#461.746398925781#2022-06-08T00:00:00+00:00#532.061950683594#2022-06-08T06:00:00+00:00#599.118713378906#2022-06-08T12:00:00+00:00#651.803649902344#2022-06-08T18:00:00+00:00#684.682739257812#2022-06-09T00:00:00+00:00#695.81591796875</ns:values>
        </ns:DataArray>
      </om:result>
    </om:OM_Observation>
  </sos:observationData>
</sos:GetObservationResponse>


  • No labels