Project or reproject coordinates

Description

Project or reproject coordinates of a LoCoH-xy object

Usage

1
2
lxy.reproject(lxy, proj, dt.int.round.to = 0.1, tau.diff.max = 0.02,
  status = TRUE)

Arguments

lxy

A LoCoH-xy object

proj

Projection object of class CRS-class

dt.int.round.to

The proportion of the median sampling frequency that time intervals will be rounded to when computing the frequency table of sampling intervals (no change is made to the time stamps)

tau.diff.max

The maximum deviation from tau (expressed as a proportion of tau) that a point-to-point time difference must fall within for the point-to-point distance to be included in the calculation of the median step length

status

Show status messages (T/F)

Details

This function will reproject the locations to a new coordinate system. In order for this to work,

Note that not all coordinate systems can be projected into all other coordinate systems. If you get an error message like 'non finite transformation detected', the coordinate system you are trying to project into may not be compatible with the existing coordinate system.

See Also

lxy.proj.add, summary.locoh.lxy, CRS

Examples

1
2
3
4
## Not run: 
lxy.utm <- lxy.reproject(lxy, CRS("+proj=utm +north +zone=18 +ellps=WGS84"))

## End(Not run)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.