developing multi-functional “sensor” web service platform for citizen sensing
DESCRIPTION
This presentation, as presetned at the INSPIRE Conference 2013, summarises the outcomes of the air quality prototype undertaken as part of the CITI-SENSE FP7 R&D project, focusing on the development of a sensor-based Citizens’ Observatory Community for improving quality of life in cities, which focuses on assessing the use of OGC SWE and INSPIRE data specification and web services within applications. For more information please contact [email protected]TRANSCRIPT
![Page 1: Developing multi-functional “sensor” web service platform for citizen sensing](https://reader033.vdocuments.mx/reader033/viewer/2022051817/5479c720b4af9fa2218b4581/html5/thumbnails/1.jpg)
www.snowflakesoftware.com
Developing multi-functional “sensor” web service platform for
citizen sensing
Richard Rombouts
Snowflake Software Ltd.
United Kingdom
![Page 2: Developing multi-functional “sensor” web service platform for citizen sensing](https://reader033.vdocuments.mx/reader033/viewer/2022051817/5479c720b4af9fa2218b4581/html5/thumbnails/2.jpg)
www.snowflakesoftware.com
CITI-SENSE• EU FP7-ENV-2012 project
• 4 years, started October 2012
• 27 project partners from Europe, South Korea and Australia
• Budget > €12mil
www.citi-sense.eu
![Page 3: Developing multi-functional “sensor” web service platform for citizen sensing](https://reader033.vdocuments.mx/reader033/viewer/2022051817/5479c720b4af9fa2218b4581/html5/thumbnails/3.jpg)
www.snowflakesoftware.com
Objectives• Develop citizens’ observatories
• Empower citizens to contribute and participate in environmental governance
• Support and influence decision making progress
![Page 4: Developing multi-functional “sensor” web service platform for citizen sensing](https://reader033.vdocuments.mx/reader033/viewer/2022051817/5479c720b4af9fa2218b4581/html5/thumbnails/4.jpg)
www.snowflakesoftware.com
Concept
Standards for Geospatial Data and Services
Citizens’ Observatories
Participation and Empowerment
Information Products and Services
Data and Services Platform
Sensor Infrastructure
Urban Quality Public Spaces School IndoorQuality
![Page 5: Developing multi-functional “sensor” web service platform for citizen sensing](https://reader033.vdocuments.mx/reader033/viewer/2022051817/5479c720b4af9fa2218b4581/html5/thumbnails/5.jpg)
www.snowflakesoftware.com
No-SQL Database
No-SQL Database
Mobile Sensors & Apps
Triple StoreTriple Store
senMLsenMLRDFRDF
Sensor Application
Platform
Spatial Data Services Platform
Linked Data Platform
![Page 6: Developing multi-functional “sensor” web service platform for citizen sensing](https://reader033.vdocuments.mx/reader033/viewer/2022051817/5479c720b4af9fa2218b4581/html5/thumbnails/6.jpg)
www.snowflakesoftware.com
Prototypes• Three end-to-end prototypes are
developed:1. Air Quality
2. Noise
3. Indoor air at schools
• 9 locations in Europe
![Page 7: Developing multi-functional “sensor” web service platform for citizen sensing](https://reader033.vdocuments.mx/reader033/viewer/2022051817/5479c720b4af9fa2218b4581/html5/thumbnails/7.jpg)
www.snowflakesoftware.com
Air Quality Prototype (6 Mth)
DATA ACCESS PROTOCOLS
PostgreSQL Cloud Database ClusterPostgreSQL Cloud Database Cluster
Model Transformation / Data Fusion / Semantic Annotation
Model Transformation / Data Fusion / Semantic Annotation
SENSOR Data
SENSOR Data
OGC WFS OGC WFS
![Page 8: Developing multi-functional “sensor” web service platform for citizen sensing](https://reader033.vdocuments.mx/reader033/viewer/2022051817/5479c720b4af9fa2218b4581/html5/thumbnails/8.jpg)
www.snowflakesoftware.com
Configuring the Data Services• Publishing from single source to multiple
schemas:– OGC SWE: SensorML, O&M, KML– INSPIRE: EMF, O&M Profiles– W3C: SenML
• Using off-the-shelf software• Rapid configuration/deployment of data
services to meet specific user requirements
![Page 9: Developing multi-functional “sensor” web service platform for citizen sensing](https://reader033.vdocuments.mx/reader033/viewer/2022051817/5479c720b4af9fa2218b4581/html5/thumbnails/9.jpg)
www.snowflakesoftware.com
Deploying Data Services• Once schema transformation configured –
project is deployed within WFS• But first need to configure WFS settings:
– GetCapabilities– Encoding format (compressed/uncompressed)– Servlet pattern
• Finally, generate WFS war and deploy to application server
![Page 10: Developing multi-functional “sensor” web service platform for citizen sensing](https://reader033.vdocuments.mx/reader033/viewer/2022051817/5479c720b4af9fa2218b4581/html5/thumbnails/10.jpg)
www.snowflakesoftware.com
Deploying Data Services
Desktop
Server
Translation configuration
Data Request
Schema Schema translationtranslationSchema Schema
translationtranslation
Data Request
Schema Schema translationtranslationSchema Schema
translationtranslation
Database Records
Database Records
SQL Query
SQL Query
Database table information
![Page 11: Developing multi-functional “sensor” web service platform for citizen sensing](https://reader033.vdocuments.mx/reader033/viewer/2022051817/5479c720b4af9fa2218b4581/html5/thumbnails/11.jpg)
www.snowflakesoftware.com
ExperiencesObservations and Measurements:
How is this described/encoded?
How is this described/encoded?
How do you describe a collection of
observable properties
Where are these defined?
![Page 12: Developing multi-functional “sensor” web service platform for citizen sensing](https://reader033.vdocuments.mx/reader033/viewer/2022051817/5479c720b4af9fa2218b4581/html5/thumbnails/12.jpg)
www.snowflakesoftware.com
ExperiencesObservations and Measurements:
INSPIRE PointTimeSeriesObservation
SensorML
Create definitions within CITI-SENSE
![Page 13: Developing multi-functional “sensor” web service platform for citizen sensing](https://reader033.vdocuments.mx/reader033/viewer/2022051817/5479c720b4af9fa2218b4581/html5/thumbnails/13.jpg)
www.snowflakesoftware.com
ExperiencesEncoding PointTimeSeriesObservation
– O&M describes a collection of observations– Result cannot be dynamically generated– Need to have a really good understanding of request
patterns to configure service:• Get latest observation• Get last 24 hrs• Get last 7 days• Get last month
Issue: O&M does not support request pattern:•Get observations within a user defined time period for a subset of air quality parameters
![Page 14: Developing multi-functional “sensor” web service platform for citizen sensing](https://reader033.vdocuments.mx/reader033/viewer/2022051817/5479c720b4af9fa2218b4581/html5/thumbnails/14.jpg)
www.snowflakesoftware.com
ExperiencesEncoding PointTimeSeriesObservation
– O&M describes a collection of observations– Result cannot be dynamically generated– Need to have a really good understanding of request
patterns to configure service:• Get latest observation• Get last 24 hrs• Get last 7 days• Get last month
Resolution: Encoded the observations as separate features using senML which is a lightweight encoding to serve through WFS
![Page 15: Developing multi-functional “sensor” web service platform for citizen sensing](https://reader033.vdocuments.mx/reader033/viewer/2022051817/5479c720b4af9fa2218b4581/html5/thumbnails/15.jpg)
www.snowflakesoftware.com
Lessons learnt• You need to understand your end-user
requirements before developing your services
• Choose the right set of standards for meeting these requirements
• INSPIRE Data Specifications allowed us to get going within weeks of project start!!
![Page 16: Developing multi-functional “sensor” web service platform for citizen sensing](https://reader033.vdocuments.mx/reader033/viewer/2022051817/5479c720b4af9fa2218b4581/html5/thumbnails/16.jpg)
www.snowflakesoftware.com
Richard [email protected]
@RichRombouts ; @Sflakesoftware
Learn more? Talk to us