View source: R/powerlines-classify_wires.R
| classify_wires | R Documentation |
Classify wires using the output of track_wires. Using wire profiles and some knowledge on the geometry of the towers it creates a cloth below the wires and classifies everything that is above this cloth will be classifies a wire exept the transmission towers. This the transmission tower classification must be performed first.
classify_wires(las, wires, dtm)
las |
An object of class LAS. |
wires |
A |
dtm |
A RasterLayer. The digital terrain model is need to get the relative elevations |
Roussel J, Achim A, Auty D. 2021. Classification of high-voltage power line structures in low density ALS data acquired over broad non-urban areas. PeerJ Computer Science 7:e672 https://doi.org/10.7717/peerj-cs.672
Other electrical network:
classify_transmissiontowers(),
get_tower_spec(),
track_wires()
# A simple file with wires already clipped from 4 files + shapefile
# of the network
LASfile <- system.file("extdata", "wires.laz", package="lidRplugins")
wireshp <- system.file("extdata", "wires.shp", package="lidRplugins")
dtmtif <- system.file("extdata", "wire-dtm.tif", package="lidRplugins")
las <- readLAS(LASfile, select = "xyzc")
network <- sf::st_read(wireshp)
dtm <- raster::raster(dtmtif)
towers <- find_transmissiontowers(las, network, dtm, "waist-type")
las <- classify_transmissiontowers(las, towers, dtm)
wires <- track_wires(towers, network, dtm, "waist-type")
las <- classify_wires(las, wires, dtm)
plot(las, color = "Classification")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.