DoU_classify_grid_rural {flexurba} | R Documentation |
Create the DEGURBA grid cell classification of rural cells
Description
The Degree of Urbanisation identifies rural cells as all cells not belonging to an urban centre or urban cluster.
For more information about the Degree of Urbanisation methodology, see the methodological manual, GHSL Data Package 2022 and GHSL Data Package 2023.
Usage
DoU_classify_grid_rural(data, classification, value = 1)
Arguments
data |
path to the directory with the data, or named list with the data as returned by function |
classification |
SpatRaster. A grid with the classification of urban centres and urban clusters to which the classification of rural cells will be added. Note that the grid will be adapted in-place. |
value |
integer. Value assigned to rural cells in the resulting grid |
Value
SpatRaster with the grid cell classification of rural cells
Examples
data_belgium <- DoU_load_grid_data_belgium()
classification <- DoU_classify_grid_urban_centres(data_belgium)
classification <- DoU_classify_grid_urban_clusters(data_belgium, classification = classification)
classification <- DoU_classify_grid_rural(data_belgium, classification = classification)
DoU_plot_grid(classification)
[Package flexurba version 0.2.2 Index]