write_shapefiles: Write points and lines shapefiles for movement data/

Description Usage Arguments Examples

View source: R/write_SIG_layer_functions.R

Description

write_shapefiles takes a dataframe with movement data from several animals, splits it into the requested burst and write 2 shapefiles for each burst. One with points and one with lines.

Usage

1
2
3
write_shapefiles(df, dir, KML = FALSE, coord.x1 = "x", coord.x2 = "y",
  proj4string = "+proj=longlat +datum=WGS84 +no_defs", burst = "id",
  verbose = F)

Arguments

df

data.frame with movement data

dir

directory for writing the files

KML

if true also write KML files into a KML subdirectory

coord.x1

first coordinates

coord.x2

second coordinates

proj4string

CRS projection string for coordinates

burst

colnames for separating the different files to write

verbose

if true print burst progress

Examples

1

rpatin/gpstools documentation built on Sept. 25, 2021, 7:47 a.m.