Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
<filter id="AllQualifiersFilter">
   <timeSeries>
      <moduleInstanceId>ExportRunMultipleTimeSeries</moduleInstanceId>
   </timeSeries>
   <relativeViewPeriod unit="day" start="-7" end="0"/>
   <locationConstraints>
      <idContains contains="12965"/>
   </locationConstraints>
   <parameterConstraints>
      <idContains contains="H.m"/>
   </parameterConstraints>
</filter>

Annotation location set id

Since 2021.01 it is possible to export annotations via the generalCsv type.

It will export all annotations that exist for the configured <annotationLocationSetId>annotationLocationSet</annotationLocationSetId>

The value colum will be used for the text of the annotation itself.

Code Block
languagexml
titleExample annotations export
<timeSeriesExportRun xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/timeSeriesExportRun.xsd">
   <export>
      <general>
         <exportTypeStandard>generalCsv</exportTypeStandard>
         <folder>export</folder>
         <exportFileName>
            <name>ExportGeneralCsvAnnotations.csv</name>
         </exportFileName>
         <table>
            <dateTimeColumn name="DATE" pattern="dd-MM-yy HH:mm"/>
            <startDateTimeColumn name="START" pattern="dd-MM-yy HH:mm"/>
            <endDateTimeColumn name="END" pattern="dd-MM-yy HH:mm"/>
            <locationColumn name="locatie"/>
            <propertyColumn name="firstProperty" key="firstProperty"/>
            <propertyColumn name="secondProperty" key="secondProperty"/>
            <valueColumn name="annotatie"/>
         </table>
      </general>
      <annotationLocationSetId>annotationLocationSet</annotationLocationSetId>
   </export>
</timeSeriesExportRun>