case class GDALMetadata(name: SourceName, crs: CRS, bandCount: Int, cellType: CellType, gridExtent: GridExtent[Long], resolutions: List[CellSize], baseMetadata: Map[GDALMetadataDomain, Map[String, String]] = Map.empty, bandsMetadata: List[Map[GDALMetadataDomain, Map[String, String]]] = Nil) extends RasterMetadata with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GDALMetadata
  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 GDALMetadata(name: SourceName, crs: CRS, bandCount: Int, cellType: CellType, gridExtent: GridExtent[Long], resolutions: List[CellSize], baseMetadata: Map[GDALMetadataDomain, Map[String, String]] = Map.empty, bandsMetadata: List[Map[GDALMetadataDomain, Map[String, String]]] = Nil)

Value Members

  1. def attributes: Map[String, String]

    Returns the GDAL metadata merged into a single metadata domain.

    Returns the GDAL metadata merged into a single metadata domain.

    Definition Classes
    GDALMetadataRasterMetadata
  2. def attributesForBand(band: Int): Map[String, String]

    Returns the GDAL per band metadata merged into a single metadata domain.

    Returns the GDAL per band metadata merged into a single metadata domain.

    Definition Classes
    GDALMetadataRasterMetadata
  3. val bandCount: Int
    Definition Classes
    GDALMetadataRasterMetadata
  4. val bandsMetadata: List[Map[GDALMetadataDomain, Map[String, String]]]
  5. val baseMetadata: Map[GDALMetadataDomain, Map[String, String]]
  6. 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
  7. val cellType: CellType
    Definition Classes
    GDALMetadataRasterMetadata
  8. def cols: Long

    Raster pixel column count

    Raster pixel column count

    Definition Classes
    RasterMetadata
  9. val crs: CRS
    Definition Classes
    GDALMetadataRasterMetadata
  10. def extent: Extent
    Definition Classes
    RasterMetadata
  11. val gridExtent: GridExtent[Long]
    Definition Classes
    GDALMetadataRasterMetadata
  12. 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
    GDALMetadataRasterMetadata
  13. 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
    GDALMetadataRasterMetadata
  14. def rows: Long

    Raster pixel row count

    Raster pixel row count

    Definition Classes
    RasterMetadata