wgs_to_proj: A wrapper for 'spTransform()'. Converts geographic (WGS84)...

View source: R/utils.R

wgs_to_projR Documentation

A wrapper for spTransform(). Converts geographic (WGS84) coordinates to a specified projection

Description

A wrapper for spTransform(). Converts geographic (WGS84) coordinates to a specified projection

Usage

wgs_to_proj(lon, lat, proj4string)

Arguments

lon

Longitude

lat

Latitude

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.