transform_bbox: Transform Bounding Box Coordinates

View source: R/func_data_transformation.R

transform_bboxR Documentation

Transform Bounding Box Coordinates

Description

Internal function used to transform latitude and longitude coordinates to a target coordinate reference system.

Usage

transform_bbox(bbox, CRS)

Arguments

bbox

named numeric vector of length four, with xmin, xmax, ymin and ymax values.

CRS

numeric value representing an ESPG.

Value

A named numeric vector.

Examples

bbox <- c(xmin = -3.70, xmax = 13.40, ymin = 40.42, ymax = 52.52)
transform_bbox(bbox, 3035)

mapmixture documentation built on April 3, 2025, 7:45 p.m.