Line Statistics#

length(features, like_rast, radius[, ...])

Calculate a raster where each cell is the net length of all features within a given radius.