Personal tools
You are here: Home Oceans IE Topics of Interest SWE Common SWE Common Point Example
Log in


Forgot your password?
New user?
 

SWE Common Point Example

swec-point.xml — Extensible Markup Language (XML), 3Kb

File contents

<?xml version="1.0" encoding="UTF-8"?>

<!-- 
Created Luis Bermudez bermudez@sura.org 20081121

This example factors fields that are repeated in a point time series observation
The definition attribute defines the type of DataRecord. This concept lives in an ontology.
Applications reading this file will now how to plot and interpret the data.
-->

<swe:DataRecord xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:om="http://www.opengis.net/om/1.0" xmlns:gml="http://www.opengis.net/gml"
   xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:swe="http://www.opengis.net/swe/1.0.1" xmlns:oost="http://www.oostethys.org/schemas/0.1.0/oostethys"
   xsi:schemaLocation="http://www.opengis.net/om/1.0  http://schemas.opengis.net/om/1.0.0/om.xsd     
   http://www.opengis.net/swe/1.0.1 http://schemas.opengis.net/sweCommon/1.0.1/swe.xsd" definition="http://mmisw.org/ont/mmi/obs.owl/pointDataRecord">
   <swe:field name="Latitude">
      <swe:Quantity definition="urn:ogc:phenomenon:latitude:wgs84">
         <swe:uom code="deg"/>
         <swe:value>36.69623</swe:value>
      </swe:Quantity>
   </swe:field>
   <swe:field name="Longitude">
      <swe:Quantity definition="urn:ogc:phenomenon:longitude:wgs84">
         <swe:uom code="deg"/>
         <swe:value>-122.39965</swe:value>
      </swe:Quantity>
   </swe:field>
   <swe:field name="Depth">
      <!--EPSG 5113 stands for sea level -->
      <swe:Quantity definition="http://mmisw.org/ont/cf/parameter/depth" referenceFrame="urn:ogc:def:crs:EPSG:6.15:5113">
         <swe:uom code="m"/>
         <swe:value>0</swe:value>
      </swe:Quantity>
   </swe:field>
   <swe:field name="values">
      <swe:DataArray>
         <swe:elementCount>
            <swe:Count>
               <swe:value>2</swe:value>
            </swe:Count>
         </swe:elementCount>
         <swe:elementType name="SimpleDataArray" xlink:href="http://mmisw.org/ont/mmi/obs.owl/timeSeriesDataRecord">
            <swe:DataRecord definition="http://mmiws.org/ont/x/timeSeries">
               <swe:field name="Time">
                  <swe:Time definition="urn:ogc:phenomenon:time:iso8601"/>
               </swe:field>
               <swe:field name="Temperature">
                  <swe:Quantity definition="http://mmisw.org/ont/cf/parameter/Temperature">
                     <swe:uom code="C"/>
                  </swe:Quantity>
               </swe:field>
               <swe:field name="Conductivity">
                  <swe:Quantity definition="http://mmisw.org/ont/cf/parameter/Conductivity">
                     <swe:uom code="S/m"/>
                  </swe:Quantity>
               </swe:field>
               <swe:field name="Pressure">
                  <swe:Quantity definition="http://mmisw.org/ont/cf/parameter/Pressure">
                     <swe:uom code="dbar"/>
                  </swe:Quantity>
               </swe:field>
               <swe:field name="Salinity">
                  <swe:Quantity definition="http://mmisw.org/ont/cf/parameter/sea_water_salinity"/>
               </swe:field>
            </swe:DataRecord>
         </swe:elementType>
         <swe:encoding>
            <swe:TextBlock tokenSeparator="," blockSeparator=" " decimalSeparator="."/>
         </swe:encoding>
         <swe:values>2008-10-27T16:00:00Z,13.2303,3.94666,9.921,33.369858 2008-10-27T17:00:00Z,13.3303,3.95666,9.821,33.369868</swe:values>
      </swe:DataArray>
   </swe:field>
   
</swe:DataRecord>
Document Actions