st_bbox_and_dims: st_bbox_and_dims

View source: R/distribute.R

st_bbox_and_dimsR Documentation

st_bbox_and_dims

Description

This helper function returns the bounding boxes and width/height dimensions of each feature row in an sf object.

Usage

st_bbox_and_dims(x)

Arguments

x

An sf-compatible feature layer REQUIRED.

Value

A data.frame with columns xmin, ymin, xmax, ymax, width, height


tcwilkinson/morphogram documentation built on Nov. 20, 2022, 3:45 a.m.