| Literature DB >> 22998945 |
Richard Newton1, Andrew Deonarine, Lorenz Wernisch.
Abstract
BACKGROUND: The R project includes a large variety of packages designed for spatial statistics. Google dynamic maps provide web based access to global maps and satellite imagery. We describe a method for displaying directly the spatial output from an R script on to a Google dynamic map.Entities:
Mesh:
Year: 2012 PMID: 22998945 PMCID: PMC3548681 DOI: 10.1186/1476-072X-11-41
Source DB: PubMed Journal: Int J Health Geogr ISSN: 1476-072X Impact factor: 3.918
Figure 1Schematic flow diagram of procedure. Showing how to create a web application using Rwui.
Figure 2Different approaches to the custom statistical analysis of health data, and integration with GIS visualization. The standard approach, which involves using a statistical package in conjunction with a GIS system, is laborious and labour intensive and requires 6 steps shown here, which may preclude its usage in a time-sensitive, critical scenario such as an outbreak. The Rwui approach only requires 3 steps for repeated statistical analysis. The resulting webapp is platform independent and can be used on various devices (smartphones, PDAs, etc). And it is built around a custom R script, rather than being based around a limited number of built-in statistical analyses (as in EpiInfo and other related platforms).
Comparing the features provided by Rwui with those of other systems
| QuantumGIS | Executable Program | Yes | Yes | Various | Yes | Yes | Some | No | No |
| Mapserver | Web server | Yes | Yes | Various | Yes | Yes | No | No | No |
| ArcGIS | Executable Program | No | No | ESRI | Yes | Yes | Yes | No | Yes |
| Epi Info | Executable Program | Yes | No | ESRI | Yes | Yes | Some | No | No |
| SOLVAT | Executable Program | Yes | Yes | ESRI | Yes | Yes | Some | No | No |
| plotKML | R package | Yes | Yes | Google | No | Yes | Yes | Yes | No |
| plotGoogleMaps | R package | Yes | Yes | Google | No | Yes | Yes | Yes | No |
| googleVis | R package | Yes | Yes | Google | No | Yes | Yes | Yes | Yes |
| Rwui | Webapp creating webapps | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
1Type of software system.
2Is the software free or commercial.
3Is the system’s source code available for use.
4The type of visualization system used.
5Is a graphical user interface available.
6Are maps automatically produced, or is further programming required?
7Can advanced spatial statistics be incorporate and customized?
8Is the software system able to incorporate R code?
9Can a custom, easy to use GUI driven stand-alone application be created?
Figure 3One web page of Rwui, on which input items are added. One of the twenty web pages that comprise Rwui. A facsimile of the dynamic map example application being created can be seen on the lower half of the page.
Figure 4Meuse soil pollution example application. Screenshot of part of the web page of the Meuse soil pollution example application http://sysbio.mrc-bsu.cam.ac.uk/dynmap_example. Individual data points are marked as colour-coded circles and the results of kriging displayed as an overlay.
List of Rwui resources and documentation, required external resources and useful external resources
| | |
| Rwui | |
| Documentation: Rwui | |
| Step-by-step guide: Basic webapp | |
| Documentation: Displaying dynamic maps | |
| Step-by-step guides: Dynamic map webapp | |
| R functions: creating dynamic map javascript | |
| Documentation: R functions | |
| Example app: Simple | |
| R code: Simple app | |
| Example app: Meuse | |
| R code: Meuse app | |
| Example app: Malawi | |
| R code: Malawi app | |
| R code: preprocessing population data | |
| | |
| Tomcat | |
| Java | |
| Google Maps API key | |
| ProjectedOverlay | |
| | |
| R packages: raster, sp, rgdal, geosphere, rsaga, proj4, rgeos, plotKML | |
| GDAL | |
| PROJ.4 | |
| GEOS | |
| SAGA |
Figure 5Malawi population density example application. Screenshot of part of the web page of the Malawi population density example application http://sysbio.mrc-bsu.cam.ac.uk/click_dynmap_example. Data from the GRUMP database is displayed. A square region of interest has been selected by the user, and the summary statistics for this area can be seen on the right of the screen.
Figure 6Malawi population density example application. Screenshot of part of the web page of the Malawi population density example application http://sysbio.mrc-bsu.cam.ac.uk/click_dynmap_example. The difference between the Afripop and GRUMP databases is displayed. An irregular polygon region of interest has been selected by the user, and the summary statistics for this area can be seen on the right of the screen.