gis:apply-raster
gis:apply-raster raster-dataset patch-variable
Copies values from the given raster dataset to the given patch
variable, resampling the raster as necessary so that its cell
boundaries match up with NetLogo patch boundaries. This resampling
is done as if using resample rather
than raster-sample, for the sake
of efficiency. However, patches not covered by the raster are
assigned values of “not a number” in the same way that
raster-sample reports values for
locations outside the raster.