Simple features for R

Hey folks,

sf is an rather new R package for handling and analyzing spatial data in R. While various R packages are available that provide classes and methods for spatial data (e.g. sp, rgdal and rgeos), sf, which is developed by Edzer Pebesma and others, is intended to gradually replace the well known sp package. The motivation behind this package is to provide a complete, standardized implementation of simple features in R, with links to GDAL, GEOS and Proj.4.

There are already three well-designed and informative vignettes documenting the sf package:

  1. Simple Features for R
  2. Reading, Writing and Converting Simple Features
  3. Manipulating Simple Feature Geometries

One of the most notable advantages is the gain in performance when reading spatial data (due to using C++ and Rcpp as well as the efficient WKB representations) and the smaller object sizes for the resulting spatial objects in R.

Together with the C++ port/implementation of the raster package, these developments show that the masterminds behind the R spatial community have their fingers on the pulse of the time. I am really looking forward to exploring the exciting new possibilities introduced by the sf-package in greater detail.

Best regards,

About This Author

Matthias studied Environmental Information Management at the University of Natural Resources and Life Sciences, Vienna. He is currently a PhD student working at the Austrian Institute of Technology. He currently focuses the (statistical) assessment of adverse weather events and natural hazards in the context of transportation infrastructure networks. His main interests are open source tools for geoinformation and data science.

Post A Reply