You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some circumstances, when a raster map is added to a smaller-extent vector map, it is plotted at a coarser resolution, without a warning or message. This may be undesirable, and it doesn't appear to be documented. Here's a reproducible example:
v <- geodata::gadm("Greenland", level=1, path=tempdir())
r <- geodata::worldclim_country("Greenland", var="wind", path=tempdir())
r <- r[[1]]
# plot raster over smaller extent:
plot(r, ext=ext(v[1, ])) # OK
plot(v[1, ], add=TRUE)
# add raster to smaller-extent vector:
plot(v[1, ])
plot(r, add=TRUE) # coarser pixels!
The text was updated successfully, but these errors were encountered:
In some circumstances, when a raster map is added to a smaller-extent vector map, it is plotted at a coarser resolution, without a warning or message. This may be undesirable, and it doesn't appear to be documented. Here's a reproducible example:
The text was updated successfully, but these errors were encountered: