Learn R Programming

inlabru (version 2.7.0)

st_check_polygon: Check sfg polygon satisfies standards for POLYGON simple features

Description

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)

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.

Arguments

sfg

A POLYGON sfg object