abstract class MosaicRasterSource extends RasterSource
Single threaded instance of a reader for reading windows out of collections of rasters
- Alphabetic
- By Inheritance
- MosaicRasterSource
- RasterSource
- RasterMetadata
- CellGrid
- GridIntegral
- Grid
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new MosaicRasterSource()
Abstract Value Members
-
abstract
val
crs: CRS
- Definition Classes
- MosaicRasterSource → RasterMetadata
-
abstract
def
gridExtent: GridExtent[Long]
- Definition Classes
- MosaicRasterSource → RasterMetadata
-
abstract
def
name: SourceName
Source name, that can be a path or any name that is associated with Raster
Source name, that can be a path or any name that is associated with Raster
- Definition Classes
- RasterMetadata
- abstract val sources: NonEmptyList[RasterSource]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
attributes: Map[String, String]
Return the "base" metadata, usually it is a zero band metadata, a metadata that is valid for the entire source and for the zero band
Return the "base" metadata, usually it is a zero band metadata, a metadata that is valid for the entire source and for the zero band
- Definition Classes
- MosaicRasterSource → RasterMetadata
-
def
attributesForBand(band: Int): Map[String, String]
Return a per band metadata
Return a per band metadata
- Definition Classes
- MosaicRasterSource → RasterMetadata
-
def
bandCount: Int
The bandCount of the first RasterSource in sources
The bandCount of the first RasterSource in sources
If this value is larger than the bandCount of later RasterSources in sources, reads of all bands will fail. It is a client's responsibility to construct mosaics that can be read.
- Definition Classes
- MosaicRasterSource → RasterMetadata
-
def
cellSize: CellSize
Cell size at which rasters will be read when using this RasterSource
Cell size at which rasters will be read when using this RasterSource
Note: some re-sampling of underlying raster data may be required to produce this cell size.
- Definition Classes
- RasterMetadata
-
def
cellType: CellType
- Definition Classes
- MosaicRasterSource → RasterMetadata → CellGrid
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
cols: Long
Raster pixel column count
Raster pixel column count
- Definition Classes
- RasterMetadata
-
def
convert(targetCellType: TargetCellType): RasterSource
- Definition Classes
- MosaicRasterSource → RasterSource
-
def
convert(targetCellType: CellType): RasterSource
Converts the values within the RasterSource from one CellType to another.
Converts the values within the RasterSource from one CellType to another.
Note:
GDALRasterSource differs in how it converts data from the other RasterSources. Please see the convert docs for GDALRasterSource for more information.
- Definition Classes
- RasterSource
-
lazy val
convertRaster: (Raster[MultibandTile]) ⇒ Raster[MultibandTile]
- Attributes
- protected
- Definition Classes
- RasterSource
-
def
dimensions: Dimensions[Long]
- Definition Classes
- GridIntegral → Grid
-
lazy val
dstCellType: Option[CellType]
- Attributes
- protected
- Definition Classes
- RasterSource
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
extent: Extent
- Definition Classes
- RasterMetadata
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
interpretAs(targetCellType: CellType): RasterSource
- Definition Classes
- RasterSource
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
metadata: MosaicMetadata
All available RasterSources metadata.
All available RasterSources metadata.
- Definition Classes
- MosaicRasterSource → RasterSource
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
read(bounds: GridBounds[Long], bands: Seq[Int]): Option[Raster[MultibandTile]]
Reads a window for pixel bounds.
Reads a window for pixel bounds. Return extent may be smaller than requested extent around raster edges. May return None if the requested extent does not overlap the raster extent.
- Definition Classes
- MosaicRasterSource → RasterSource
-
def
read(extent: Extent, bands: Seq[Int]): Option[Raster[MultibandTile]]
Reads a window for the extent.
Reads a window for the extent. Return extent may be smaller than requested extent around raster edges. May return None if the requested extent does not overlap the raster extent.
- Definition Classes
- MosaicRasterSource → RasterSource
-
def
read(bands: Seq[Int]): Option[Raster[MultibandTile]]
- Definition Classes
- RasterSource
-
def
read(): Option[Raster[MultibandTile]]
- Definition Classes
- RasterSource
-
def
read(bounds: GridBounds[Long]): Option[Raster[MultibandTile]]
- Definition Classes
- RasterSource
-
def
read(extent: Extent): Option[Raster[MultibandTile]]
- Definition Classes
- RasterSource
-
def
readBounds(bounds: Traversable[GridBounds[Long]]): Iterator[Raster[MultibandTile]]
- Definition Classes
- RasterSource
-
def
readBounds(bounds: Traversable[GridBounds[Long]], bands: Seq[Int]): Iterator[Raster[MultibandTile]]
- Definition Classes
- RasterSource
-
def
readExtents(extents: Traversable[Extent]): Iterator[Raster[MultibandTile]]
- Definition Classes
- RasterSource
-
def
readExtents(extents: Traversable[Extent], bands: Seq[Int]): Iterator[Raster[MultibandTile]]
- Definition Classes
- RasterSource
-
def
reproject(targetCRS: CRS, resampleTarget: ResampleTarget = DefaultTarget, method: ResampleMethod = ResampleMethod.DEFAULT, strategy: OverviewStrategy = OverviewStrategy.DEFAULT): RasterSource
Reproject to different CRS with explicit sampling reprojectOptions.
Reproject to different CRS with explicit sampling reprojectOptions.
- Definition Classes
- RasterSource
- See also
-
def
reprojectToGrid(targetCRS: CRS, grid: GridExtent[Long], method: ResampleMethod = ResampleMethod.DEFAULT, strategy: OverviewStrategy = OverviewStrategy.DEFAULT): RasterSource
Sampling grid and resolution is defined by given GridExtent.
Sampling grid and resolution is defined by given GridExtent. Resulting extent is the extent of the minimum enclosing pixel region of the data footprint in the target grid.
- Definition Classes
- RasterSource
-
def
reprojectToRegion(targetCRS: CRS, region: RasterExtent, method: ResampleMethod = ResampleMethod.DEFAULT, strategy: OverviewStrategy = OverviewStrategy.DEFAULT): RasterSource
Sampling grid and resolution is defined by given RasterExtent region.
Sampling grid and resolution is defined by given RasterExtent region. The extent of the result is also taken from given RasterExtent, this region may be larger or smaller than the footprint of the data
- Definition Classes
- RasterSource
-
def
reprojection(targetCRS: CRS, resampleTarget: ResampleTarget = DefaultTarget, method: ResampleMethod = ResampleMethod.DEFAULT, strategy: OverviewStrategy = OverviewStrategy.DEFAULT): RasterSource
Create a new MosaicRasterSource with sources transformed according to the provided crs, options, and strategy, and a new crs
Create a new MosaicRasterSource with sources transformed according to the provided crs, options, and strategy, and a new crs
- Definition Classes
- MosaicRasterSource → RasterSource
- See also
-
def
resample(resampleTarget: ResampleTarget, method: ResampleMethod, strategy: OverviewStrategy): RasterSource
- Definition Classes
- MosaicRasterSource → RasterSource
-
def
resample(targetCols: Long, targetRows: Long, method: ResampleMethod = ResampleMethod.DEFAULT, strategy: OverviewStrategy = OverviewStrategy.DEFAULT): RasterSource
Sampling grid is defined of the footprint of the data with resolution implied by column and row count.
Sampling grid is defined of the footprint of the data with resolution implied by column and row count.
- Definition Classes
- RasterSource
-
def
resampleToGrid(grid: GridExtent[Long], method: ResampleMethod = ResampleMethod.DEFAULT, strategy: OverviewStrategy = OverviewStrategy.DEFAULT): RasterSource
Sampling grid and resolution is defined by given GridExtent.
Sampling grid and resolution is defined by given GridExtent. Resulting extent is the extent of the minimum enclosing pixel region of the data footprint in the target grid.
- Definition Classes
- RasterSource
-
def
resampleToRegion(region: GridExtent[Long], method: ResampleMethod = ResampleMethod.DEFAULT, strategy: OverviewStrategy = OverviewStrategy.DEFAULT): RasterSource
Sampling grid and resolution is defined by given RasterExtent region.
Sampling grid and resolution is defined by given RasterExtent region. The extent of the result is also taken from given RasterExtent, this region may be larger or smaller than the footprint of the data
- Definition Classes
- RasterSource
-
def
resolutions: List[CellSize]
All available resolutions for all RasterSources in this MosaicRasterSource
All available resolutions for all RasterSources in this MosaicRasterSource
- Definition Classes
- MosaicRasterSource → RasterMetadata
- See also
-
def
rows: Long
Raster pixel row count
Raster pixel row count
- Definition Classes
- RasterMetadata
-
def
size: Long
- Definition Classes
- GridIntegral → Grid
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
targetCellType: None.type
- Definition Classes
- MosaicRasterSource → RasterSource
-
def
toString(): String
- Definition Classes
- MosaicRasterSource → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
Inherited from RasterSource
Inherited from RasterMetadata
Inherited from GridIntegral[Long]
Inherited from Serializable
Inherited from Serializable
Inherited from AnyRef
Inherited from Any
convert
Read
Functions to read windows of data from a raster source.
reproject a
Resample
Functions to resample raster data in native projection.
Reproject
Functions to resample raster data in target projection.