final case class GDALDataset(token: Long) extends AnyVal with Product with Serializable
- Alphabetic
- By Inheritance
- GDALDataset
- Serializable
- Serializable
- Product
- Equals
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bandCount(datasetType: DatasetType): Int
- def bandCount: Int
- def cellSize(transform: Array[Double]): CellSize
-
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
- def cellSize: CellSize
- def cellType(datasetType: DatasetType): CellType
- def cellType: CellType
- def crs(datasetType: DatasetType): CRS
- def crs: CRS
- def dataType(datasetType: DatasetType): Int
- def dataType: Int
- def dimensions(datasetType: DatasetType): Dimensions[Int]
- def dimensions: Dimensions[Int]
-
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
- def extent(datasetType: DatasetType): Extent
- def extent: Extent
- def getAllMetadata(datasetType: DatasetType, band: Int): Map[GDALMetadataDomain, Map[String, String]]
- def getAllMetadata(band: Int): Map[GDALMetadataDomain, Map[String, String]]
- def getAllMetadataFlatten(datasetType: DatasetType): Map[String, String]
- def getAllMetadataFlatten: Map[String, String]
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def getMetadata(datasetType: DatasetType, domain: GDALMetadataDomain, band: Int): Map[String, String]
- def getMetadata(domain: GDALMetadataDomain, band: Int): Map[String, String]
- def getMetadata(datasetType: DatasetType, domains: List[GDALMetadataDomain], band: Int): Map[GDALMetadataDomain, Map[String, String]]
- def getMetadata(domains: List[GDALMetadataDomain], band: Int): Map[GDALMetadataDomain, Map[String, String]]
-
def
getMetadataDomainList(datasetType: DatasetType, band: Int): List[GDALMetadataDomain]
https://github.com/OSGeo/gdal/blob/b1c9c12ad373e40b955162b45d704070d4ebf7b0/gdal/doc/source/development/rfc/rfc43_getmetadatadomainlist.rst
- def getMetadataDomainList(band: Int): List[GDALMetadataDomain]
- def getMetadataItem(datasetType: DatasetType, key: String, domain: GDALMetadataDomain, band: Int): String
- def getMetadataItem(key: String, domain: GDALMetadataDomain, band: Int): String
- def getProjection(datasetType: DatasetType): Option[String]
- def getProjection: Option[String]
- def getTransform(datasetType: DatasetType): Array[Double]
- def getTransform: Array[Double]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def noDataValue(datasetType: DatasetType): Option[Double]
- def noDataValue: Option[Double]
- def overviewDimensions(datasetType: DatasetType): List[Dimensions[Int]]
- def overviewDimensions: List[Dimensions[Int]]
-
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
- def rasterExtent: RasterExtent
- def readMultibandRaster(gb: GridBounds[Int] = GridBounds(dimensions), bands: Seq[Int] = 1 to bandCount, datasetType: DatasetType = GDALDataset.WARPED): Raster[MultibandTile]
- def readMultibandTile(gb: GridBounds[Int] = GridBounds(dimensions), bands: Seq[Int] = 1 to bandCount, datasetType: DatasetType = GDALDataset.WARPED): MultibandTile
- def readTile(gb: GridBounds[Int] = GridBounds(dimensions), band: Int, datasetType: DatasetType = GDALDataset.WARPED): Tile
- def resolutions(datasetType: DatasetType): List[RasterExtent]
- def resolutions: List[RasterExtent]
- val token: Long