geotrellis.raster.io.geotiff

Float32GeoTiffTile

class Float32GeoTiffTile extends GeoTiffTile with Float32GeoTiffSegmentCollection

Linear Supertypes
Float32GeoTiffSegmentCollection, GeoTiffSegmentCollection, GeoTiffTile, GeoTiffImageData, Tile, MappableTile[Tile], MacroMappableTile[Tile], IterableTile, MacroIterableTile, CellGrid, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Float32GeoTiffTile
  2. Float32GeoTiffSegmentCollection
  3. GeoTiffSegmentCollection
  4. GeoTiffTile
  5. GeoTiffImageData
  6. Tile
  7. MappableTile
  8. MacroMappableTile
  9. IterableTile
  10. MacroIterableTile
  11. CellGrid
  12. Serializable
  13. Serializable
  14. AnyRef
  15. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Float32GeoTiffTile(compressedBytes: Array[Array[Byte]], decompressor: Decompressor, segmentLayout: GeoTiffSegmentLayout, compression: Compression, cellType: FloatCells with NoDataHandling)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def asciiDraw(): String

    Return ascii art of this raster.

    Return ascii art of this raster.

    Definition Classes
    Tile
  8. def asciiDrawDouble(significantDigits: Int = Int.MaxValue): String

    Return ascii art of this raster.

    Return ascii art of this raster. The single int parameter indicates the number of significant digits to be printed.

    Definition Classes
    Tile
  9. def asciiDrawRange(colMin: Int, colMax: Int, rowMin: Int, rowMax: Int): String

    Return ascii art of a range from this raster.

    Return ascii art of a range from this raster.

    Definition Classes
    Tile
  10. val bandCount: Int

    Definition Classes
    GeoTiffTileGeoTiffImageData
  11. val bandType: Float32BandType.type

  12. val cellType: FloatCells with NoDataHandling

    Definition Classes
    Float32GeoTiffTileGeoTiffTileCellGrid
  13. def clone(): AnyRef

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

    Definition Classes
    GeoTiffTileGeoTiffImageDataCellGrid
  15. def combine(other: Tile)(f: (Int, Int) ⇒ Int): Tile

    Combine the given Tile with the present one using the given function.

    Combine the given Tile with the present one using the given function.

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

    Combine the given Tile with the present one using the given function.

    Combine the given Tile with the present one using the given function.

    Definition Classes
    GeoTiffTileTile
  17. val compressedBytes: Array[Array[Byte]]

  18. def convert(newCellType: CellType): Tile

    Converts the cell type of the tile.

    Converts the cell type of the tile.

    Definition Classes
    GeoTiffTileTile
    Note

    This will immediately iterate over the tile and allocate a new copy of data; this should be a performance consideration.

  19. lazy val createSegment: (Int) ⇒ Float32GeoTiffSegment

  20. val decompressor: Decompressor

  21. def dimensions: (Int, Int)

    Definition Classes
    CellGrid
  22. def downsample(newCols: Int, newRows: Int)(f: (CellSet) ⇒ Int): Tile

    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
  23. def dualCombine(r2: Tile)(f: (Int, Int) ⇒ Int)(g: (Double, Double) ⇒ Double): Tile

    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
  24. def dualForeach(f: (Int) ⇒ Unit)(g: (Double) ⇒ Unit): Unit

    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
  25. def dualMap(f: (Int) ⇒ Int)(g: (Double) ⇒ Double): Tile

    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
  26. def dualMapIfSet(f: (Int) ⇒ Int)(g: (Double) ⇒ Double): Tile

    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
  27. final def eq(arg0: AnyRef): Boolean

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

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

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

    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.

  31. def findMinMaxDouble: (Double, Double)

    Return tuple of highest and lowest value in raster.

    Return tuple of highest and lowest value in raster.

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

    Execute the given function at each pixel of the present Tile.

    Execute the given function at each pixel of the present Tile.

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

    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
    Annotations
    @macroImpl( ... )
  34. def foreachDouble(f: (Double) ⇒ Unit): Unit

    Execute the given function at each pixel of the present Tile.

    Execute the given function at each pixel of the present Tile.

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

    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
    Annotations
    @macroImpl( ... )
  36. def foreachDoubleVisitor(visitor: DoubleTileVisitor): Unit

    Definition Classes
    GeoTiffTile → MacroIterableTile
  37. def foreachIntVisitor(visitor: IntTileVisitor): Unit

    Definition Classes
    GeoTiffTile → MacroIterableTile
  38. def get(col: Int, row: Int): Int

    Get value at given coordinates.

    Get value at given coordinates.

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

    Definition Classes
    AnyRef → Any
  40. def getDecompressedBytes(i: Int): Array[Byte]

    Definition Classes
    GeoTiffSegmentCollection
  41. def getDouble(col: Int, row: Int): Double

    Get value at given coordinates.

    Get value at given coordinates.

    Definition Classes
    GeoTiffTileTile
  42. def getSegment(i: Int): T

    Definition Classes
    GeoTiffSegmentCollection
  43. def gridBounds: GridBounds

    Definition Classes
    CellGrid
  44. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  45. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  46. def isNoDataTile: Boolean

    Definition Classes
    Tile
  47. def map(f: (Int) ⇒ Int): GeoTiffTile

    Map the given function across the present Tile.

    Map the given function across the present Tile. The result is another Tile.

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

    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
    Annotations
    @macroImpl( ... )
  49. def mapDouble(f: (Double) ⇒ Double): GeoTiffTile

    Map the given function across the present Tile.

    Map the given function across the present Tile. The result is another Tile.

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

    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
    Annotations
    @macroImpl( ... )
  51. def mapDoubleMapper(mapper: DoubleTileMapper): Tile

    Definition Classes
    GeoTiffTile → MacroMappableTile
  52. def mapIfSet(f: (Int) ⇒ Int): Tile

    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
  53. def mapIfSetDouble(f: (Double) ⇒ Double): Tile

    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
  54. def mapIntMapper(mapper: IntTileMapper): Tile

    Definition Classes
    GeoTiffTile → MacroMappableTile
  55. def mutable: MutableArrayTile

    Create a mutable copy of this tile

    Create a mutable copy of this tile

    Definition Classes
    Float32GeoTiffTileGeoTiffTileTile
  56. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  57. val noDataValue: Option[Float]

  58. def normalize(oldMin: Double, oldMax: Double, newMin: Double, newMax: Double): Tile

    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
  59. def normalize(oldMin: Int, oldMax: Int, newMin: Int, newMax: Int): Tile

    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
  60. final def notify(): Unit

    Definition Classes
    AnyRef
  61. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  62. def rescale(newMin: Double, newMax: Double): Tile

    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
  63. def rescale(newMin: Int, newMax: Int): Tile

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

    Definition Classes
    GeoTiffTileGeoTiffImageDataCellGrid
  65. val segmentCount: Int

    Definition Classes
    GeoTiffTile
  66. def size: Int

    Definition Classes
    CellGrid
  67. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Return the data behind this Tile, or a copy, as an Array of integers.

    Return the data behind this Tile, or a copy, as an Array of integers.

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

    Return the data behind this Tile, or a copy, as an Array of doubles.

    Return the data behind this Tile, or a copy, as an Array of doubles.

    Definition Classes
    GeoTiffTileTile
  70. def toArrayTile(): ArrayTile

    Convert the present Tile to an ArrayTile.

    Convert the present Tile to an ArrayTile.

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

    Return the data behind this Tile, or a copy, as an Array of bytes.

    Return the data behind this Tile, or a copy, as an Array of bytes.

    Definition Classes
    GeoTiffTileTile
  72. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from GeoTiffSegmentCollection

Inherited from GeoTiffTile

Inherited from GeoTiffImageData

Inherited from Tile

Inherited from MappableTile[Tile]

Inherited from MacroMappableTile[Tile]

Inherited from IterableTile

Inherited from MacroIterableTile

Inherited from CellGrid

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped