Packages

c

geotrellis.store

GeoTrellisMetadata

case class GeoTrellisMetadata(name: SourceName, crs: CRS, bandCount: Int, cellType: CellType, gridExtent: GridExtent[Long], resolutions: List[CellSize], attributes: Map[String, String]) extends RasterMetadata with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GeoTrellisMetadata
  2. Product
  3. Equals
  4. RasterMetadata
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GeoTrellisMetadata(name: SourceName, crs: CRS, bandCount: Int, cellType: CellType, gridExtent: GridExtent[Long], resolutions: List[CellSize], attributes: Map[String, String])

Value Members

  1. val 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
    GeoTrellisMetadataRasterMetadata
  2. def attributesForBand(band: Int): Map[String, String]

    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
    GeoTrellisMetadataRasterMetadata
  3. val bandCount: Int
    Definition Classes
    GeoTrellisMetadataRasterMetadata
  4. 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
  5. val cellType: CellType
    Definition Classes
    GeoTrellisMetadataRasterMetadata
  6. def cols: Long

    Raster pixel column count

    Raster pixel column count

    Definition Classes
    RasterMetadata
  7. val crs: CRS
    Definition Classes
    GeoTrellisMetadataRasterMetadata
  8. def extent: Extent
    Definition Classes
    RasterMetadata
  9. val gridExtent: GridExtent[Long]
    Definition Classes
    GeoTrellisMetadataRasterMetadata
  10. val 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
    GeoTrellisMetadataRasterMetadata
  11. val resolutions: List[CellSize]

    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
    GeoTrellisMetadataRasterMetadata
  12. def rows: Long

    Raster pixel row count

    Raster pixel row count

    Definition Classes
    RasterMetadata