Download presentation
Presentation is loading. Please wait.
Published byPeregrine Underwood Modified over 9 years ago
1
Frameworks for geoprocessing on the web with R Daniel Nüst, 52°North GmbH AGILE 2015 Workshop: Geoprocessing on the Web
2
Geoprocessing with R @ AGILE 20152 Motivation Go beyond data Share knowledge and ressources Have fun and develop software Process design is really really really really really really really really really really really really hard.
3
Geoprocessing with R @ AGILE 20153 Why R? R-sig-geo GIS geos, rgdal, raster, gstat, …
4
Geoprocessing with R @ AGILE 20154 Use cases Intuitive apps for air quality data Interactive UI Pre-configured analysis Multiple „apps“ Reproducible scientific analysis Transparency & full control (levels) Existing research scripts Standards Collaboration User selects an air quality station on a map and a time frame to start one complex data analysis and explore the result plot. Researcher tests different parameters of an algorithm using nonpublic data within his GIS environment, downloads all scripts and recreates full set - up in own environment.
5
Geoprocessing with R @ AGILE 20155 SENSORWEBY User-friendly air quality timeseries analysis with… http://joaquin.eu
6
Geoprocessing with R @ AGILE 20156 Shiny http://shiny.rstudio.com/
7
Geoprocessing with R @ AGILE 20157 52°North JavaScript Sensor Web Client https://github.com/52north/js-sensorweb-client/ http://sensorweb.demo.52north.org/jsClient/
8
Geoprocessing with R @ AGILE 20158 Sensorweby sensorweby Web app integrating JS SWC with Shiny https://github.com/52North/sensorweby sensorweb4R + sos4R client libraries to access data services from R https://github.com/52North/sensorweb4R http://cran.r- project.org/web/packages/sos4R/
9
Geoprocessing with R @ AGILE 20159
10
10
11
Geoprocessing with R @ AGILE 201511 Plots by http://openairproject.org/
12
Geoprocessing with R @ AGILE 201512 Plots by http://openairproject.org/
13
Geoprocessing with R @ AGILE 201513 http://shiny.irceline.be/examples/ devtools::install_github("52North/sensorweb4R") devtools::install_github("52North/sensorweby") sensorweby::runExample("basic")
14
Geoprocessing with R @ AGILE 201514 WPS4R Standardized scientific geoprocessing for land use analysis using…
15
Geoprocessing with R @ AGILE 201515 Web Processing Service Describes inputs & output of geospatial web processing services http://en.wikipedia.org/wiki/Web_Processing_Service | http://www.opengeospatial.org/standards/wps GetCapabilities : service-level metadata DescribeProcess : process description (metadata, inputs, outputs) Execute : start and retrieve results of a process instance –Synchronous –Asynchronous Open source implementations OGC WPS
16
Geoprocessing with R @ AGILE 201516 52°North WPS4R https://wiki.52north.org/bin/view/Geostatistics/WPS4R Collaboration platform for web devs, IT, and GIS/domain experts Reproducible geoprocesses in SOA
17
Geoprocessing with R @ AGILE 201517
18
Geoprocessing with R @ AGILE 201518
19
Geoprocessing with R @ AGILE 201519
20
Geoprocessing with R @ AGILE 201520 WPS4R DEMONSTRATOR Reproducible Global Land Use Classification
21
Geoprocessing with R @ AGILE 201521 http://geoportal-glues.ufz.de/stories/landsystemarchetypes.html
22
Geoprocessing with R @ AGILE 201522 The following input parameters of the process are available to the user: Sample size (numbers of points spread over the globe) Sampling type (strategy such as regular, random, …) Standardization method (how to move inputs to a common scale) SOM-specific parameter –Grid topology (rectangular or hexagonal) –Grid dimensions (influences # of output classes) Future versions might allow to select the used datasets or integrate own datasets, select input layers, … Process Inputs
23
Geoprocessing with R @ AGILE 201523 http://geoportal-glues.ufz.de/stories/openanalysis.html
24
Geoprocessing with R @ AGILE 201524
25
Geoprocessing with R @ AGILE 201525 http://geoportal-glues.ufz.de/stories/openanalysis.html
26
Geoprocessing with R @ AGILE 201526 https://github.com/52North/glues-wps/
27
Geoprocessing with R @ AGILE 201527 Next steps WPS4R Spatial output integrated with ArcGIS client GitHub-based four-eyes-principle! Generate provenance information from scripts? Privacy-aware analysis of floating car data? See https://github.com/52North/WPS/labels/wps4r sensorweby Apps, apps, apps See https://github.com/52North/sensorweby/issues/ Try it out!
28
Geoprocessing with R @ AGILE 201528 wps-js [shameless plug] WPS XML process description > web form https://github.com/ 52North/wps-js/ Beta-stage, please join! Goal: JSONIX https://github.com/ highsource/jsonix
29
Geoprocessing with R @ AGILE 201529 Conclusions Shiny Quick, suitable for teaching, few lines of plain R creates an app, full GIS, extensible within the platform WPS4R SDI/SII-ready, simple to complex processes/abstraction levels, various clients, service oriented architecture, completely customizable all algorithms, visualisation, …
30
Geoprocessing with R @ AGILE 201530 * http://en.wikipedia.org/wiki/Law_of_the_instrument * R is not the only hammer in the toolbox, 52°North WPS (and others) support Python, Java, and Matlab processes as well… http://pixabay.com/p-35369/?no_redirect http://pixabay.com/p-96174/?no_redirect https://home.comcast.net/~tomhorsley/game/styles/tools.jpg
31
Geoprocessing with R @ AGILE 201531 References http://blog.52north.org/2015/04/22/advanced-time-series-analysis-on-the-web-with-r/ http://geoportal-glues.ufz.de/stories/openanalysis.html http://52north.org/wps Pebesma, E., D. Nüst, R. Bivand, 2012. The R software environment in reproducible geoscientific research. Eos, Transactions American Geophysical Union 93, vol 16, p. 163164 CRAN task views “Spatial” ( http://cran.rproject.org/web/views/Spatial.html ) and “SpatioTemporal” ( http://cran.rproject.org/web/views/SpatioT emporal.html ) Nüst, D., Stasch, C. and Pebesma, E. J. Connecting R to the Sensor Web in Geertman, S.; Reinhardt, W. and Toppen, F. (Eds.) Advancing Geoinformation Science for a Changing World, Springer Lecture Notes in Geoinformation and Cartography, 2011, 227- 246 Matthias Hinz, Daniel Nüst, Benjamin Proß, Edzer Pebesma, 2013. Spatial Statistics on the Geospatial Web. Short paper, AGILE 2013 Vaclavik, T., Lautenbach, S., Kuemmerle, T., Seppelt, R. (2013): Mapping global land system archetypes. Global Environmental Change 23(6): 16371647. DOI: 10.1016/j.gloenvcha.2013.09.004. Contact: d.nuest@52north.org | @nordholmen
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.