Skip to contents

It seems as though st_polygon does not check this. For now only implements a basic check for disjoint regions using st_within()

Usage

st_check_polygon(sfg)

Arguments

sfg

A POLYGON sfg object

Value

LOGICAL; TRUE if the sfg holes are entirely inside the outer ring, and are disjoint, otherwise FALSE. When FALSE, the attribute Message is set to a character vector describing the detected reasons.