exactextractr
exactextractr copied to clipboard
R package for fast and accurate raster zonal statistics
Hi, [here](https://github.com/isciences/exactextractr#performance) you present a couple of examples using a "SpatVector" (brazil_spat) as input, but when I try that myself, I get _Error in (function (classes, fdef, mtable) : unable...
Hi, I noticed there's no "man" folder in the GitHub respository of this package. When I install it from CRAN everything's fine, but when installing from GitHub there's a message...
Having issues installing the package on my new MacBook running an M1 Max chipset. GEOS is installed on latest version. Installation response from RStudio console below: ``` install.packages("exactextractr") Installing package...
Trying to exact_extract() on a netcdf using a tiff as weights returns NaN for the majority of regions except for really small ones, suggesting that the function is failing if...
Hello, I think I found a bug in the exact_resample() function. While exact_resample() accepts "weighted_mean" and "weighted_sum" as functions, it does not accept the weights argument: ```R library(raster) library(exactextractr) r...
Here's my attempt at a simple example in the style of `vig1_population`: ```R crs.lonlat = 4326 # https://epsg.io/4326 pop.density = raster::raster("pop-density-2015.tiff") # From https://sedac.ciesin.columbia.edu/downloads/data/gpw-v4/gpw-v4-population-density-rev11/gpw-v4-population-density-rev11_2015_30_sec_tif.zip polygons = sf::read_sf("/vsizip/us.zip") # From https://www2.census.gov/geo/tiger/GENZ2019/shp/cb_2019_us_state_500k.zip...
I want to extract data from a raster (stack) using an sf object with POINT geometry types and get the error: Error in (function (classes, fdef, mtable) : unable to...
For temporal raster data, I often have a stack of rasters that represent the same variable across time. For instance, raster 1 is 2000, raster 2 is 2001, and so...
I am trying to use exact_extract function where the shapefile is the one used in the **Basic Usage** section of the readme file ``` # Pull municipal boundaries for Brazil...