Class

geotrellis.store

GeoTrellisResampleRasterSource

Related Doc: package store

Permalink

class GeoTrellisResampleRasterSource extends RasterSource

RasterSource that resamples on read from underlying GeoTrellis layer.

Note: The constructor is unfriendly. This class is not intended to constructed directly by the users. Refer to GeoTrellisRasterSource for example of correct setup. It is expected that the caller has significant pre-computed information about the layers.

Linear Supertypes
RasterSource, RasterMetadata, CellGrid[Long], Grid[Long], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GeoTrellisResampleRasterSource
  2. RasterSource
  3. RasterMetadata
  4. CellGrid
  5. Grid
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GeoTrellisResampleRasterSource(attributeStore: AttributeStore, dataPath: GeoTrellisPath, layerId: LayerId, sourceLayers: Stream[Layer], gridExtent: GridExtent[Long], resampleMethod: ResampleMethod = ResampleMethod.DEFAULT, time: Option[ZonedDateTime] = None, targetCellType: Option[TargetCellType] = None)

    Permalink

    attributeStore

    the source of metadata for the layers, used for reading

    dataPath

    dataPath of the GeoTrellis catalog that can format a given path to be read in by a AttributeStore

    layerId

    The specific layer we're sampling from

    sourceLayers

    list of layers we can can sample from for futher resample

    gridExtent

    the desired pixel grid for the layer

    resampleMethod

    Resampling method used when fitting data to target grid

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val attributeStore: AttributeStore

    Permalink

    the source of metadata for the layers, used for reading

  6. def attributes: Map[String, String]

    Permalink
    Definition Classes
    GeoTrellisResampleRasterSource → RasterMetadata
  7. def attributesForBand(band: Int): Map[String, String]

    Permalink

    GeoTrellis metadata doesn't allow to query a per band metadata by default.

    GeoTrellis metadata doesn't allow to query a per band metadata by default.

    Definition Classes
    GeoTrellisResampleRasterSource → RasterMetadata
  8. def bandCount: Int

    Permalink
    Definition Classes
    GeoTrellisResampleRasterSource → RasterMetadata
  9. def cellSize: CellSize

    Permalink
    Definition Classes
    RasterMetadata
  10. def cellType: CellType

    Permalink
    Definition Classes
    GeoTrellisResampleRasterSource → RasterMetadata → CellGrid
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def cols: Long

    Permalink
    Definition Classes
    RasterMetadata
  13. def convert(targetCellType: TargetCellType): GeoTrellisResampleRasterSource

    Permalink
    Definition Classes
    GeoTrellisResampleRasterSource → RasterSource
  14. def convert(targetCellType: CellType): RasterSource

    Permalink
    Definition Classes
    RasterSource
  15. lazy val convertRaster: (Raster[MultibandTile]) ⇒ Raster[MultibandTile]

    Permalink
    Attributes
    protected
    Definition Classes
    RasterSource
  16. def crs: CRS

    Permalink
    Definition Classes
    GeoTrellisResampleRasterSource → RasterMetadata
  17. val dataPath: GeoTrellisPath

    Permalink

    dataPath of the GeoTrellis catalog that can format a given path to be read in by a AttributeStore

  18. def dimensions: Dimensions[Long]

    Permalink
    Definition Classes
    Grid
  19. lazy val dstCellType: Option[CellType]

    Permalink
    Attributes
    protected
    Definition Classes
    RasterSource
  20. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  22. def extent: Extent

    Permalink
    Definition Classes
    RasterMetadata
  23. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. val gridExtent: GridExtent[Long]

    Permalink

    the desired pixel grid for the layer

    the desired pixel grid for the layer

    Definition Classes
    GeoTrellisResampleRasterSource → RasterMetadata
  26. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  27. def interpretAs(targetCellType: CellType): RasterSource

    Permalink
    Definition Classes
    RasterSource
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. val layerId: LayerId

    Permalink

    The specific layer we're sampling from

  30. def metadata: GeoTrellisMetadata

    Permalink
    Definition Classes
    GeoTrellisResampleRasterSource → RasterSource
  31. def name: GeoTrellisPath

    Permalink
    Definition Classes
    GeoTrellisResampleRasterSource → RasterMetadata
  32. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. def read(bounds: GridBounds[Long], bands: Seq[Int]): Option[Raster[MultibandTile]]

    Permalink
    Definition Classes
    GeoTrellisResampleRasterSource → RasterSource
  36. def read(extent: Extent, bands: Seq[Int]): Option[Raster[MultibandTile]]

    Permalink
    Definition Classes
    GeoTrellisResampleRasterSource → RasterSource
  37. def read(bands: Seq[Int]): Option[Raster[MultibandTile]]

    Permalink
    Definition Classes
    RasterSource
  38. def read(): Option[Raster[MultibandTile]]

    Permalink
    Definition Classes
    RasterSource
  39. def read(bounds: GridBounds[Long]): Option[Raster[MultibandTile]]

    Permalink
    Definition Classes
    RasterSource
  40. def read(extent: Extent): Option[Raster[MultibandTile]]

    Permalink
    Definition Classes
    RasterSource
  41. def readBounds(bounds: Traversable[GridBounds[Long]], bands: Seq[Int]): Iterator[Raster[MultibandTile]]

    Permalink
    Definition Classes
    GeoTrellisResampleRasterSource → RasterSource
  42. def readBounds(bounds: Traversable[GridBounds[Long]]): Iterator[Raster[MultibandTile]]

    Permalink
    Definition Classes
    RasterSource
  43. def readExtents(extents: Traversable[Extent], bands: Seq[Int]): Iterator[Raster[MultibandTile]]

    Permalink
    Definition Classes
    GeoTrellisResampleRasterSource → RasterSource
  44. def readExtents(extents: Traversable[Extent]): Iterator[Raster[MultibandTile]]

    Permalink
    Definition Classes
    RasterSource
  45. lazy val reader: CollectionLayerReader[LayerId]

    Permalink
  46. def reproject(targetCRS: CRS, resampleTarget: ResampleTarget, method: ResampleMethod, strategy: OverviewStrategy): RasterSource

    Permalink
    Definition Classes
    RasterSource
  47. def reprojectToGrid(targetCRS: CRS, grid: GridExtent[Long], method: ResampleMethod, strategy: OverviewStrategy): RasterSource

    Permalink
    Definition Classes
    RasterSource
  48. def reprojectToRegion(targetCRS: CRS, region: RasterExtent, method: ResampleMethod, strategy: OverviewStrategy): RasterSource

    Permalink
    Definition Classes
    RasterSource
  49. def reprojection(targetCRS: CRS, resampleTarget: ResampleTarget = DefaultTarget, method: ResampleMethod = ResampleMethod.DEFAULT, strategy: OverviewStrategy = OverviewStrategy.DEFAULT): GeoTrellisReprojectRasterSource

    Permalink
    Definition Classes
    GeoTrellisResampleRasterSource → RasterSource
  50. def resample(resampleTarget: ResampleTarget, method: ResampleMethod, strategy: OverviewStrategy): GeoTrellisResampleRasterSource

    Permalink

    Resample underlying RasterSource to new grid extent Note: ResampleTarget will be applied to GridExtent of the source layer, not the GridExtent of this RasterSource

    Resample underlying RasterSource to new grid extent Note: ResampleTarget will be applied to GridExtent of the source layer, not the GridExtent of this RasterSource

    Definition Classes
    GeoTrellisResampleRasterSource → RasterSource
  51. def resample(targetCols: Long, targetRows: Long, method: ResampleMethod, strategy: OverviewStrategy): RasterSource

    Permalink
    Definition Classes
    RasterSource
  52. val resampleMethod: ResampleMethod

    Permalink

    Resampling method used when fitting data to target grid

  53. def resampleToGrid(grid: GridExtent[Long], method: ResampleMethod, strategy: OverviewStrategy): RasterSource

    Permalink
    Definition Classes
    RasterSource
  54. def resampleToRegion(region: GridExtent[Long], method: ResampleMethod, strategy: OverviewStrategy): RasterSource

    Permalink
    Definition Classes
    RasterSource
  55. lazy val resolutions: List[CellSize]

    Permalink
    Definition Classes
    GeoTrellisResampleRasterSource → RasterMetadata
  56. def rows: Long

    Permalink
    Definition Classes
    RasterMetadata
  57. def size: Long

    Permalink
    Definition Classes
    Grid
  58. lazy val sourceGridExtent: GridExtent[Long]

    Permalink

    GridExtent of source pixels that needs to be resampled

  59. lazy val sourceLayer: Layer

    Permalink

    Source layer metadata that needs to be resampled

  60. val sourceLayers: Stream[Layer]

    Permalink

    list of layers we can can sample from for futher resample

  61. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  62. val targetCellType: Option[TargetCellType]

    Permalink
    Definition Classes
    GeoTrellisResampleRasterSource → RasterSource
  63. val time: Option[ZonedDateTime]

    Permalink
  64. def toString(): String

    Permalink
    Definition Classes
    GeoTrellisResampleRasterSource → AnyRef → Any
  65. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  66. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  67. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from RasterSource

Inherited from RasterMetadata

Inherited from CellGrid[Long]

Inherited from Grid[Long]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped