adapt: Adapts geographical positions

Description Usage Arguments Value Note

View source: R/adapt.R

Description

Adapts geographical positions for further geo-use.

Usage

1
adapt(reg.lat, reg.lon, projection = "Mercator")

Arguments

reg.lat

Latitude or y-coordinate

reg.lon

Longitude or x-coordinate

projection

Projection, default "Mercator", "none" denotes x/y coordinates

Value

Returns a list of either:

x, y

x- and y-positions

or:

lat, lon

Latitude and longitude

and:

lxv

index of uninterupted/contiguous positions

Note

Needs further elaboration, this function is called by geoarea.old, geoinside, inside and pointkriging.


geo documentation built on May 29, 2017, 5:36 p.m.