NetLogo 7.0.0-beta2:

gis:patch-dataset

gis:patch-dataset patch-variable

Reports a new raster whose cells correspond directly to NetLogo patches, and whose cell values consist of the values of the given patch variable. This primitive is basically the inverse of apply-raster; apply-raster copies values from a raster dataset to a patch variable, while this primitive copies values from a patch variable to a raster dataset.

Take me to the full GIS Extension Dictionary