raster
raster copied to clipboard
R raster package https://rspatial.github.io/raster/reference/raster-package.html
It seems that levels of categorical rasters get a bit messed up when read in with `raster::raster` (or `raster::brick` when using multiband objects) . I've tried with the CRAN (3.5.15)...
I've tried with both the CRAN (3.5.15) and development versions (3.5.19) but I can't seem to write a multiband raster object that contains a categorical layer. ``` library(raster) r
I'm not sure if plotRGB is supposed to support alpha (transparency) being a matrix rather than just a scalar. In any case, whether it actually works is hit and miss....
The help page for filledContour states that it can take "Any argument that can be passed to filled.contour (graphics package)" However, I'm finding that it does not respect several arguments,...
The [sampleRandom](https://github.com/rspatial/raster/blob/master/R/sampleRandom.R) function when sampling over a raster layer with many `NaNs` (a sparse raster layer) has high probability to not return the required number of samples even if the...
So I am attempting to implement a maximum filter on a CHM (Canopy Height Model) with a variable window size here, 'Tree_Heights' is a data frame containing the fitted values...
In raster version 3.5-15 when I saved a raster with label values (i.e. county names) it would generate a .tif.aux.xml file. After updating to raster version 3.6-3 the .tif.aux.xml is...
I am tried to read a shapefile: `raster::shapefile("myshape.shp")` And show an error `Error in x$.self$finalize() : attempt to apply non-function`. I tried to reinstall the package; uninstall R and RStudio...
My code runs on my windows machine but not the Centos cluster. Any ideas why? It seems that something changed from terra 1.6-17 to terra 1.6-21. ``` library(raster) # Define...
Hello, I would like to export a raster object into netCDF file. However, I receive an error when using `compression` argument. ``` # raster version: 3.6-26 # ncdf4 version: 1.22...