reproj: Reproject coordinates to longlat

Description Usage Arguments Value Examples

View source: R/reproj.R

Description

Reprojects coordinates to tbe preferred coordinate system of Google Maps. Removes all NA, but keep row index number for reference.

Usage

1
reproj(x, y, crs)

Arguments

x

a vector of x - coordinates

y

a vector of y - coordinates

crs

coordinate system (before reproject)

df

data frame with coordinates

Value

A data frame with coordinates in Google Maps preferred format

Examples

1
reproj(x = 317105, y = 6776765, crs = "+proj=utm +zone=32N +datum=WGS84")

kjetilhaukas/gmapi documentation built on Jan. 1, 2021, 7:20 a.m.