patternize
patternize copied to clipboard
Error with "Compare landmark and registration"
Hello Steven, i´m trying to use patternize with your examples but im having some problems running the part of compare landmarks and registration:
rasterEx <- raster::extent(min(outline_BC0004[,1]),
-
max(outline_BC0004[,1]),
-
min(outline_BC0004[,2]),
-
max(outline_BC0004[,2]))
rRe <- raster::raster(nrow=200,ncol=200) raster::extent(rRe) <- rasterEx summedRaster_lanRGB2 <- raster::resample(summedRaster_lanRGB,rRe,datatype="INT1U", method='ngb') Error in .intersectExtent(x, y, validate = TRUE) : Objects do not intersect In addition: Warning messages: 1: In .local(x, ...) : aggregation factor is larger than the number of columns 2: In .local(x, ...) : aggregation factor is larger than the number of rows summedRaster_regRGB2 <- raster::resample(summedRaster_regRGB,rRe,datatype="INT1U", method='ngb') Error in .intersectExtent(x, y, validate = TRUE) : Objects do not intersect
As i´m running your examples maybe you can help me with this error. Thank you.
Hi Luciana,
which step are you running exactly?
Did you install the package through github. The CRAN version is not up to date with the examples.
install.packages("devtools") library(devtools) install_github("StevenVB12/patternize")
Hope this helps.
Steven