st_poi: Extract phenological metrics

View source: R/st_poi.R

st_poiR Documentation

Extract phenological metrics

Description

This function computes and returns the approximate pole of inaccessibility (visual centre) for a polygon using the quadtree-based algorithm implemented in polylabelr::poi(), accepting an input in the same format of sf_centroid() (sf, sfc or sfg) and returning an output in the same format of x.

Usage

st_poi(x, ..., precision)

Arguments

x

object of class sfg, sfc or sf

...

Ignored

precision

The precision to use when computing the centre (passed to polylabelr::poi()), in the x unit. If missing, by default it is used the 1/1000 of the mean square root of the area of inputs.

Author(s)

Luigi Ranghetti, PhD (2021) luigi@ranghetti.info


ranghetti/sen2rts documentation built on March 31, 2024, 1:18 a.m.