[FrontPage] [TitleIndex] [WordIndex

Observation store configuration (workspace/datasources/observation)

First ideas on the configuration concept for all types of datasources and datastores are described in the deegree3/DatastoreConfigurationConcepts.

1. Basics

2. Schema location

The schemas for defining deegree 3 observation store data sources may be found at http://schemas.deegree.org/datasource/observation/. Each kind of observation store has its own schema definition. It is mandatory to refer to a specific version of the schemas, as the schema may change over time.

3. Configuration details

3.1. Continuous observation store

Current Version ContSQL: 3.0.0 (valid since 2010-11-15)

3.1.1. ContSQL example

<?xml version="1.0" encoding="UTF-8"?>
<ContinuousObservationStore
  configVersion="3.0.0"
  xmlns="http://www.deegree.org/datasource/observation/contsql"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.deegree.org/datasource/observation/contsql http://schemas.deegree.org/datasource/observation/contsql/3.0.0/contsql.xsd">

  <!-- [1] Identifier of the JDBC connection -->
  <JDBCConnId>postgres</JDBCConnId>

  <!-- [1] Name of table with observations -->
  <Table>earthquake_data_istambul</Table>

  <!-- [1] Time Interval at which observations are recorded -->
  <TimeInterval uom="seconds">0.5</TimeInterval>

  <!-- [0..n] Column definitions -->

  <!-- [0..n] Option definitions -->

  <!-- [1..n] Property definitions -->
  <Property href="urn:ogc:def:phenomenon:OGC:earthquake_magnitude">
    <Column name="magnitude" type="property"></Column>
    <Option name="uom" value="richter"></Option>
  </Property>
</ContinuousObservationStore>

3.2. Simple observation store

Current Version SimpleSQL: 3.0.0 (valid since 2010-11-15)

3.2.1. SimpleSQL example

<?xml version="1.0" encoding="UTF-8"?>
<SimpleObservationStore
  configVersion="3.0.0"
  xmlns="http://www.deegree.org/datasource/observation/simplesql"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.deegree.org/datasource/observation/simplesql http://schemas.deegree.org/datasource/observation/simplesql/3.0.0/simplesql.xsd">

  <!-- [1] Identifier of the JDBC connection -->
  <JDBCConnId>derby</JDBCConnId>

  <!-- [1] Name of table with observations -->
  <Table>weather_data_bonn</Table>

  <!-- [0..n] Column definitions -->

  <!-- [0..n] Option definitions -->

  <!-- [1..n] Property definitions -->
  <Property href="urn:ogc:def:phenomenon:OGC:temperature_average">
    <Column name="temp_avg" type="property"></Column>
    <Option name="uom" value="celsius"></Option>
  </Property>
</SimpleObservationStore>

4. Further workspace configuration

For other parts of the workspace configuration please consult the following pages:


CategoryDeegree3 CategoryWorkspaceConfiguration


2018-04-20 12:05