geotrellis.raster.hydrology.HydrologyMethods.scala Maven / Gradle / Ivy
package geotrellis.raster.hydrology
import geotrellis.raster.mapalgebra.focal.Square
import geotrellis.raster.Tile
import geotrellis.util.MethodExtensions
trait HydrologyMethods extends MethodExtensions[Tile] {
def accumulation(): Tile = Accumulation(self)
/** Operation to compute a flow direction raster from an elevation raster
* @see [[FlowDirection]]
*/
def flowDirection(): Tile = FlowDirection(self)
/** Fills sink values in a raster. Returns a Tile of DoubleConstantNoDataCellType
* @see [[Fill]]
*/
def fill(threshold: Double): Tile = Fill(self, Square(1), None, threshold)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy