create_pts: Create points along SpatialLinesDataFrame

Description Usage Arguments Value

View source: R/create_pts.R

Description

Create points along SpatialLinesDataFrame

Usage

1
2
3
4
5
6
7
8
create_pts(
  l,
  id_l = "ID_LINES",
  id_p = "ID_PTS",
  step = 5,
  ncores = NULL,
  p = T
)

Arguments

l

a SpatialLinesDataFrame

id_l

default NULL. A character string. If NULL, row.names is use. If set, it define column name used.

id_p

default "ID_PTS". A character string. If set, it define column name of unique points IDs.

step

defautl 5. An integer. Define the distance between two points along the line in meters.

ncores

default NULL. An integer. If NULL all CPU cores - 1 are used. If set, define number of CPU cores used.

p

default TRUE. Logical. Define if function use multithreading.

Value

a SpatialPointsDataFrame


naub1n/nnl documentation built on Nov. 19, 2020, 3:44 a.m.