Description Usage Arguments Value Examples
This function will remove unchained parts of the lines layer that can cause issues when executing v.net.steiner. After removing those parts, the layer is imported into grass to execute v.clean and v.build to repare topology issues#'
1 | CleanLines(x)
|
x |
SpatialLinesDataFrame (network) |
SLDF ready to use in v.net and v.net.steiner
1 2 3 4 5 6 7 | ## Not run:
setGRASS(gisBase = "/usr/lib/grass78", epsg= 25829)
data("l")
lc <- CleanLines(l[1:100,])
mapview(l[1:100,])+lc
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.