Description Usage Arguments Examples
View source: R/write_SIG_layer_functions.R
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.
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)
|
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 |
1 | write_shapefiles(df,"SIG/")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.