get_optimal_builtup {flexurba}R Documentation

Preprocess the data for the DEGURBA spatial units classification

Description

[Deprecated]

get_optimal_builtup() has been renamed to DoU_get_optimal_builtup() to create a more consistent API and to better indicate that this function is specifically designed for detecting the optimal builtup threshold in the context of the DEGURBA classification with DoU_classify_units().

Usage

get_optimal_builtup(
  data,
  density_threshold = 1500,
  size_threshold = 5000,
  directions = 4
)

Arguments

data

path to the directory with the data, or named list with the data as returned by function DoU_preprocess_grid(). Ideally, it contains data on a global scale.

density_threshold

numeric. Minimum population density per permanent land

size_threshold

numeric. Minimum population size

directions

integer. Which cells are considered adjacent: 4 for rooks case (horizontal and vertical neighbours) or 8 for queens case (horizontal, vertical and diagonal neighbours)

Value

optimal built-up area threshold


[Package flexurba version 0.2.2 Index]