SlideShare a Scribd company logo
52°North SOS for My Data and
as a Proxy


Increasing your data’s interoperability with an OGC
standard conform open source Sensor Observation
Service

Simon Jirka & Daniel Nüst
52°North GmbH
Contents

    How can you publish existing sensor data
     with a standard conform OGC Sensor
     Observation Service (SOS) using the
     52°North SOS open source software?




SOS Data Access Patterns
SOS Application Patterns
Standalone SOS
     – Import data via feeding
          • Transactional interface (e.g. with SOS Importer:
            https://wiki.52north.org/bin/view/SensorWeb/SosImporter)
          • Insertion to database (install clean SOS, complex schema to follow)
     – Sensors support SWE (Sensor Bus, InsertResult,
       SIDs)
SOS as a Proxy
     – Connect to an existing (proprietary) database, web
       service interface, …
     – Existing sensor network (legacy hardware/software)
     – SOS = Interoperability Layer

SOS Data Access Patterns
SOS 3.5
 Java Implementation
 Current stable development version

 Code: https://svn.52north.org/cgi-
 bin/viewvc.cgi/main/SOS/Service/trunk/SOS/52n-
 sos/?root=sensorweb



 DAO Pattern
 • Data Access Objects (J2EE)
 • Database/data source/persistence abstraction layer
   (service interface)
SOS Data Access Patterns
DAO Advantages
 Separation of Concerns
      – Independent development of components
      – Encapsulation (of changes)
      – Reusability
      – Single point of change for Object < >
        Database data exchange




SOS Data Access Patterns
DAO Implementation
Interfaces
    – 52n-sos-core > org.n52.sos.ds
PostgreSQL/PostGIS Implementation
    – 52n-sos-dao-postgis
Configuration
    – 52n-sos > build.properties
        • 52n-sos-service > pom.xml, sos.config

Code: https://svn.52north.org/svn/swe/main/SOS/Service/trunk/SOS/52n-sos




SOS Data Access Patterns
DAO Interfaces

                           Interfaces to be
                           implemented
                           depend on use
                           case.




SOS Data Access Patterns
DAO Configuration




Set your factory
implementation in
the build.properites
file and add the
combiled class to
the build path (e.g.
WEB-INFlib
directory.




 SOS Data Access Patterns
DAO Implementation Example: PostGIS




SOS Data Access Patterns
DAO Implementation: SOAP Service

 BAW – SOS

 PegelOnline SOAP Service
           http://www.pegelonline.wsv.de/webservice/ueberblick


 Code: https://svn.52north.org/svn/swe/main/SOS/Extensions/BAW/
 Documentation (recommended):
 https://svn.52north.org/svn/swe/main/SOS/Extensions/BAW/trunk/P
 egelOnlineSOS/doc/howto/PegelOnline_SOS%20Installation.pdf




SOS Data Access Patterns
SOAP Service (cont.)

                           52n-sos-dao-pegelonline




SOS Data Access Patterns
SOS 4.0
 Current development version, uses
 Hibernate

 Much more modularized and flexible
      – 52n-sos-api
      – 52n-sos-hibernate-{core, enhanced,
        resultHandling, transactional}
      – Based on Service Loader
         http://docs.oracle.com/javase/7/docs/api/java/util/ServiceLoader.html
 Code: https://svn.52north.org/svn/swe/main/SOS/Service/branches/52n-
 sos-400-refactored/

SOS Data Access Patterns
SOS 4.0 Implementation




SOS Data Access Patterns
SOS 4.0 Implementation (cont.)




SOS Data Access Patterns
More information:

            http://52north.org/sensorweb

            s.jirka@52north.org
            d.nuest@52north.org




SOS Data Access Patterns

More Related Content

PPT
Hadoop Security Preview
PPT
1 hadoop security_in_details_hadoop_summit2010
DOCX
Ron.Glenn
PPT
Integrated server
DOCX
sarath very latest
PDF
[2A5]하둡 보안 어떻게 해야 할까
PDF
Modern apps with dcos
PPTX
CUBRID Inside - Architecture, Source & Management Components
Hadoop Security Preview
1 hadoop security_in_details_hadoop_summit2010
Ron.Glenn
Integrated server
sarath very latest
[2A5]하둡 보안 어떻게 해야 할까
Modern apps with dcos
CUBRID Inside - Architecture, Source & Management Components

Similar to OGC SOS for Your Data (16)

PDF
Testing of Sensor Observation Services: A Performance Evaluation
PDF
Improving Operational Space Responsiveness
PPT
SOSCOE Overview
PDF
SOS extension for the GeoServices REST API
PDF
TUW- 184.742 Data as a Service – Concepts, Design & Implementation, and Ecosy...
PDF
TUW-ASE-Summer 2014: Data as a Service – Concepts, Design & Implementation, a...
PDF
OMG DDS: The Data Distribution Service for Real-Time Systems
PDF
OMG DDS Tutorial - Part I
PPTX
Breaking the Relational Headlock: A Survey of NoSQL Datastores
PDF
The Data Distribution Service: The Communication Middleware Fabric for Scala...
PDF
SDEC2011 Going by TACC
PPT
SOAJavaHour 2 for software architecture support
PPT
Easily Serving and Accessing HDF-EOS2 Datasets Using DODS Technologies
PDF
Component Technologies for Fractionated Satellites
PPTX
RTI Technical Road Show SPAWAR SD
PPT
Direct SGA access without SQL
Testing of Sensor Observation Services: A Performance Evaluation
Improving Operational Space Responsiveness
SOSCOE Overview
SOS extension for the GeoServices REST API
TUW- 184.742 Data as a Service – Concepts, Design & Implementation, and Ecosy...
TUW-ASE-Summer 2014: Data as a Service – Concepts, Design & Implementation, a...
OMG DDS: The Data Distribution Service for Real-Time Systems
OMG DDS Tutorial - Part I
Breaking the Relational Headlock: A Survey of NoSQL Datastores
The Data Distribution Service: The Communication Middleware Fabric for Scala...
SDEC2011 Going by TACC
SOAJavaHour 2 for software architecture support
Easily Serving and Accessing HDF-EOS2 Datasets Using DODS Technologies
Component Technologies for Fractionated Satellites
RTI Technical Road Show SPAWAR SD
Direct SGA access without SQL
Ad

More from Daniel Nüst (20)

PPTX
RR & Docker @ MuensteR Meetup (Sep 2017)
PDF
containerit at useR!2017 conference, Brussels
PDF
Docker @ Data Science Meetup
PPTX
Containers for sensor web services, applications and research @ Sensor Web Co...
PPTX
Docker @ FOSS4G 2016, Bonn
PDF
Atlas Zukünfte
PPTX
Frameworks for geoprocessing on the web with R
PPTX
Agile 2015 a-geo-label-for-the-sensor-web
PPTX
Visualising Interpolations of Mobile Sensor Observations
PPTX
WPS Application Patterns
PPTX
JavaScript Client Libraries for the (Former) Long Tail of OGC Standards
PPTX
Open Source and GitHub for Teaching with Software Development Projects
PPTX
5 Star Open Geoprocessing
PPTX
The 52°North Web Processing Service
PPTX
Linked data and rdf
PPTX
sos4R - Accessing SensorWeb Data from R
PPTX
Connecting R to the Sensor Web
PPTX
sos4R @ OGC TC
ODP
sos4R - 52° North Innovation Price Presentation
PPT
Visualizing the Availability of Temporally Structured Sensor Data
RR & Docker @ MuensteR Meetup (Sep 2017)
containerit at useR!2017 conference, Brussels
Docker @ Data Science Meetup
Containers for sensor web services, applications and research @ Sensor Web Co...
Docker @ FOSS4G 2016, Bonn
Atlas Zukünfte
Frameworks for geoprocessing on the web with R
Agile 2015 a-geo-label-for-the-sensor-web
Visualising Interpolations of Mobile Sensor Observations
WPS Application Patterns
JavaScript Client Libraries for the (Former) Long Tail of OGC Standards
Open Source and GitHub for Teaching with Software Development Projects
5 Star Open Geoprocessing
The 52°North Web Processing Service
Linked data and rdf
sos4R - Accessing SensorWeb Data from R
Connecting R to the Sensor Web
sos4R @ OGC TC
sos4R - 52° North Innovation Price Presentation
Visualizing the Availability of Temporally Structured Sensor Data
Ad

OGC SOS for Your Data

  • 1. 52°North SOS for My Data and as a Proxy Increasing your data’s interoperability with an OGC standard conform open source Sensor Observation Service Simon Jirka & Daniel Nüst 52°North GmbH
  • 2. Contents How can you publish existing sensor data with a standard conform OGC Sensor Observation Service (SOS) using the 52°North SOS open source software? SOS Data Access Patterns
  • 3. SOS Application Patterns Standalone SOS – Import data via feeding • Transactional interface (e.g. with SOS Importer: https://wiki.52north.org/bin/view/SensorWeb/SosImporter) • Insertion to database (install clean SOS, complex schema to follow) – Sensors support SWE (Sensor Bus, InsertResult, SIDs) SOS as a Proxy – Connect to an existing (proprietary) database, web service interface, … – Existing sensor network (legacy hardware/software) – SOS = Interoperability Layer SOS Data Access Patterns
  • 4. SOS 3.5 Java Implementation Current stable development version Code: https://svn.52north.org/cgi- bin/viewvc.cgi/main/SOS/Service/trunk/SOS/52n- sos/?root=sensorweb DAO Pattern • Data Access Objects (J2EE) • Database/data source/persistence abstraction layer (service interface) SOS Data Access Patterns
  • 5. DAO Advantages Separation of Concerns – Independent development of components – Encapsulation (of changes) – Reusability – Single point of change for Object < > Database data exchange SOS Data Access Patterns
  • 6. DAO Implementation Interfaces – 52n-sos-core > org.n52.sos.ds PostgreSQL/PostGIS Implementation – 52n-sos-dao-postgis Configuration – 52n-sos > build.properties • 52n-sos-service > pom.xml, sos.config Code: https://svn.52north.org/svn/swe/main/SOS/Service/trunk/SOS/52n-sos SOS Data Access Patterns
  • 7. DAO Interfaces Interfaces to be implemented depend on use case. SOS Data Access Patterns
  • 8. DAO Configuration Set your factory implementation in the build.properites file and add the combiled class to the build path (e.g. WEB-INFlib directory. SOS Data Access Patterns
  • 9. DAO Implementation Example: PostGIS SOS Data Access Patterns
  • 10. DAO Implementation: SOAP Service BAW – SOS PegelOnline SOAP Service http://www.pegelonline.wsv.de/webservice/ueberblick Code: https://svn.52north.org/svn/swe/main/SOS/Extensions/BAW/ Documentation (recommended): https://svn.52north.org/svn/swe/main/SOS/Extensions/BAW/trunk/P egelOnlineSOS/doc/howto/PegelOnline_SOS%20Installation.pdf SOS Data Access Patterns
  • 11. SOAP Service (cont.) 52n-sos-dao-pegelonline SOS Data Access Patterns
  • 12. SOS 4.0 Current development version, uses Hibernate Much more modularized and flexible – 52n-sos-api – 52n-sos-hibernate-{core, enhanced, resultHandling, transactional} – Based on Service Loader http://docs.oracle.com/javase/7/docs/api/java/util/ServiceLoader.html Code: https://svn.52north.org/svn/swe/main/SOS/Service/branches/52n- sos-400-refactored/ SOS Data Access Patterns
  • 13. SOS 4.0 Implementation SOS Data Access Patterns
  • 14. SOS 4.0 Implementation (cont.) SOS Data Access Patterns
  • 15. More information: http://52north.org/sensorweb s.jirka@52north.org d.nuest@52north.org SOS Data Access Patterns