velox is an R package for performing fast extraction and manipulation operations on geospatial raster data. It is has been published on CRAN and has been downloaded over 9000 times. The above image shows September 2017 nightlight emissions for 2268 Swiss communes, the aggregation of which takes less than a second with the velox package.

velox is fast because:

  • All raster operations are performed in c++.
  • Geometric operations are implemented with the Boost Geometry libraries.
  • All data is held in memory.

For more information, see the velox project website.

Philipp Hunziker
Quantitative Researcher

R programmer; ML enthusiast; Bayesian convert.