All Downloads are FREE. Search and download functionalities are using the official Maven repository.

geotrellis.raster.resample.SinglebandTileResampleMethods.scala Maven / Gradle / Ivy

Go to download

GeoTrellis is an open source geographic data processing engine for high performance applications.

There is a newer version: 0.10.3
Show newest version
package geotrellis.raster.resample

import geotrellis.raster._
import geotrellis.vector._

trait SinglebandTileResampleMethods extends TileResampleMethods[Tile] {
  def resample(extent: Extent, target: RasterExtent, method: ResampleMethod): Tile =
    Raster(self, extent).resample(target, method).tile

  def resample(extent: Extent, targetCols: Int, targetRows: Int, method: ResampleMethod): Tile =
    Raster(self, extent).resample(targetCols, targetRows, method).tile
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy