
geotrellis.raster.resample.MultibandTileResampleMethods.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geotrellis-raster_2.10 Show documentation
Show all versions of geotrellis-raster_2.10 Show documentation
GeoTrellis is an open source geographic data processing engine for high performance applications.
package geotrellis.raster.resample
import geotrellis.raster._
import geotrellis.vector._
trait MultibandTileResampleMethods extends TileResampleMethods[MultibandTile] {
def resample(extent: Extent, target: RasterExtent, method: ResampleMethod): MultibandTile =
Raster(self, extent).resample(target, method).tile
def resample(extent: Extent, targetCols: Int, targetRows: Int, method: ResampleMethod): MultibandTile =
Raster(self, extent).resample(targetCols, targetRows, method).tile
}