The dimensionless shape index used by Andison (1996, §3.3.1): the patch perimeter relative to that of a circle of the same area, so a circle scores 1 and more convoluted shapes score higher.

landmine_optim_shapeIndex(perimeter, area)

Arguments

perimeter

Patch perimeter, in metres.

area

Patch area, in square metres.

Value

Numeric shape index.

Note

Perimeters measured on a raster follow cell edges, so they exceed the perimeter of the equivalent vector polygon and inflate this index relative to the GIS-derived values Andison fitted. The bias is systematic, so it shifts the intercept rather than the slope.

Examples

## a circle scores 1
landmine_optim_shapeIndex(perimeter = 2 * pi * 100, area = pi * 100^2)
#> [1] 1