Learn R Programming

spNetwork (version 0.2.1)

cut_lines_at_distance: Cut lines at a specified distance

Description

Cut lines (SpatialLines) at a specified distance from the begining of the lines.

Usage

cut_lines_at_distance(lines, dists)

Arguments

lines

The SpatialLinesDataframe to cut

dists

A vector of distances, if only one value is given, each line will be cut at that distance.

Value

An object of class SpatialLinesDataFrame (package sp)

Examples

Run this code
# NOT RUN {
# This is an interal function, no example provided
# }

Run the code above in your browser using DataLab