version 0.6.0 Unreleased

  • Support use of RasterStack weights in exact_extract named summary operations
  • Support use of weights in exact_extract R summary functions
  • Support SpatialPolygons and SpatialPolygonsDataFrame inputs
  • Support exact_resample with mode, minority, variety, median, quantiles

version 0.5.1 2020-11-20

  • Fix bug causing progress bar to jump to 100%
  • Fix check for data frame in return from R function in exact_extract to allow for derived data frame types such as tibbles.

version 0.5.0 2020-10-26

  • Add exact_resample
  • Add force_df and full_colnames arguments to exact_extract, to obtain output in a consistent format
  • Add include_cols and append_cols arguments to exact_extract for linking pixels values or summarized results to input features
  • Add median and quantile summary operations
  • Add stack_apply argument to exact_extract to apply an R function individually to each layer in a RasterStack / RasterBrick.
  • Support returning a data frame from an R function applied to each polygon, then combining those data frames with dplyr::bind_rows

version 0.4.0 2020-06-28

  • Add named summary operations for variance, standard deviation, coefficient of variation
  • Improve performance, most dramatically for named summary operations on RasterStack or RasterBrick inputs.
  • Avoid floating point robustness error when computing stats on certain polygons using different resolution value and weighting rasters.

version 0.3.0 2020-05-07

  • Add include_cell argument to exact_extract (Michael Sumner)
  • Fix error thrown by exact_extract when a polygon is partially outside the extent of the value raster but fully within the extent of the weighting raster.
  • Avoid error when processing polygons with a Z dimension on GEOS 3.6
  • Support sfc_GEOMETRY inputs if all features are polygonal

version 0.2.1 2020-03-21

  • Fix incorrect results for some polygons that exactly follow boundaries of raster grid cells
  • Update tests for compatibility with sf >= 0.9.0

version 0.2.0 2020-02-26

  • Add weighted mean and weighted sum operations to summarize one raster using the values of another (e.g., population-weighted mean temperature)
  • Support use of named summary options on RasterStack and RasterBrick inputs (reduces verbosity, improves performance)
  • Fix memory leak in CPP_coverage_fraction

version 0.1.2 2020-01-14

  • Generate zero-row data frame for polygons not intersecting the raster

version 0.1.1 2019-08-07

  • Attempt to revert to static linking against GEOS if dynamic linking fails
  • Avoid undefined behavior when calling exact_extract on polygon that does not intersect raster.

version 0.1.0 2019-08-01

  • Initial release to CRAN