Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
®
OGC
Citizen Observatories:
A Standards Based Architecture
Dr. Ingo Simonis
Director, Interoperability Programs & Science...
OGC
®
Considerations
© 2015 Open Geospatial Consortium 2
Cost efficient
OGC
®
Considerations
3
Research
efficient
OGC
®
4
State of the Art
OGC
®
© 2015 Open Geospatial Consortium 5
OGC
®
© 2015 Open Geospatial Consortium 6
OGC
®
© 2015 Open Geospatial Consortium 7
OGC
®
© 2015 Open Geospatial Consortium 8
Geonovum HeronViewer showing components with time series values
OGC
®
© 2015 Open Geospatial Consortium 9
52North JS-SensorWeb-Client
OGC
®
© 2015 Open Geospatial Consortium 10
app made with SOS-JS by British Antarctic Survey (Map)
OGC
®
© 2015 Open Geospatial Consortium 11
app made with SOS-JS by British Antarctic Survey (Map)
OGC
®
© 2015 Open Geospatial Consortium 12
OGC
®
© 2015 Open Geospatial Consortium 13
OGC
®
14
State of the Art
OGC
®
© 2015 Open Geospatial Consortium 15
citizen
scientist
consumer
COBWEB
OGC
®
© 2015 Open Geospatial Consortium 16
citizen
scientist
consumer
COBWEB
OGC
®
© 2015 Open Geospatial Consortium 17
Hypermedia
HTTP
URI
OGC
®
© 2015 Open Geospatial Consortium 18
citizen COBWEB
OGC
®
© 2015 Open Geospatial Consortium 19
COBWEBcitizen
Hypermedia
HTTP
URI
OGC
®
© 2015 Open Geospatial Consortium 20
citizen COBWEB
POX
over
HTTP
OGC
®
© 2015 Open Geospatial Consortium 21
citizen COBWEB
<Observation>
<id>Citizen1</ID>
<val>23.2</val>
</Observation>
OGC
®
© 2015 Open Geospatial Consortium 22
citizen COBWEB
POST /Insert HTTP/1.1
Content-Type: application/xml
Host: ingos-...
OGC
®
© 2015 Open Geospatial Consortium 23
citizen COBWEB
POX tunneling over HTTP
+ Lightweight
+ Easy to implement
+ Univ...
OGC
®
© 2015 Open Geospatial Consortium 24
COBWEBcitizen
Hypermedia
HTTP
URI
OGC
®
© 2015 Open Geospatial Consortium 25
citizen COBWEB
resources
CRUD
services
OGC
®
© 2015 Open Geospatial Consortium 26
citizen COBWEB
Think in resources
Use proper HTTP verbs
POST
GET
PUT
DELETE
/ob...
OGC
®
© 2015 Open Geospatial Consortium 27
citizen COBWEB
POST /obs HTTP/1.1
Host: ingos-server.com
Content-Type: applicat...
OGC
®
© 2015 Open Geospatial Consortium 28
citizen COBWEB
GET /obs/obs237 HTTP/1.1
Host: ingos-server.com
HTTP/1.1 200 OK
...
OGC
®
© 2015 Open Geospatial Consortium 29
citizen COBWEB
PUT /obs/obs237 HTTP/1.1
Host: ingos-server.com
Content-Type: ap...
OGC
®
© 2015 Open Geospatial Consortium 30
citizen COBWEB
DELETE /obs/obs237 HTTP/1.1
Host: ingos-server.com
HTTP/1.1 204 ...
OGC
®
© 2015 Open Geospatial Consortium 31
Hypermedia
HTTP
URI
OGC
®
© 2015 Open Geospatial Consortium 32
citizen
scientist
consumer
COBWEB
OGC
®
© 2015 Open Geospatial Consortium 33
citizen
scientist
consumer
COBWEB
POST
/obs
HTTP1.1
…
HTTP1.1
200 OK
OGC
®
© 2015 Open Geospatial Consortium 34
citizen
scientist
consumer
COBWEB
POST
/obs
HTTP1.1
…
HTTP1.1
200 OK
…
OGC
®
© 2015 Open Geospatial Consortium 35
citizen
scientist
consumer
COBWEB
POST
/obs
HTTP1.1
…
HTTP1.1
200 OK
…
OGC
®
© 2015 Open Geospatial Consortium 36
Hypermedia
HTTP
URI
OGC
®
© 2015 Open Geospatial Consortium 37
citizen
scientist
consumer
COBWEB
POST
/obs
HTTP1.1
…
GET/obs/3
HTTP1.1
…
HTTP1...
OGC
®
© 2015 Open Geospatial Consortium 38
Hypermedia
HTTP
URI
OGC
®
© 2015 Open Geospatial Consortium 39
Hypermedia with
semantic mark up
HTTP
URI
OGC
®
© 2015 Open Geospatial Consortium 40
Hypermedia with
semantic mark up:
Raw observation
<Observation>
<id>Citizen1</I...
OGC
®
© 2015 Open Geospatial Consortium 41
Hypermedia with
semantic mark up: DAP
Raw observation
<Observation>
<id>Citizen...
OGC
®
© 2015 Open Geospatial Consortium 42
DAP: Domain Application
Protocol
Raw observation
<Observation>
<id>Citizen1</ID...
OGC
®
© 2015 Open Geospatial Consortium 43
OGC
®
© 2015 Open Geospatial Consortium 44
Human Web
• embedded links
• href=“http://…”
Cart
Computer-to-
Computer
• annot...
OGC
®
Forms as hypermedia controls
© 2015 Open Geospatial Consortium 45
Value: 25.7
Unit: deg
Celsius
Submit
POST /obs HTT...
OGC
®
POST /obs HTTP/1.1
Host: ingos-server.com
Content-Type:
application/xml
Content-Length: 48
<Observation>
<id>ingo</I...
OGC
®
Media Types and Domain Application
Protocols
© 2015 Open Geospatial Consortium 47
HTTP/1.1 200 OK
Content-Type: appl...
OGC
®
Media Types and Domain Application
Protocols
© 2015 Open Geospatial Consortium 48
HTTP/1.1 200 OK
Content-Type: appl...
OGC
®
© 2015 Open Geospatial Consortium 49
citizen
scientist
consumer
COBWEB
OGC
®
© 2015 Open Geospatial Consortium 50
citizen
scientist
consumer
COBWEB
Syndication
OGC
®
Citizen Science: A Syndication Model
Atom: Feeds (lists) with time-stamped entries
© 2015 Open Geospatial Consortium...
OGC
®
Citizen Science: A Syndication Model
• Atom Publishing Protocol:
– Syndication content: observations to
consumers
– ...
OGC
®
© 2015 Open Geospatial Consortium 53
citizen
scientist
consumer
COBWEB
OGC
®
© 2015 Open Geospatial Consortium 54
citizen
scientist
consumer
COBWEB
OGC
®
© 2015 Open Geospatial Consortium 55
citizen
scientist
consumer
COBWEB
raw QA log
OGC
®
© 2015 Open Geospatial Consortium 56
citizen
scientist
consumer
COBWEB
raw QA log
OGC
®
© 2015 Open Geospatial Consortium 57
citizen
scientist
consumer
COBWEB
raw QA log
OGC
®
© 2015 Open Geospatial Consortium 58
OGC
®
GeoSynchronization Service (GSS)
Replication
Channel
Change
Channel
Resolution
Channel
GSS in Action
Collector
Submi...
OGC
®
© 2015 Open Geospatial Consortium 60
OGC
®
© 2015 Open Geospatial Consortium 61
OGC
®
© 2015 Open Geospatial Consortium 62
Geopackage
creation
Geopackage
usage
GSS
SOS
WFS
SOS
WFS
SOS, WFS,
WCS, WMS
OGC
®
© 2015 Open Geospatial Consortium 63
JaxB, Jersey,
Rome
Observation
profile
Sensor profile
OGC
®
© 2015 Open Geospatial Consortium 64
Ingo Simonis
isimonis@opengeospatial.org
OGC
®
ARCHITECTURE DETAILS
COBWEB Standards Based
© 2015 Open Geospatial Consortium 65
OGC
®
© 2015 Open Geospatial Consortium 66
OGC
®
© 2015 Open Geospatial Consortium 67
OGC
®
© 2015 Open Geospatial Consortium 68
OGC
®
© 2015 Open Geospatial Consortium 69
OGC
®
© 2015 Open Geospatial Consortium 70
Upcoming SlideShare
Loading in …5
×

Citizen Science Architecture: A Standards Based Approach

Software architecture for citizen science projects based on OGC standards

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all
  • Be the first to comment

  • Be the first to like this

Citizen Science Architecture: A Standards Based Approach

  1. 1. ® OGC Citizen Observatories: A Standards Based Architecture Dr. Ingo Simonis Director, Interoperability Programs & Science, OGC May 2015 © 2015 Open Geospatial Consortium
  2. 2. OGC ® Considerations © 2015 Open Geospatial Consortium 2 Cost efficient
  3. 3. OGC ® Considerations 3 Research efficient
  4. 4. OGC ® 4 State of the Art
  5. 5. OGC ® © 2015 Open Geospatial Consortium 5
  6. 6. OGC ® © 2015 Open Geospatial Consortium 6
  7. 7. OGC ® © 2015 Open Geospatial Consortium 7
  8. 8. OGC ® © 2015 Open Geospatial Consortium 8 Geonovum HeronViewer showing components with time series values
  9. 9. OGC ® © 2015 Open Geospatial Consortium 9 52North JS-SensorWeb-Client
  10. 10. OGC ® © 2015 Open Geospatial Consortium 10 app made with SOS-JS by British Antarctic Survey (Map)
  11. 11. OGC ® © 2015 Open Geospatial Consortium 11 app made with SOS-JS by British Antarctic Survey (Map)
  12. 12. OGC ® © 2015 Open Geospatial Consortium 12
  13. 13. OGC ® © 2015 Open Geospatial Consortium 13
  14. 14. OGC ® 14 State of the Art
  15. 15. OGC ® © 2015 Open Geospatial Consortium 15 citizen scientist consumer COBWEB
  16. 16. OGC ® © 2015 Open Geospatial Consortium 16 citizen scientist consumer COBWEB
  17. 17. OGC ® © 2015 Open Geospatial Consortium 17 Hypermedia HTTP URI
  18. 18. OGC ® © 2015 Open Geospatial Consortium 18 citizen COBWEB
  19. 19. OGC ® © 2015 Open Geospatial Consortium 19 COBWEBcitizen Hypermedia HTTP URI
  20. 20. OGC ® © 2015 Open Geospatial Consortium 20 citizen COBWEB POX over HTTP
  21. 21. OGC ® © 2015 Open Geospatial Consortium 21 citizen COBWEB <Observation> <id>Citizen1</ID> <val>23.2</val> </Observation>
  22. 22. OGC ® © 2015 Open Geospatial Consortium 22 citizen COBWEB POST /Insert HTTP/1.1 Content-Type: application/xml Host: ingos-server.com Content-Length: 48 <Observation> <id>Citizen1</ID> <val>23.2</val> </Observation> HTTP/1.1 200 OK Content-Type: application/xml Content-Length: 28 Server: Microsoft-HTTPAPI/2.0 Date: Sun, 10 May 2015 17:13:45 <ObservationConfirmation> <id>obs23764523</id> </ObservationConfirmation>
  23. 23. OGC ® © 2015 Open Geospatial Consortium 23 citizen COBWEB POX tunneling over HTTP + Lightweight + Easy to implement + Universally interoperable + Firewall friendly + Single URI - Ignores the Web platform - HTTP verbs barely used - Reliability and scalability? - Extend to many receivers?
  24. 24. OGC ® © 2015 Open Geospatial Consortium 24 COBWEBcitizen Hypermedia HTTP URI
  25. 25. OGC ® © 2015 Open Geospatial Consortium 25 citizen COBWEB resources CRUD services
  26. 26. OGC ® © 2015 Open Geospatial Consortium 26 citizen COBWEB Think in resources Use proper HTTP verbs POST GET PUT DELETE /obs /obs/{id} /obs/{id} /obs/{id} create new observation request current state update observation delete observation
  27. 27. OGC ® © 2015 Open Geospatial Consortium 27 citizen COBWEB POST /obs HTTP/1.1 Host: ingos-server.com Content-Type: application/xml Content-Length: 48 <Observation> <id>Citizen1</ID> <val>23.2</val> </Observation> HTTP/1.1 200 OK Content-Type: application/xml Content-Length: 28 Date: Sun, 10 May 2015 17:34:11 <Observation> <id>obs237</ID> </Observation>
  28. 28. OGC ® © 2015 Open Geospatial Consortium 28 citizen COBWEB GET /obs/obs237 HTTP/1.1 Host: ingos-server.com HTTP/1.1 200 OK Content-Type: application/xml Content-Length: 28 Date: Sun, 10 May 2015 17:13:45 <Observation> <id>Citizen1</ID> <val>23.2</val> </Observation>
  29. 29. OGC ® © 2015 Open Geospatial Consortium 29 citizen COBWEB PUT /obs/obs237 HTTP/1.1 Host: ingos-server.com Content-Type: application/xml Content-Length: 48 <Observation> <id>Citizen1</ID> <val>18.6</val> </Observation> HTTP/1.1 204 No Content Date: Sun, 10 May 2015 17:56:45
  30. 30. OGC ® © 2015 Open Geospatial Consortium 30 citizen COBWEB DELETE /obs/obs237 HTTP/1.1 Host: ingos-server.com HTTP/1.1 204 No Content Date: Sun, 10 May 2015 17:58:45
  31. 31. OGC ® © 2015 Open Geospatial Consortium 31 Hypermedia HTTP URI
  32. 32. OGC ® © 2015 Open Geospatial Consortium 32 citizen scientist consumer COBWEB
  33. 33. OGC ® © 2015 Open Geospatial Consortium 33 citizen scientist consumer COBWEB POST /obs HTTP1.1 … HTTP1.1 200 OK
  34. 34. OGC ® © 2015 Open Geospatial Consortium 34 citizen scientist consumer COBWEB POST /obs HTTP1.1 … HTTP1.1 200 OK …
  35. 35. OGC ® © 2015 Open Geospatial Consortium 35 citizen scientist consumer COBWEB POST /obs HTTP1.1 … HTTP1.1 200 OK …
  36. 36. OGC ® © 2015 Open Geospatial Consortium 36 Hypermedia HTTP URI
  37. 37. OGC ® © 2015 Open Geospatial Consortium 37 citizen scientist consumer COBWEB POST /obs HTTP1.1 … GET/obs/3 HTTP1.1 … HTTP1.1 200 OK … HTTP1.1 200 OK …
  38. 38. OGC ® © 2015 Open Geospatial Consortium 38 Hypermedia HTTP URI
  39. 39. OGC ® © 2015 Open Geospatial Consortium 39 Hypermedia with semantic mark up HTTP URI
  40. 40. OGC ® © 2015 Open Geospatial Consortium 40 Hypermedia with semantic mark up: Raw observation <Observation> <id>Citizen1</ID> <val>18.6</val> </Observation> <Campaign>… Corrected observation <Observation> <id>Citizen1</ID> <cp>fgr7</cp> <val>18.2</val> </Observation> <RawObservation> … Sampling campaign <CampaignID>c2<..> <observation> … </..> <observation> … </..> … </CampaignID>c2<..> Link to
  41. 41. OGC ® © 2015 Open Geospatial Consortium 41 Hypermedia with semantic mark up: DAP Raw observation <Observation> <id>Citizen1</ID> <val>18.6</val> </Observation> <Campaign>… Corrected observation <Observation> <id>Citizen1</ID> <cp>fgr7</cp> <val>18.2</val> </Observation> <RawObservation> … Sampling campaign <CampaignID>c2<..> <observation> … </..> <observation> … </..> … </CampaignID>c2<..> Link to
  42. 42. OGC ® © 2015 Open Geospatial Consortium 42 DAP: Domain Application Protocol Raw observation <Observation> <id>Citizen1</ID> <val>18.6</val> </Observation> <Campaign>… Corrected observation <Observation> <id>Citizen1</ID> <cp>fgr7</cp> <val>18.2</val> </Observation> <RawObservation> … Sampling campaign <CampaignID>c2<..> <observation> … </..> <observation> … </..> … </CampaignID>c2<..> Link to • URI structure becomes irrelevant • Links from one resources to the other are part of the resources; decreases coupling • Protocol information just-in-time
  43. 43. OGC ® © 2015 Open Geospatial Consortium 43
  44. 44. OGC ® © 2015 Open Geospatial Consortium 44 Human Web • embedded links • href=“http://…” Cart Computer-to- Computer • annotations (hypermedia controls) • micro formats or Semantic Web technologies
  45. 45. OGC ® Forms as hypermedia controls © 2015 Open Geospatial Consortium 45 Value: 25.7 Unit: deg Celsius Submit POST /obs HTTP/1.1 Host: ingos-server.com Content-Type: application/xml Content-Length: 48 <Observation> <id>ingo</ID> <val>25.7</val> <uom>degCelsius</uom> </Observation> Plain XML
  46. 46. OGC ® POST /obs HTTP/1.1 Host: ingos-server.com Content-Type: application/xml Content-Length: 48 <Observation> <id>ingo</ID> <val>25.7</val> <uom>degCelsius</uom> </Observation> Forms as hypermedia controls © 2015 Open Geospatial Consortium 46 Value: 25.7 Unit: deg Celsius Submit GET /obs/o237 HTTP/1.1 Host: ingos-server.com <Observation> <id>o237</ID> <citizen>ingo</citizen> <val>25.7</val> <uom>degCelsius</uom> <status>raw</status> <link rel=“http://cobweb.org/campaign” campaign>http://i.org/campaigns/c2</campaign> <link rel=“http://cobweb.org/citizen” citizen>http://i.org/citizens/ingo</citizen> </Observation> XML with hypermedia link
  47. 47. OGC ® Media Types and Domain Application Protocols © 2015 Open Geospatial Consortium 47 HTTP/1.1 200 OK Content-Type: application/vnd.cobweb+xml <Observation> <id>o237</ID> <citizen>ingo</citizen> <val>25.7</val> <uom>degCelsius</uom> <status>raw</status> <link rel=“http://cobweb.org/campaign” campaign>http://i.org/campaigns/c2</campaign> <link rel=“http://cobweb.org/citizen” citizen>http://i.org/citizens/ingo</citizen> </Observation> XML with hypermedia link and media type
  48. 48. OGC ® Media Types and Domain Application Protocols © 2015 Open Geospatial Consortium 48 HTTP/1.1 200 OK Content-Type: application/vnd.cobweb+xml <Observation> <id>o237</ID> <citizen>ingo</citizen> <val>25.7</val> <uom>degCelsius</uom> <status>raw</status> <link rel=“http://cobweb.org/campaign” campaign>http://i.org/campaigns/c2</campaign> <link rel=“http://cobweb.org/citizen” citizen>http://i.org/citizens/ingo</citizen> </Observation> how to process this data (needs to be developed) XML with hypermedia link and media type
  49. 49. OGC ® © 2015 Open Geospatial Consortium 49 citizen scientist consumer COBWEB
  50. 50. OGC ® © 2015 Open Geospatial Consortium 50 citizen scientist consumer COBWEB Syndication
  51. 51. OGC ® Citizen Science: A Syndication Model Atom: Feeds (lists) with time-stamped entries © 2015 Open Geospatial Consortium 51
  52. 52. OGC ® Citizen Science: A Syndication Model • Atom Publishing Protocol: – Syndication content: observations to consumers – Representing document-like structures: observation model – Meta-data rich lists of resources: observation provenance – Adding metadata to existing resource representations • incl. attach hypermedia links – Creating directories of non- hypermedia content • e.g. binary data © 2015 Open Geospatial Consortium 52
  53. 53. OGC ® © 2015 Open Geospatial Consortium 53 citizen scientist consumer COBWEB
  54. 54. OGC ® © 2015 Open Geospatial Consortium 54 citizen scientist consumer COBWEB
  55. 55. OGC ® © 2015 Open Geospatial Consortium 55 citizen scientist consumer COBWEB raw QA log
  56. 56. OGC ® © 2015 Open Geospatial Consortium 56 citizen scientist consumer COBWEB raw QA log
  57. 57. OGC ® © 2015 Open Geospatial Consortium 57 citizen scientist consumer COBWEB raw QA log
  58. 58. OGC ® © 2015 Open Geospatial Consortium 58
  59. 59. OGC ® GeoSynchronization Service (GSS) Replication Channel Change Channel Resolution Channel GSS in Action Collector Submits Change Request 1 5 Collector notified of disposition of proposed change(s) 2 Reviewer is notified of pending Change proposals 3 Reviewer Approves or Rejects the proposed changes 4 Approved changes are applied to features via OGC WFS-T OGC WFS-T OGC WFS-T Geographic features accessible via WFS OGC WFS-T 6 GSS notifies Subscribers of changes to features (i.e. Transactions) Collector Reviewer Subscribe r Also known as a “Data Publisher” or “The Crowd” Collector reads features from a WFS and proposes changes to those features. This may include proposing creation of new features. 59 slide by Peter Vretanos
  60. 60. OGC ® © 2015 Open Geospatial Consortium 60
  61. 61. OGC ® © 2015 Open Geospatial Consortium 61
  62. 62. OGC ® © 2015 Open Geospatial Consortium 62 Geopackage creation Geopackage usage GSS SOS WFS SOS WFS SOS, WFS, WCS, WMS
  63. 63. OGC ® © 2015 Open Geospatial Consortium 63 JaxB, Jersey, Rome Observation profile Sensor profile
  64. 64. OGC ® © 2015 Open Geospatial Consortium 64 Ingo Simonis isimonis@opengeospatial.org
  65. 65. OGC ® ARCHITECTURE DETAILS COBWEB Standards Based © 2015 Open Geospatial Consortium 65
  66. 66. OGC ® © 2015 Open Geospatial Consortium 66
  67. 67. OGC ® © 2015 Open Geospatial Consortium 67
  68. 68. OGC ® © 2015 Open Geospatial Consortium 68
  69. 69. OGC ® © 2015 Open Geospatial Consortium 69
  70. 70. OGC ® © 2015 Open Geospatial Consortium 70

    Be the first to comment

    Login to see the comments

Software architecture for citizen science projects based on OGC standards

Views

Total views

588

On Slideshare

0

From embeds

0

Number of embeds

4

Actions

Downloads

12

Shares

0

Comments

0

Likes

0

×