Learn R Programming

spNetwork (version 0.4.4.6)

lines_points_along: Points along lines

Description

Generate a feature collection of points along the lines of feature collection of Linestrings.

Usage

lines_points_along(lines, dist)

Value

A feature collection of points

Arguments

lines

A feature collection of linestrings to use

dist

The distance between the points along the lines

Examples

Run this code
# \donttest{
data(mtl_network)
new_pts <- lines_points_along(mtl_network,50)
# }

Run the code above in your browser using DataLab