transform_bbox {mapmixture}R 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)

[Package mapmixture version 1.1.3 Index]