final case class GDALDataset(token: Long) extends AnyVal with Product with Serializable

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

Instance Constructors

  1. new GDALDataset(token: Long)

Value Members

  1. def bandCount(datasetType: DatasetType): Int
  2. def bandCount: Int
  3. def cellSize(transform: Array[Double]): CellSize
  4. def cellSize(datasetType: DatasetType): CellSize

    https://github.com/mapbox/rasterio/blob/1.2b1/rasterio/_base.pyx#L865-L895

    https://github.com/mapbox/rasterio/blob/1.2b1/rasterio/_base.pyx#L865-L895

    Note for a reader: affine.Affine(a, b, c, d, e, f) GDALTransform(c, a, b, f, d, e)

    See https://rasterio.readthedocs.io/en/latest/topics/migrating-to-v1.html?highlight=Affine#affine-affine-vs-gdal-style-geotransforms

  5. def cellSize: CellSize
  6. def cellType(datasetType: DatasetType): CellType
  7. def cellType: CellType
  8. def crs(datasetType: DatasetType): CRS
  9. def crs: CRS
  10. def dataType(datasetType: DatasetType): Int
  11. def dataType: Int
  12. def dimensions(datasetType: DatasetType): Dimensions[Int]
  13. def dimensions: Dimensions[Int]
  14. def extent(transform: Array[Double], cols: Int, rows: Int): Extent

    Compute extent, takes into account a possible rotation.

    Compute extent, takes into account a possible rotation.

    https://github.com/mapbox/rasterio/blob/1.2b1/rasterio/_base.pyx#L865-L895

    Note for a reader: affine.Affine(a, b, c, d, e, f) GDALTransform(c, a, b, f, d, e)

    https://gdal.org/user/raster_data_model.html#affine-geotransform https://github.com/mapbox/rasterio/blob/1.2b1/rasterio/_base.pyx#L865-L895

  15. def extent(datasetType: DatasetType): Extent
  16. def extent: Extent
  17. def getAllMetadata(datasetType: DatasetType, band: Int): Map[GDALMetadataDomain, Map[String, String]]
  18. def getAllMetadata(band: Int): Map[GDALMetadataDomain, Map[String, String]]
  19. def getAllMetadataFlatten(datasetType: DatasetType): Map[String, String]
  20. def getAllMetadataFlatten: Map[String, String]
  21. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  22. def getMetadata(datasetType: DatasetType, domain: GDALMetadataDomain, band: Int): Map[String, String]
  23. def getMetadata(domain: GDALMetadataDomain, band: Int): Map[String, String]
  24. def getMetadata(datasetType: DatasetType, domains: List[GDALMetadataDomain], band: Int): Map[GDALMetadataDomain, Map[String, String]]
  25. def getMetadata(domains: List[GDALMetadataDomain], band: Int): Map[GDALMetadataDomain, Map[String, String]]
  26. def getMetadataDomainList(datasetType: DatasetType, band: Int): List[GDALMetadataDomain]

    https://github.com/OSGeo/gdal/blob/b1c9c12ad373e40b955162b45d704070d4ebf7b0/gdal/doc/source/development/rfc/rfc43_getmetadatadomainlist.rst

  27. def getMetadataDomainList(band: Int): List[GDALMetadataDomain]
  28. def getMetadataItem(datasetType: DatasetType, key: String, domain: GDALMetadataDomain, band: Int): String
  29. def getMetadataItem(key: String, domain: GDALMetadataDomain, band: Int): String
  30. def getProjection(datasetType: DatasetType): Option[String]
  31. def getProjection: Option[String]
  32. def getTransform(datasetType: DatasetType): Array[Double]
  33. def getTransform: Array[Double]
  34. def noDataValue(datasetType: DatasetType): Option[Double]
  35. def noDataValue: Option[Double]
  36. def overviewDimensions(datasetType: DatasetType): List[Dimensions[Int]]
  37. def overviewDimensions: List[Dimensions[Int]]
  38. def rasterExtent(datasetType: DatasetType): RasterExtent

    Even though GeoTrellis doesn't support rotation fully, we still can properly compute the Dataset Extent.

    Even though GeoTrellis doesn't support rotation fully, we still can properly compute the Dataset Extent.

    https://gdal.org/user/raster_data_model.html#affine-geotransform https://github.com/mapbox/rasterio/blob/1.2b1/rasterio/_base.pyx#L865-L895 Previous revision code reference: https://github.com/locationtech/geotrellis/blob/v3.5.1/gdal/src/main/scala/geotrellis/raster/gdal/GDALDataset.scala#L128

  39. def rasterExtent: RasterExtent
  40. def readMultibandRaster(gb: GridBounds[Int] = GridBounds(dimensions), bands: Seq[Int] = 1 to bandCount, datasetType: DatasetType = GDALDataset.WARPED): Raster[MultibandTile]
  41. def readMultibandTile(gb: GridBounds[Int] = GridBounds(dimensions), bands: Seq[Int] = 1 to bandCount, datasetType: DatasetType = GDALDataset.WARPED): MultibandTile
  42. def readTile(gb: GridBounds[Int] = GridBounds(dimensions), band: Int, datasetType: DatasetType = GDALDataset.WARPED): Tile
  43. def resolutions(datasetType: DatasetType): List[RasterExtent]
  44. def resolutions: List[RasterExtent]
  45. val token: Long