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
www.snowflakesoftware.com
Developing multi-functional “sensor” web service platform for
citizen sensing
Richard Rombouts
Snowflake Software Ltd.
United Kingdom
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
www.snowflakesoftware.com
Objectives• Develop citizens’ observatories
• Empower citizens to contribute and participate in environmental governance
• Support and influence decision making progress
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
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
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
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
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
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
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
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?
www.snowflakesoftware.com
ExperiencesObservations and Measurements:
INSPIRE PointTimeSeriesObservation
SensorML
Create definitions within CITI-SENSE
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
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
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!!
www.snowflakesoftware.com
Richard [email protected]
@RichRombouts ; @Sflakesoftware
Learn more? Talk to us