Description Usage Arguments Value
Create points along SpatialLinesDataFrame
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
)
|
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. |
a SpatialPointsDataFrame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.