Extent of track(s)

track.extent(track, zAxis = FALSE)

Arguments

track

a list containing data.frames with x,y,z coordinates or a data.frame

zAxis

logical: return also the extent of the Z axis?

Value

Returns an extent object of the raster package in the 2–D case and a vector in the 3–D case.

Examples

track.extent(niclas, zAxis = TRUE)
#>         [,1]
#> xmin 2556476
#> xmax 2662223
#> ymin 1188336
#> ymax 1231979
#> zmin    1088
#> zmax    1807