INFOS
EasySos is a quite easy-to-use and expand implementation of the OGC Sensor Observation Service (SOS), O&M and SensorML specifications (a subset of the SWE framework). It gets to be useful for sharing observations (e.g. Open Data portals) in a standard way.
EasySos is based on the 52North database for PostgreSQL and PostGIS. I added CRUD operations by PHP YII Framework for the Administrator create, read, update and delete operations. The SOS service is based on a REST service written using the PHP Xml Writer library.
**DOCUMENTATION**
-
Create the database using the file named "database.sql" using the postgis template - tested on PostgreSQL 8.3/9.0 and PostGIS 1.5 (it will not work on PostGis 2.0)
-
The best way to proceed is using the sample data provided. This stage is useful to understand easily how the system works (you can skip this stage, anyway). So, fill the database using the file "pop_izsve"
-
Put all the folders inside the Apache http server "htdocs" folder - tested on Apache 2.2
-
Download YII framework, decompress the archive, rename the folder in "yii-1.1.13" and put it in the "htdocs" folder
-
Open the file protected->config->main.php, find the line 'db' and insert db name, username and password to access the database
-
Open the file service->db.php and insert db name, username and password to access the database
-
Point your web browser to http://localhost/index.php
-
Create, read, update and delete data is quite easy, you needn't more training. To log in use: admin admin (you will change your password later)
-
Click on GetCapabilities, DescribeSensor or GetObservation links to display the server response metadata (just the GetObservation operation is available for now)
-
If you need, you can modify the XML metadata inside service->get.php. It's just a "startElement", "writeAttribute", "endElement" matter. Refer at the PHP Xml Writer documentation
-
You will need to create a proper client side editing the file protected->views->site->index.php
-
Get involved in developing EasySos