proj_to_wgs: A wrapper for 'spTransform()'. Converts projected coordinates...

View source: R/utils.R

proj_to_wgsR Documentation

A wrapper for spTransform(). Converts projected coordinates to geographic (WGS84) coordinates.

Description

A wrapper for spTransform(). Converts projected coordinates to geographic (WGS84) coordinates.

Usage

proj_to_wgs(x, y, proj4string)

Arguments

x

The x-coordinate in the projected system.

y

The y-coordinate in the projected system.

proj4string

An object of class 'CRS', as defined in package sp.

Value

An object of class SpatialPoints.


adokter/birdRad documentation built on Feb. 1, 2024, 3:40 p.m.