buffer_rectangle: Define a rectangle bounding box with a given ratio around a...

View source: R/utils_geometry.R

buffer_rectangleR Documentation

Define a rectangle bounding box with a given ratio around a location

Description

Define a rectangle bounding box with a given ratio around a location

Usage

buffer_rectangle(
  data,
  size = 60000,
  x_shift = 0,
  y_shift = 0,
  orientation = "h",
  ratio = 297/210,
  ...
)

Arguments

data

sf point object

size

size of the largest dimension of the bounding box. a vector of length 2 (width, height) ignores the orientation and ratio parameters

x_shift, y_shift

shifts in the x and y direction

orientation

orientation of the bounding box ("h" or "v")

ratio

height:width ratio

...

used for mapping

Value

a sf bounding box object


picasa/generate documentation built on Feb. 28, 2025, 6:51 a.m.