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

View source: R/utils.R

wgs_to_projR Documentation

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

Description

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