<localRepository> [YourPathTo]\.m2\repository </localRepository>
<profile>
<id>52n-start</id>
<repositories>
<repository>
<id>n52-releases</id>
<name>52n Releases</name>
<url>http://52north.org/maven/repo/releases</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>geotools</id>
<name>Geotools repository</name>
<url>http://maven.geotools.fr/repository</url>
</repository>
<repository>
<id>Refractions</id>
<name>Refractions repository</name>
<url>http://lists.refractions.net/m2</url>
</repository>
<repository>
<id>Apache</id>
<name>Apache repository</name>
<url>http://repo1.maven.org/maven2</url>
</repository>
</repositories>
</profile>
<activeProfiles>
<activeProfile>52n-start</activeProfile>
</activeProfiles>
property.name = valueIn Table 1 all changeable properties from the build.properties are listed. You find the different properties listed in Table 1. At the beginning of the table, you find properties you have to change (MANDATORY) or you can change (OPTIONAL). After this section the properties for advanced users are described.
| Property | Description |
|---|---|
| The following properties must (MANDATORY), can (OPTIONAL) be changed. | |
conf.sos.name | In the profiles section. Profile with id with-deploy. The name of the web application (which is 52nSOSv3 by default). If you preferanother name you can change the name. (OPTIONAL) |
deploy.target.host | DNS name or IP of the target host (OPTIONAL if necessary) |
deploy.target.port | Port of the target host (OPTIONAL if necessary) |
deploy.tomcat.manager.url | URL pointing to Tomcat Manager (NO CHANGES) |
deploy.tomcat.manager.username | Tomcat Manager username (MANDATORY) |
deploy.tomcat.manager.password | Tomcat Manager password (MANDATORY) |
deploy.tomcat.home | installation directory of the tomcat servlet engine (MANDATORY) |
conf.sos.ds.connectionstring | The connection string to your database. (e.g. jdbc:postgresql://localhost:5432/SosDB for PostgreSQL)(MANDATORY) |
conf.sos.ds.user | The user name for your access to the database server (MANDATORY). |
conf.sos.ds.password | The password for your access to the database server (MANDATORY). |
| The following properties are for advanced users | |
conf.sos.capabilitiesCacheControler | Class of capabilities cache controller (ADVANCED) |
conf.sos.capabilitiesCacheUpdateIntervall | Capabilities Cache Update Interval in minutes (0 = no automatic update) (ADVANCED) |
conf.sos.ds.daofactory | In the profiles section. Profile with id with-deploy. Class name of the data access object factory, including the package name (e.g. org.n52.sos.ds.pgsql.PGSQLDAOFactory).The SOS realizes the data access object pattern and therefore uses a factory for the data access objects. Change this only if you are an advanced user and you are using another data source! (ADVANCED) |
conf.sos.ds.driver | The database jdbc driver (e.g. for PostgreSQL org.postgresql.Driver) Change this if you use another database system.(ADVANCED) |
conf.sos.ds.initcon | Initial number of connections of the connection pool the SOS uses. It is not recommended to change this.(OPTIONAL) |
conf.sos.ds.maxcon | Maximal number of connections of the connection pool the SOS uses. It is not recommended to change this.(OPTIONAL) |
conf.sos.listeners | Comma separated list of the request listeners which are implemented (without white space!). Change this only if you have implemented further request listeners to support further operations. Following listeners are implemented GetCapabilitiesListener GetObservationListener GetObservationByIdListener DescribeSensorListener DescribeFeatureTypeListener DescribeObservationTypeListener GetResultListener GetFeatureOfInterestListener GetFeatureOfInterestTimeListener InsertObservationListener RegisterSensorListener (ADVANCED) |
conf.sos.skeletonfile | Absolute path and name of the skeleton file for the capabilities document. Change this only, if you want to store the file in another directory. (ADVANCED) |
conf.sos.skeletonfilemobile | Absolute path and name of the mobile skeleton file for the capabilities document. Change this only, if you want to store the file in another directory. (ADVANCED) |
conf.sos.sensordir | The directory where the SensorML documents for each sensor (procedure) are stored. Change this only, if you want to store them in another directory. (ADVANCED) |
conf.sos.omEncoder | Implementation of IOMEncoder used to encode observations (has to be reimplemented, if new observation types should be supported) (ADVANCED) |
conf.sos.gmlEncoder | GMLEncoder implementation (implementation of IGMLEncoder) (ADVANCED) |
conf.sos.postRequestDecoder | HttpPostRequestDecoder implementation (implementation of IhttpPostRequestDecoder) (ADVANCED) |
conf.sos.getRequestDecoder | HttpGetRequestDecoder implementation (implementation of IhttpGetRequestDecoder) (ADVANCED) |
conf.sos.getResponseEncoder | ResponseEncoder implementation (implementation of IResponseEncoder) (ADVANCED) |
conf.sos.sensorMLEncoder | SensorMLEncoder implementation (implementation of ISensorMLEncoder) (ADVANCED) |
conf.sos.loglevel | The level which determines which log messages will be written into the log file. The standard is INFO. Below is a listing which levels are possible. It is not recommended to change the level. SEVERE (highest value) WARNING INFO CONFIG FINE FINER FINEST (lowest value) (OPTIONAL) |
conf.sos.mobileEnabled | Property indicates, whether SOS supports mobile requests ; (default := true) (ADVANCED) |
conf.sos.gmlDateFormat | gml date format: yyyy-MM-dd'T'HH:mm:ssZ (ADVANCED) |
conf.sos.characterEncoding | Character encoding for response documents (ADVANCED) |
conf.sos.srs.prefix | prefix URN for the spatial reference system (ADVANCED) |
conf.sos.supportsQuality | Property indicates, whether SOS supports quality informations in observations or not; (default := false) (ADVANCED) |
conf.sos.switchCoordinatesForEPSG | property keeps a list of all EPSG codes for which the SOS has to switch coordinates from long/lat to lat/long; PostgreSQL users please read the important note in section 4! (ADVANCED) |
conf.sos.foiEncodedInObservation | Property indicates, whether SOS encodes the complete FOI-instance within an Observation instance or just the FOI id; (default := true) (ADVANCED) |
conf.sos.logdir | The directory where the log file will be stored. (ADVANCED) |
conf.sos.result.lease | Time of lease for result template in getResult operation (in minutes) (ADVANCED) |
conf.sos.result.tokenseperator | Token seperator in result element (ADVANCED) |
conf.sos.result.tupleseperator | Tuple seperator in result element (ADVANCED) |
conf.sos.result.decimalSeperator | Decimal separator in result element (ADVANCED) |
conf.sos.result.nodatavalue | No data value for result string containing the values in common observation and getResult response (ADVANCED) |
conf.sos.serviceversion | The version of this SOS. (DO NOT CHANGE!) |
conf.sos.service.url | URL of SOS web application |
dssos.config.file.name | In the profiles section. Profile with id with-deploy. Sets the config file for database connection and tables. (DO NOT CHANGE!) |