LAEA_projection: Prepare Equal-Area or Equidistant Projection

View source: R/helpers.R

LAEA_projectionR Documentation

Prepare Equal-Area or Equidistant Projection

Description

Prepare Equal-Area or Equidistant Projection

Usage

LAEA_projection(occurrences = NULL, spatial_object = NULL)

AED_projection(occurrences = NULL, spatial_object = NULL)

Arguments

occurrences

matrix or data.frame containing coordinates to serve as a reference for the center of the projection. Columns must be: "longitude" and "latitude", in that order.

spatial_object

Spatial* objects, Points or Polygons, to be used to calculate a reference for the center of the projection. Projection must be WGS84 (EPSG:4326).

Details

If arguments are not defined projection is centered in 0, 0 for longitude and latitude.

Value

An object of class CRS.

Examples

LAEA_projection()

data("occ_p", package = "rangemap")
occ <- unique(occ_p)[, 2:3]
AED_projection(occ)

manubio13/rangemap documentation built on May 9, 2022, 6:27 a.m.