Class/Object

geotrellis.raster.geotiff

GeoTiffResampleRasterSource

Related Docs: object GeoTiffResampleRasterSource | package geotiff

Permalink

class GeoTiffResampleRasterSource extends RasterSource

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GeoTiffResampleRasterSource
  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 GeoTiffResampleRasterSource(dataPath: GeoTiffPath, resampleTarget: ResampleTarget, method: resample.ResampleMethod = ResampleMethod.DEFAULT, strategy: OverviewStrategy = OverviewStrategy.DEFAULT, targetCellType: Option[TargetCellType] = None, baseTiff: Option[MultibandGeoTiff] = None)

    Permalink

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. def attributes: Map[String, String]

    Permalink

    Returns the GeoTiff head tags.

    Returns the GeoTiff head tags.

    Definition Classes
    GeoTiffResampleRasterSourceRasterMetadata
  6. def attributesForBand(band: Int): Map[String, String]

    Permalink

    Returns the GeoTiff per band tags.

    Returns the GeoTiff per band tags.

    Definition Classes
    GeoTiffResampleRasterSourceRasterMetadata
  7. def bandCount: Int

    Permalink
  8. def cellSize: CellSize

    Permalink

    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
  9. def cellType: CellType

    Permalink
  10. def clone(): AnyRef

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

    Permalink

    Raster pixel column count

    Raster pixel column count

    Definition Classes
    RasterMetadata
  12. def convert(targetCellType: TargetCellType): RasterSource

    Permalink
  13. def convert(targetCellType: CellType): RasterSource

    Permalink

    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
  14. lazy val convertRaster: (Raster[MultibandTile]) ⇒ Raster[MultibandTile]

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

    Permalink
  16. val dataPath: GeoTiffPath

    Permalink
  17. def dimensions: Dimensions[Long]

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

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

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

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

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

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

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

    Permalink
  25. def hashCode(): Int

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

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

    Permalink
    Definition Classes
    Any
  28. def metadata: GeoTiffMetadata

    Permalink

    All available RasterSource metadata

    All available RasterSource metadata

    Definition Classes
    GeoTiffResampleRasterSourceRasterSource
  29. val method: resample.ResampleMethod

    Permalink
  30. def name: GeoTiffPath

    Permalink

    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
    GeoTiffResampleRasterSourceRasterMetadata
  31. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink

    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
    GeoTiffResampleRasterSourceRasterSource
  35. def read(extent: Extent, bands: Seq[Int]): Option[Raster[MultibandTile]]

    Permalink

    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
    GeoTiffResampleRasterSourceRasterSource
  36. def read(bands: Seq[Int]): Option[Raster[MultibandTile]]

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

  41. def readBounds(bounds: Traversable[GridBounds[Long]]): Iterator[Raster[MultibandTile]]

    Permalink

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

    Permalink

  43. def readExtents(extents: Traversable[Extent]): Iterator[Raster[MultibandTile]]

    Permalink

    Definition Classes
    RasterSource
  44. def reproject(targetCRS: CRS, resampleTarget: ResampleTarget = DefaultTarget, method: ResampleMethod = ResampleMethod.DEFAULT, strategy: OverviewStrategy = OverviewStrategy.DEFAULT): RasterSource

    Permalink

    Reproject to different CRS with explicit sampling reprojectOptions.

    Reproject to different CRS with explicit sampling reprojectOptions.

    Definition Classes
    RasterSource
    See also

    geotrellis.raster.reproject.Reproject

  45. def reprojectToGrid(targetCRS: CRS, grid: GridExtent[Long], method: ResampleMethod = ResampleMethod.DEFAULT, strategy: OverviewStrategy = OverviewStrategy.DEFAULT): RasterSource

    Permalink

    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
  46. def reprojectToRegion(targetCRS: CRS, region: RasterExtent, method: ResampleMethod = ResampleMethod.DEFAULT, strategy: OverviewStrategy = OverviewStrategy.DEFAULT): RasterSource

    Permalink

    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
  47. def reprojection(targetCRS: CRS, resampleTarget: ResampleTarget = DefaultTarget, method: resample.ResampleMethod = ResampleMethod.DEFAULT, strategy: OverviewStrategy = OverviewStrategy.DEFAULT): GeoTiffReprojectRasterSource

    Permalink
  48. def resample(resampleTarget: ResampleTarget, method: resample.ResampleMethod, strategy: OverviewStrategy): RasterSource

    Permalink
  49. def resample(targetCols: Long, targetRows: Long, method: ResampleMethod = ResampleMethod.DEFAULT, strategy: OverviewStrategy = OverviewStrategy.DEFAULT): RasterSource

    Permalink

    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
  50. def resampleMethod: Option[resample.ResampleMethod]

    Permalink
  51. val resampleTarget: ResampleTarget

    Permalink
  52. def resampleToGrid(grid: GridExtent[Long], method: ResampleMethod = ResampleMethod.DEFAULT, strategy: OverviewStrategy = OverviewStrategy.DEFAULT): RasterSource

    Permalink

    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
  53. def resampleToRegion(region: GridExtent[Long], method: ResampleMethod = ResampleMethod.DEFAULT, strategy: OverviewStrategy = OverviewStrategy.DEFAULT): RasterSource

    Permalink

    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
  54. lazy val resolutions: List[CellSize]

    Permalink

    All available overview resolutions for this raster source

    All available overview resolutions for this raster source

    • For base RasterSource instance this will be resolutions of available overviews including the base resolution.
    • For reprojected RasterSource these resolutions represent an estimate where each cell in target CRS has approximately the same geographic coverage as a cell in the source CRS.

    For compatibility with OverviewStrategy, this list should be sorted from the most resolute cell size to the least resolute cell size, as determined by _.resolution.

    When reading raster data the underlying implementation will have to sample from one of these resolutions. It is possible that a read request for a small bounding box will results in significant IO request when the target cell size is much larger than closest available resolution.

    Definition Classes
    GeoTiffResampleRasterSourceRasterMetadata
  55. def rows: Long

    Permalink

    Raster pixel row count

    Raster pixel row count

    Definition Classes
    RasterMetadata
  56. def size: Long

    Permalink
    Definition Classes
    Grid
  57. val strategy: OverviewStrategy

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

    Permalink
    Definition Classes
    AnyRef
  59. def tags: Tags

    Permalink
  60. lazy val tiff: MultibandGeoTiff

    Permalink
  61. def toString(): String

    Permalink
    Definition Classes
    GeoTiffResampleRasterSource → AnyRef → Any
  62. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  64. 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

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.

Ungrouped