PrepareRasterFiles.Rd
This function combined the different rasters and shapefiles needed to create the optimisation program
PrepareRasterFiles(
population.raster,
friction.raster,
shp,
buffer,
access.raster,
popurb.raster,
is.inside
)
raster map containing population densities
raster map containing friction surface
shapefile of the area of interest
buffer around current HF
raster map containing the distance to HF layer
raster map containing the urban population layer (urban pixels show the population in the pixel and the rural pixels are NA). Can be created with DefineUrban.
whether CHW are placed inside the buffer (if FALSE, they are placed outside)
a list containing the pre-processed rasters and transition matrix