Skip to main content

Connecting R to the Sensor Web

  • Chapter
  • First Online:
Advancing Geoinformation Science for a Changing World

Part of the book series: Lecture Notes in Geoinformation and Cartography ((LNGC,volume 1))

Abstract

data exchange and reproducibility are increasingly important for modern scientific research. This paper shows how three open source projects work together to realize this: (i) the R project, providing the lingua franca for statistical analysis, (ii) the Open Geospatial Consortium's Sensor Observation Service (SOS), a standardized data warehouse service for storing and retrieving sensor measurements, and (iii) sos4R, a new project that connects the former two. We show how sos4R can bridge the gap between two communities in science: spatial statistical analysis and visualization on one side and the Sensor Web community on the other. sos4R enables R users to integrate (near real-time) sensor observations directly into R. Finally, we evaluate the functionality of sos4R. The software encapsulates the service's complexity with typical R function calls in a common analysis workflow, but still gives users full flexibility to handle interoperability issues. We conclude that it is able to close the gap between R and the sensor web.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 219.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  • 52°North - Initiative for Geospatial Open Source Software (2010) https://- 52north.org/, Last date accessed 2010-10-20.

    Google Scholar 

  • Arel-Bundock, V. (2010) WDI: Search and download data from the World Bank’s World Development Indicators’, http://cran.r-project.org/package=WDI.

  • Bivand, R. S. Pebesma, E. J. (2008), Applied spatial data analysis with R, Springer, NY, http://www.asdar-book.org/.

  • Botts, M. (2007) OGC Implementation Specification 07-000: OpenGIS Sensor Model Language (SensorML), Technical Report, Open Geospatial Consortium.

    Google Scholar 

  • Botts, M., Percivall, G., Reed, C. and Davidson, J. (2008) OGC Sensor Web Enablement: Overview and High Level Architecture, in S. Nittel, A. Labrinidis and A. Stefanidis (Eds.), GeoSensor Networks, Vol. 4540 of Lecture Notes in Computer Science, Springer Berlin / Heidelberg, pp. 175–190. http://dx.doi.org/10.1007/978-3-540-79996-2_10.

  • Cox, S. (2007a) OGC Implementation Specification 07-022r1: Observations and Measurements - Part 1 - Observation schema, Technical Report, Open Geospatial Consortium.

    Google Scholar 

  • Cox, S. (2007b) OGC Implementation Specification 07-022r3: Observations and Measurements - Part 2 - Sampling Features, Technical Report, Open Geospatial Consortium.

    Google Scholar 

  • Davis, S. and Meltzer, P. S. (2007) GEOquery: a bridge between the Gene Expression Omnibus (GEO) and BioConductor, Bioinformatics 23(14), pp. 1846–1847, http://dx.doi.org/10.1093/bioinformatics/btm254.

  • Fomel, S. and Claerbout, J. F. (2009) Guest editors’ introduction: Reproducible Research, Computing in Science and Engineering 11, pp. 5–7.

    Google Scholar 

  • Freeman, E., Freeman, E., Bates, B. and Sierra, K. (2004) Head First Design Patterns, O’Reilly Media, http://www.worldcat.org/isbn/0596007124.

  • Geller, Gary N., M. F. (2008) Looking Forward: Applying an Ecological ModelWeb to assess impacts of climate change, Biodiversity 9(3&4).

    Google Scholar 

  • Genolini, C. (2008), A (Not So) Short Introduction to S4’, http://cran.rproject.org/other-docs.html.

  • Jirka, S., Bröring, A. and Stasch, C. (2009), Discovery Mechanisms for the Sensor Web, Sensors 9, 2661–2681, http://www.mdpi.com/1424-8220/9/4/2661/.

  • Keitt, T. H., Bivand, R., Pebesma, E. and Rowlingson, B. (2010) rgdal: Bindings for the Geospatial Data Abstraction Library, http://CRAN.Rproject.org/package=rgdal

  • Knuth, D. E. (1984) Literate Programming, The Computer Journal 27, pp. 97–111.

    Google Scholar 

  • Leisch, F. (2005) Sweave: Dynamic Generation of Statistical Reports Using Liter-GeoCENS: Geospatial Cyberinfrastructure for Environmental Sensing, Extended Abstracts for Presentation at GIScience 2010. http://www.giscience2010.org/pdfs/paper_219.pdf.

  • Na, A., Priest, M., Niedzwiadek, H. and Davidson, J. (2007) OGC Implementation Specification 06-009r6: Sensor Observation Service, Technical Report, Open Geospatial Consortium.

    Google Scholar 

  • Peng, R. D. (2008), Caching and Distributing Statistical Analyses in R, Journal of Statistical Software 26(7), http://www.jstatsoft.org/v26/i07/.

  • Portele, C. (2003), OpenGIS Geography Markup Language (GML) Encoding Standard 07-036, Open Geospatial Consortium.

    Google Scholar 

  • R Development Core Team (2010), R: A Language and Environment for Statistical Computing, R Foundation for Statistical Computing, Vienna, Austria. ISBN 3-900051-07-0, http://www.R-project.org.

  • Reproducible Research Planet (2010). http://www.rrplanet.com/, Last date accessed 2011-01-03.

  • Ryan, J. A. (2008), Quantitative Financial Modelling & Trading Framework for R, http://www.quantmod.com, Last date accessed 2011-01-01.

  • Tamayo, A., Huerta, J., Granell, C., Diaz, L. and Quiros, R. (2009), ‘gvSOS: A New Client for the OGC Sensor Observation Service Interface Standard, Transactions in GIS 13, pp. 47–61.

    Google Scholar 

  • Temple Lang, D. (2000) The Omegahat Environment: New Possibilities for Statistical Computing, Journal of Computational and Graphical Statistics 9, pp. 423–451, http://www.jstor.org/stable/1390938.

  • Temple Lang, D. (2007), R as a Web Client – the RCurl package, Journal of Statistical Software, http://cran.r-project.org/web/packages/RCurl/. www.omegahat.org/RCurl/RCurlJSS.pdf

  • Lang, D. (2010) XML: Tools for parsing and generating XML within R and Splus’, http://cran.r-project.org/package=XML

  • Vance, A. (2009) Data Analysts Captivated by R’s Power, http://www.nytimes. com/2009/01/07/technology/business-computing/07program.html, Last date accessed 2010-10-20.

  • Vretanos, P. A. (2005) OpenGIS Filter Encoding Implementation Specification 04-095, Technical Report, Open Geospatial Consortium.

    Google Scholar 

  • Whiteside, A. (2007), OGC Implementation Specification 06-121r3: OGC Web Services Common Specification, Technical Report, Open Geospatial Consortium. for the Geospatial Data Abstraction Library, http://CRAN.R

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Daniel NĂ¼st .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

NĂ¼st, D., Stasch, C., Pebesma, E. (2011). Connecting R to the Sensor Web. In: Geertman, S., Reinhardt, W., Toppen, F. (eds) Advancing Geoinformation Science for a Changing World. Lecture Notes in Geoinformation and Cartography(), vol 1. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-19789-5_12

Download citation

Publish with us

Policies and ethics