Learn R Programming

rCAT (version 0.1.6)

simProjWiz: Simple Projection Wizard

Description

Projects any set of lat long points to a "suitable" area projection, based on it's "true centre of gravity"

Usage

simProjWiz(thepoints, thecentre)

Arguments

thepoints

set of points in latitude and longtitude ie c(lat,long)

thecentre

one point ie c(lat,long)

Value

set of points in metres (x,y)

Details

Simple equal area projection wizard

References

<U+0160>avric, B., Jenny, B., Jenny, H., 2016. Projection Wizard <U+2013> An Online Map Projection Selection Tool. Cartogr. J. 53, 1<U+2013>9. doi:10.1080/00087041.2015.1131938

Snyder, J.P., 1987. Map projections: A working manual, Professional Paper. Washington, D.C.

Examples

Run this code
# NOT RUN {
lat <- runif (200,-24,-12)
long <- runif (200,43,51)
ll <- data.frame(lat,long)
cp <- trueCOGll(ll)
pointsprojected <- simProjWiz(ll,cp)
# }

Run the code above in your browser using DataLab