Skip to end of metadata
Go to start of metadata

his part aims to present how to configure the connection to the two database of SOS server. This file has to be named "config.properties" and contains several tags defined below :

Name

Role and usage

templateValidTime

A duration for the validity of observationTemplate (after this time the template wil be destroyed).
it is expressed like this: hour:minutes
default : 1:00

sensorIdBase

Prefix for sensor URNs.
example: urn:ogc:object:sensor:BRGM:

observationIdBase

Prefix for observation URNs.
example: urn:ogc:object:observation:BRGM:

observationTemplateIdBase 

Prefix for observation template URNs.
example: urn:ogc:object:observationTemplate:BRGM:

offeringIdBase 

Prefix for offering URNs.
example: urn:BRGM:offering:

maxObservationByRequest

in order to avoid the user to request too much observation in one request, we put a limit to the number of returned observations in one request.
default: 1000

SMLDBServerName

The host name or IP of the SensorML Database (MDWeb)

SMLDBName

The name of the SensorML database.

SMLDBUser

The User name connecting the SensorML database.

SMLDBServerPort

The port number on which we connect to the SensorML database.

SMLDBUserPassword

The User password connecting the SensorML database.

 OMDBServerName

The host name or IP of the O&M Database.

OMDBName

The name of the O&M database.

OMDBUser

The User name connecting the O&M database.

OMDBServerPort

The port number on which we connect to the O&M database.

 OMDBUserPassword

The User password connecting the O&M database.

Here is an example of the configuration file : config.properties

Linux

Create a .sicade directory in the home directory of the user who runs the tomcat. Create another directory called sos_configuration into it. Copy the file config.properties in it and fill the different fields with your personal connection parameters.

Windows

For example, with a Windows installed on C:/ and a user named Cedr, create the directory C:/Document and Settings/Cedr/Application Data/Sicade/sos_configuration/. Copy the config.properties file in it and fill the different fields with your personal connection parameters.

Labels
  • None