Class

geotrellis.raster.io.geotiff

UInt32GeoTiffTile

Related Doc: package geotiff

Permalink

class UInt32GeoTiffTile extends GeoTiffTile with UInt32GeoTiffSegmentCollection

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UInt32GeoTiffTile
  2. UInt32GeoTiffSegmentCollection
  3. GeoTiffSegmentCollection
  4. GeoTiffTile
  5. GeoTiffSegmentLayoutTransform
  6. GeoTiffImageData
  7. Tile
  8. LazyLogging
  9. MappableTile
  10. MacroMappableTile
  11. IterableTile
  12. MacroIterableTile
  13. CellGrid
  14. Grid
  15. Serializable
  16. Serializable
  17. AnyRef
  18. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UInt32GeoTiffTile(segmentBytes: SegmentBytes, decompressor: Decompressor, segmentLayout: GeoTiffSegmentLayout, compression: Compression, cellType: FloatCells with NoDataHandling, overviews: List[UInt32GeoTiffTile] = Nil)

    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. val bandCount: Int

    Permalink

    Count of the bands in the GeoTiff

    Count of the bands in the GeoTiff

    Definition Classes
    GeoTiffTileGeoTiffSegmentLayoutTransformGeoTiffImageData
  6. val bandType: UInt32BandType.type

    Permalink
  7. val cellType: FloatCells with NoDataHandling

    Permalink
    Definition Classes
    UInt32GeoTiffTileGeoTiffTileCellGrid
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val cols: Int

    Permalink
    Definition Classes
    GeoTiffTileGeoTiffImageDataGrid
  10. def combine(other: Tile)(f: (Int, Int) ⇒ Int): Tile

    Permalink

    Combines two GeoTiffTiles by applying a function to both and using the result to create a new Tile.

    Combines two GeoTiffTiles by applying a function to both and using the result to create a new Tile.

    returns

    A Tile that contains the results of the given function

    Definition Classes
    GeoTiffTileTile
  11. def combineDouble(other: Tile)(f: (Double, Double) ⇒ Double): Tile

    Permalink

    Combines two GeoTiffTiles by applying a function to both and using the result to create a new Tile.

    Combines two GeoTiffTiles by applying a function to both and using the result to create a new Tile.

    returns

    A Tile that contains the results of the given function

    Definition Classes
    GeoTiffTileTile
  12. def convert(newCellType: CellType): GeoTiffTile

    Permalink

    Converts the CellType of the GeoTiffTile to the given CellType

    Converts the CellType of the GeoTiffTile to the given CellType

    returns

    A new Tile that contains the new CellTypes

    Definition Classes
    GeoTiffTileTile
  13. def crop(windows: Seq[GridBounds]): Iterator[(GridBounds, MutableArrayTile)]

    Permalink

    Crop this tile to given pixel regions.

    Crop this tile to given pixel regions.

    Definition Classes
    GeoTiffTile
  14. def crop(bounds: GridBounds): MutableArrayTile

    Permalink

    Crop this tile to given pixel region.

    Crop this tile to given pixel region.

    Definition Classes
    GeoTiffTile
  15. lazy val decompressGeoTiffSegment: (Int, Array[Byte]) ⇒ UInt32GeoTiffSegment

    Permalink
  16. val decompressor: Decompressor

    Permalink
  17. def dimensions: (Int, Int)

    Permalink
    Definition Classes
    Grid
  18. def downsample(newCols: Int, newRows: Int)(f: (CellSet) ⇒ Int): Tile

    Permalink

    Reduce the resolution of the present Tile to the given number of columns and rows.

    Reduce the resolution of the present Tile to the given number of columns and rows. A new Tile is returned.

    newCols

    The number of columns in the new Tile

    newRows

    The number of rows in the new Tile

    Definition Classes
    Tile
  19. def dualCombine(r2: Tile)(f: (Int, Int) ⇒ Int)(g: (Double, Double) ⇒ Double): Tile

    Permalink

    Combine two Tiles together using one of two given functions.

    Combine two Tiles together using one of two given functions. If the union of the types of the two cells is floating-point, then the floating function is used, otherwise the integer function is used.

    r2

    The tile to combine with the present one

    f

    The integer function

    g

    The double function

    Definition Classes
    Tile
  20. def dualForeach(f: (Int) ⇒ Unit)(g: (Double) ⇒ Unit): Unit

    Permalink

    Execute a function at each pixel of a Tile.

    Execute a function at each pixel of a Tile. Two functions are given: an integer version which is used if the tile is an integer-tile, and the other in the case of a floating-tile.

    f

    A function from Int to Unit

    g

    A function from Double to Unit

    Definition Classes
    Tile
  21. def dualMap(f: (Int) ⇒ Int)(g: (Double) ⇒ Double): Tile

    Permalink

    Map one of the two given functions across the Tile to produce a new one.

    Map one of the two given functions across the Tile to produce a new one. One of the functions is from Int to Int, and the other from Double to Double.

    f

    A function from Int to Int

    g

    A function from Double to Double

    Definition Classes
    Tile
  22. def dualMapIfSet(f: (Int) ⇒ Int)(g: (Double) ⇒ Double): Tile

    Permalink

    Conditionally map across the Tile with one of two functions, depending on whether the tile is an integer- or a floating-tile.

    Conditionally map across the Tile with one of two functions, depending on whether the tile is an integer- or a floating-tile. A pixel is mapped only if it is set.

    f

    A function from Int to Int

    g

    A function from Double to Double

    Definition Classes
    Tile
  23. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. def findMinMax: (Int, Int)

    Permalink

    Return tuple of highest and lowest value in raster.

    Return tuple of highest and lowest value in raster.

    Definition Classes
    Tile
    Note

    Currently does not support double valued raster data types (FloatConstantNoDataCellType, DoubleConstantNoDataCellType). Calling findMinMax on rasters of those types will give the integer min and max of the rounded values of their cells.

  27. def findMinMaxDouble: (Double, Double)

    Permalink

    Return tuple of highest and lowest value in raster.

    Return tuple of highest and lowest value in raster.

    Definition Classes
    Tile
  28. def foreach(f: (Int) ⇒ Unit): Unit

    Permalink

    Takes a function that takes an Int and returns a Unit for each segment in the GeoTiffTile.

    Takes a function that takes an Int and returns a Unit for each segment in the GeoTiffTile.

    returns

    A Unit for each segment in the GeoTiffTile

    Definition Classes
    GeoTiffTileTile
  29. macro def foreach(f: (Int, Int, Int) ⇒ Unit): Unit

    Permalink

    Execute the given function 'f' at every location in the tile.

    Execute the given function 'f' at every location in the tile. The function 'f' takes the column, row, and value and returns nothing (presumably for side-effects).

    Definition Classes
    IterableTile
  30. def foreachDouble(f: (Double) ⇒ Unit): Unit

    Permalink

    Takes a function that takes a Double and returns a Unit for each segment in the GeoTiffTile.

    Takes a function that takes a Double and returns a Unit for each segment in the GeoTiffTile.

    returns

    A Unit for each segment in the GeoTiffTile

    Definition Classes
    GeoTiffTileTile
  31. macro def foreachDouble(f: (Int, Int, Double) ⇒ Unit): Unit

    Permalink

    Execute the given function 'f' at every location in the tile.

    Execute the given function 'f' at every location in the tile. The function 'f' takes the column, row, and value, the last one as a double, and returns nothing (presumably for side-effects).

    Definition Classes
    IterableTile
  32. def foreachDoubleVisitor(visitor: DoubleTileVisitor): Unit

    Permalink

    Executes a DoubleTileVisitor at each cell of the GeoTiffTile.

    Executes a DoubleTileVisitor at each cell of the GeoTiffTile.

    Definition Classes
    GeoTiffTileMacroIterableTile
  33. def foreachIntVisitor(visitor: IntTileVisitor): Unit

    Permalink

    Executes an IntTileVisitor at each cell of the GeoTiffTile.

    Executes an IntTileVisitor at each cell of the GeoTiffTile.

    Definition Classes
    GeoTiffTileMacroIterableTile
  34. def get(col: Int, row: Int): Int

    Permalink

    Given a col and row, find the segment where this point resides.

    Given a col and row, find the segment where this point resides.

    returns

    An Int that represents the segment's index

    Definition Classes
    GeoTiffTileTile
  35. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  36. def getDouble(col: Int, row: Int): Double

    Permalink

    Given a col and row, find the segment that this point is within.

    Given a col and row, find the segment that this point is within.

    returns

    A Double that represents the segment's index

    Definition Classes
    GeoTiffTileTile
  37. def getOverview(idx: Int): GeoTiffTile

    Permalink
    Definition Classes
    GeoTiffTile
  38. def getOverviewsCount: Int

    Permalink
    Definition Classes
    GeoTiffTile
  39. def getSegment(i: Int): T

    Permalink
    Definition Classes
    GeoTiffSegmentCollection
  40. def getSegmentCoordinate(segmentIndex: Int): (Int, Int)

    Permalink
  41. def getSegmentDimensions(segmentIndex: Int): (Int, Int)

    Permalink

    Calculates pixel dimensions of a given segment in this layout.

    Calculates pixel dimensions of a given segment in this layout. Segments are indexed in row-major order relative to the GeoTiff they comprise.

    returns

    Tuple representing segment (cols, rows)

    Definition Classes
    GeoTiffSegmentLayoutTransform
  42. def getSegmentSize(segmentIndex: Int): Int

    Permalink

    Calculates the total pixel count for given segment in this layout.

    Calculates the total pixel count for given segment in this layout.

    returns

    Pixel size of the segment

    Definition Classes
    GeoTiffSegmentLayoutTransform
  43. def getSegments(ids: Traversable[Int]): Iterator[(Int, T)]

    Permalink
    Definition Classes
    GeoTiffSegmentCollection
  44. def gridBounds: GridBounds

    Permalink
    Definition Classes
    Grid
  45. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  46. def interpretAs(newCellType: CellType): GeoTiffTile

    Permalink

    Changes the interpretation of the tile cells through changing NoData handling and optionally cell data type.

    Changes the interpretation of the tile cells through changing NoData handling and optionally cell data type. If DataType portion of the CellType is unchanged the tile data is not duplicated through conversion. If cell DataType conversion is required it is done in a naive way, without considering NoData handling.

    newCellType

    CellType to be used in interpreting existing cells

    Definition Classes
    UInt32GeoTiffTileTile
  47. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  48. def isNoDataTile: Boolean

    Permalink
    Definition Classes
    Tile
  49. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  50. def map(f: (Int) ⇒ Int): GeoTiffTile

    Permalink

    Takes a function that takes an Int and returns an Int on each segment in the GeoTiffTile.

    Takes a function that takes an Int and returns an Int on each segment in the GeoTiffTile.

    returns

    A GeoTiffTile that contains the newly mapped values

    Definition Classes
    GeoTiffTileTile
  51. macro def map(f: (Int, Int, Int) ⇒ Int): Tile

    Permalink

    Map over the tiles using a function which accepts the column, row, and value at that position and returns an integer.

    Map over the tiles using a function which accepts the column, row, and value at that position and returns an integer.

    Definition Classes
    MappableTile
  52. def mapDouble(f: (Double) ⇒ Double): GeoTiffTile

    Permalink

    Takes a function that takes a Double and returns a Double on each segment in the GeoTiffTile.

    Takes a function that takes a Double and returns a Double on each segment in the GeoTiffTile.

    returns

    A GeoTiffTile that contains the newly mapped values

    Definition Classes
    GeoTiffTileTile
  53. macro def mapDouble(f: (Int, Int, Double) ⇒ Double): Tile

    Permalink

    Map over the tiles using a function which accepts the column, row, and value at that position and returns a double.

    Map over the tiles using a function which accepts the column, row, and value at that position and returns a double.

    Definition Classes
    MappableTile
  54. def mapDoubleMapper(mapper: DoubleTileMapper): Tile

    Permalink

    Map a DoubleTileMapper over the given tile.

    Map a DoubleTileMapper over the given tile.

    returns

    A Tile with the results of the mapper

    Definition Classes
    GeoTiffTileMacroMappableTile
  55. def mapIfSet(f: (Int) ⇒ Int): Tile

    Permalink

    Conditionally execute (or don't) the given function at each pixel of a Tile, depending on whether that pixel is NODATA or not.

    Conditionally execute (or don't) the given function at each pixel of a Tile, depending on whether that pixel is NODATA or not. The result of the mapping is returned as a tile.

    f

    A function from Int to Int

    Definition Classes
    Tile
  56. def mapIfSetDouble(f: (Double) ⇒ Double): Tile

    Permalink

    Conditionally execute (or don't) the given function at each pixel of a Tile, depending on whether that pixel is NODATA or not.

    Conditionally execute (or don't) the given function at each pixel of a Tile, depending on whether that pixel is NODATA or not. The result of the mapping is returned as a tile.

    f

    A function from Double to Double

    Definition Classes
    Tile
  57. def mapIntMapper(mapper: IntTileMapper): Tile

    Permalink

    Map an IntTileMapper over the given tile.

    Map an IntTileMapper over the given tile.

    returns

    A Tile with the results of the mapper

    Definition Classes
    GeoTiffTileMacroMappableTile
  58. def mutable: MutableArrayTile

    Permalink

    Converts GeoTiffTile to a MutableArrayTile

    Converts GeoTiffTile to a MutableArrayTile

    returns

    A MutableArrayTile of the GeoTiffTile

    Definition Classes
    GeoTiffTileTile
  59. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  60. def normalize(oldMin: Double, oldMax: Double, newMin: Double, newMax: Double): Tile

    Permalink

    Normalizes the values of this raster, given the current min and max, to a new min and max.

    Normalizes the values of this raster, given the current min and max, to a new min and max.

    oldMin

    Old minimum value

    oldMax

    Old maximum value

    newMin

    New minimum value

    newMax

    New maximum value

    Definition Classes
    Tile
  61. def normalize(oldMin: Int, oldMax: Int, newMin: Int, newMax: Int): Tile

    Permalink

    Normalizes the values of this raster, given the current min and max, to a new min and max.

    Normalizes the values of this raster, given the current min and max, to a new min and max.

    oldMin

    Old minimum value

    oldMax

    Old maximum value

    newMin

    New minimum value

    newMax

    New maximum value

    Definition Classes
    Tile
  62. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  64. val overviews: List[GeoTiffTile]

    Permalink
    Definition Classes
    GeoTiffTile
  65. def partitionWindowsBySegments(windows: Seq[GridBounds], maxPartitionSize: Long): Array[Array[GridBounds]]

    Permalink

    Partition a list of pixel windows to localize required segment reads.

    Partition a list of pixel windows to localize required segment reads. Some segments may be required by more than one partition. Pixel windows outside of layout range will be filtered. Maximum partition size may be exceeded if any window size exceeds it. Windows will not be split to satisfy partition size limits.

    windows

    List of pixel windows from this layout

    maxPartitionSize

    Maximum pixel count for each partition

    Definition Classes
    GeoTiffSegmentLayoutTransform
  66. def rescale(newMin: Double, newMax: Double): Tile

    Permalink

    Rescale the values in this Tile so that they are between the two given values.

    Rescale the values in this Tile so that they are between the two given values.

    Definition Classes
    Tile
  67. def rescale(newMin: Int, newMax: Int): Tile

    Permalink

    Rescale the values in this Tile so that they are between the two given values.

    Rescale the values in this Tile so that they are between the two given values.

    Definition Classes
    Tile
  68. val rows: Int

    Permalink
    Definition Classes
    GeoTiffTileGeoTiffImageDataGrid
  69. val segmentBytes: SegmentBytes

    Permalink

    represents all of the segments in the geotiff

    represents all of the segments in the geotiff

    Definition Classes
    UInt32GeoTiffTileGeoTiffSegmentCollectionGeoTiffImageData
  70. val segmentCount: Int

    Permalink
    Definition Classes
    GeoTiffTile
  71. val segmentLayout: GeoTiffSegmentLayout

    Permalink
  72. def size: Int

    Permalink

    The size of the grid, e.g.

    The size of the grid, e.g. cols * rows.

    Definition Classes
    Grid
  73. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  74. def toArray(): Array[Int]

    Permalink

    Converts the given implementation to an Array

    Converts the given implementation to an Array

    returns

    An Array[Int] that conatains all of the values in the tile

    Definition Classes
    GeoTiffTileTile
  75. def toArrayDouble(): Array[Double]

    Permalink

    Converts the given implementation to an Array

    Converts the given implementation to an Array

    returns

    An Array[Double] that conatains all of the values in the tile

    Definition Classes
    GeoTiffTileTile
  76. def toArrayTile(): ArrayTile

    Permalink

    Converts GeoTiffTile to an ArrayTile

    Converts GeoTiffTile to an ArrayTile

    returns

    An ArrayTile of the GeoTiffTile

    Definition Classes
    GeoTiffTileTile
  77. def toBytes(): Array[Byte]

    Permalink

    Converts the GeoTiffTile to an Array[Byte]

    Converts the GeoTiffTile to an Array[Byte]

    returns

    An Array[Byte] of the GeoTiffTile

    Definition Classes
    GeoTiffTileTile
  78. def toString(): String

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  81. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  82. def withNoData(noDataValue: Option[Double]): UInt32GeoTiffTile

    Permalink
    Definition Classes
    UInt32GeoTiffTileTile

Inherited from GeoTiffSegmentCollection

Inherited from GeoTiffTile

Inherited from GeoTiffImageData

Inherited from Tile

Inherited from LazyLogging

Inherited from MappableTile[Tile]

Inherited from MacroMappableTile[Tile]

Inherited from IterableTile

Inherited from MacroIterableTile

Inherited from CellGrid

Inherited from Grid

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped