52°North SOS for My Data andas a ProxyIncreasing your data’s interoperability with an OGCstandard conform open source Sens...
Contents    How can you publish existing sensor data     with a standard conform OGC Sensor     Observation Service (SOS) ...
SOS Application PatternsStandalone SOS     – Import data via feeding          • Transactional interface (e.g. with SOS Imp...
SOS 3.5 Java Implementation Current stable development version Code: https://svn.52north.org/cgi- bin/viewvc.cgi/main/SOS/...
DAO Advantages Separation of Concerns      – Independent development of components      – Encapsulation (of changes)      ...
DAO ImplementationInterfaces    – 52n-sos-core > org.n52.sos.dsPostgreSQL/PostGIS Implementation    – 52n-sos-dao-postgisC...
DAO Interfaces                           Interfaces to be                           implemented                           ...
DAO ConfigurationSet your factoryimplementation inthe build.properitesfile and add thecombiled class tothe build path (e.g...
DAO Implementation Example: PostGISSOS Data Access Patterns
DAO Implementation: SOAP Service BAW – SOS PegelOnline SOAP Service           http://www.pegelonline.wsv.de/webservice/ueb...
SOAP Service (cont.)                           52n-sos-dao-pegelonlineSOS Data Access Patterns
SOS 4.0 Current development version, uses Hibernate Much more modularized and flexible      – 52n-sos-api      – 52n-sos-h...
SOS 4.0 ImplementationSOS 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.orgSOS...
Upcoming SlideShare
Loading in...5
×

OGC SOS for Your Data

2,551

Published on

How can you publish your own datasets using the Open Geospatial Consortium's Sensor Observation Service Standard? We present straightforward solutions for the 52°North open source SOS implementation for both the stable and current development version.

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,551
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
12
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

OGC SOS for Your Data

  1. 1. 52°North SOS for My Data andas a ProxyIncreasing your data’s interoperability with an OGCstandard conform open source Sensor ObservationServiceSimon Jirka & Daniel Nüst52°North GmbH
  2. 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. 3. SOS Application PatternsStandalone 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 LayerSOS Data Access Patterns
  4. 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. 5. DAO Advantages Separation of Concerns – Independent development of components – Encapsulation (of changes) – Reusability – Single point of change for Object < > Database data exchangeSOS Data Access Patterns
  6. 6. DAO ImplementationInterfaces – 52n-sos-core > org.n52.sos.dsPostgreSQL/PostGIS Implementation – 52n-sos-dao-postgisConfiguration – 52n-sos > build.properties • 52n-sos-service > pom.xml, sos.configCode: https://svn.52north.org/svn/swe/main/SOS/Service/trunk/SOS/52n-sosSOS Data Access Patterns
  7. 7. DAO Interfaces Interfaces to be implemented depend on use case.SOS Data Access Patterns
  8. 8. DAO ConfigurationSet your factoryimplementation inthe build.properitesfile and add thecombiled class tothe build path (e.g.WEB-INFlibdirectory. SOS Data Access Patterns
  9. 9. DAO Implementation Example: PostGISSOS Data Access Patterns
  10. 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.pdfSOS Data Access Patterns
  11. 11. SOAP Service (cont.) 52n-sos-dao-pegelonlineSOS Data Access Patterns
  12. 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. 13. SOS 4.0 ImplementationSOS Data Access Patterns
  14. 14. SOS 4.0 Implementation (cont.)SOS Data Access Patterns
  15. 15. More information: http://52north.org/sensorweb s.jirka@52north.org d.nuest@52north.orgSOS Data Access Patterns
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×