RQGIS: Integrating R with QGIS for Statistical Geocomputing

Abstract:

Integrating R with Geographic Information Systems (GIS) extends R’s statistical capabilities with numerous geoprocessing and data handling tools available in a GIS. QGIS is one of the most popular open-source GIS, and it furthermore integrates other GIS programs such as the System for Automated Geoscientific Analyses (SAGA) GIS and the Geographic Resources Analysis Support System (GRASS) GIS within a single software environment. This and its QGIS Python API makes it a perfect candidate for console-based geoprocessing. By establishing an interface, the R package RQGIS makes it possible to use QGIS as a geoprocessing workhorse from within R. Compared to other packages building a bridge to GIS (e.g., rgrass7, RSAGA, RPyGeo), RQGIS offers a wider range of geoalgorithms, and is often easier to use due to various convenience functions. Finally, RQGIS supports the seamless integration of Python code using reticulate from within R for improved extendability.

Cite PDF Tweet

Published

Dec. 3, 2017

Received

Jul 7, 2017

DOI

10.32614/RJ-2017-067

Volume

Pages

9/2

409 - 428

Supplementary materials

Supplementary materials are available in addition to this article. It can be downloaded at RJ-2017-067.zip

CRAN packages used

maptools, raster, sp, sf, mapview, mapmisc, osmar, dodgr, RArcInfo, rgrass7, mapedit, rgdal, rgeos, RSAGA, RPyGeo, RQGIS, reticulate, rPython, sperrorest, nlme, mgcv, spgrass6, leaflet

CRAN Task Views implied by cited packages

Spatial, SpatioTemporal, Econometrics, Environmetrics, NumericalMathematics, SocialSciences, Bayesian, ChemPhys, Finance, HighPerformanceComputing, OfficialStatistics, Psychometrics, WebTechnologies

Footnotes

    Reuse

    Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

    Citation

    For attribution, please cite this work as

    Muenchow, et al., "The R Journal: RQGIS: Integrating R with QGIS for Statistical Geocomputing", The R Journal, 2017

    BibTeX citation

    @article{RJ-2017-067,
      author = {Muenchow, Jannes and Schratz, Patrick and Brenning, Alexander},
      title = {The R Journal: RQGIS: Integrating R with QGIS for Statistical Geocomputing},
      journal = {The R Journal},
      year = {2017},
      note = {https://doi.org/10.32614/RJ-2017-067},
      doi = {10.32614/RJ-2017-067},
      volume = {9},
      issue = {2},
      issn = {2073-4859},
      pages = {409-428}
    }