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

View source: R/utils.R

proj_to_wgsR Documentation

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

Description

A wrapper for sp::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 Nov. 5, 2024, 10:27 p.m.