Packages

c

geotrellis.raster

DelayedConversionMultibandTile

class DelayedConversionMultibandTile extends MultibandTile with MacroMultibandCombiners

[DelayedConversionTile]] represents a tile that wraps an inner tile, and for any operation that returns a Tile, returns an ArrayTile with a cell type of the target cell type.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DelayedConversionMultibandTile
  2. MacroMultibandCombiners
  3. MultibandTile
  4. MacroCombineFunctions
  5. MacroCombinableMultibandTile
  6. CellGrid
  7. GridIntegral
  8. Grid
  9. Serializable
  10. Serializable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DelayedConversionMultibandTile(inner: MultibandTile, targetCellType: CellType)

Value Members

  1. def band(bandIndex: Int): Tile

    Retrieve a particular band from the MultibandTile and return it as a Tile.

    Retrieve a particular band from the MultibandTile and return it as a Tile.

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  2. def bandCount: Int
  3. def bandSafe(bandIndex: Int): Option[Tile]

    Safely fetch a band from a MultibandTile, given some band index which may or may not be valid.

    Safely fetch a band from a MultibandTile, given some band index which may or may not be valid.

    Definition Classes
    MultibandTile
  4. def bands: Vector[Tile]

    A vector of all bands in this MultibandTile.

    A vector of all bands in this MultibandTile.

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  5. def cellType: CellType
  6. val cols: Int
    Definition Classes
    DelayedConversionMultibandTileGrid
  7. def combine(b0: Int, b1: Int)(f: (Int, Int) ⇒ Int): Tile

    Combine two int band value for each cell.

    Combine two int band value for each cell.

    b0

    The index of the first band to combine.

    b1

    The index of the second band to combine.

    f

    A function from (Int, Int) to Int. The tuple contains the respective values of the two bands at a particular point.

    returns

    The Tile that results from combining the bands. This will be an ArrayTile that has the target CellType.

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  8. def combine(f: (Array[Int]) ⇒ Int): Tile

    Combine each int band value for each cell.

    Combine each int band value for each cell. This method will be inherently slower than calling a method with explicitly stated bands, so if you have as many or fewer bands to combine than an explicit method call, use that.

    f

    A function from Array[Int] to Int. The array contains the values of each band at a particular point.

    returns

    The Tile that results from combining the bands. This will be an ArrayTile that has the target CellType.

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  9. def combine(subset: Seq[Int])(f: (Seq[Int]) ⇒ Int): Tile

    Combine a subset of the bands of a ArrayMultibandTile into a new integer-valued MultibandTile using the function f.

    Combine a subset of the bands of a ArrayMultibandTile into a new integer-valued MultibandTile using the function f.

    subset

    A sequence containing the subset of bands that are of interest.

    f

    A function to combine the bands.

    returns

    The Tile that results from combining the bands. This will be an ArrayTile that has the target CellType.

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  10. macro def combine(b0: Int, b1: Int, b2: Int, b3: Int, b4: Int, b5: Int, b6: Int, b7: Int, b8: Int, b9: Int)(f: (Int, Int, Int, Int, Int, Int, Int, Int, Int, Int) ⇒ Int): Tile
    Definition Classes
    MacroCombineFunctions
  11. macro def combine(b0: Int, b1: Int, b2: Int, b3: Int, b4: Int, b5: Int, b6: Int, b7: Int, b8: Int)(f: (Int, Int, Int, Int, Int, Int, Int, Int, Int) ⇒ Int): Tile
    Definition Classes
    MacroCombineFunctions
  12. macro def combine(b0: Int, b1: Int, b2: Int, b3: Int, b4: Int, b5: Int, b6: Int, b7: Int)(f: (Int, Int, Int, Int, Int, Int, Int, Int) ⇒ Int): Tile
    Definition Classes
    MacroCombineFunctions
  13. macro def combine(b0: Int, b1: Int, b2: Int, b3: Int, b4: Int, b5: Int, b6: Int)(f: (Int, Int, Int, Int, Int, Int, Int) ⇒ Int): Tile
    Definition Classes
    MacroCombineFunctions
  14. macro def combine(b0: Int, b1: Int, b2: Int, b3: Int, b4: Int, b5: Int)(f: (Int, Int, Int, Int, Int, Int) ⇒ Int): Tile
    Definition Classes
    MacroCombineFunctions
  15. macro def combine(b0: Int, b1: Int, b2: Int, b3: Int, b4: Int)(f: (Int, Int, Int, Int, Int) ⇒ Int): Tile
    Definition Classes
    MacroCombineFunctions
  16. macro def combine(b0: Int, b1: Int, b2: Int, b3: Int)(f: (Int, Int, Int, Int) ⇒ Int): Tile
    Definition Classes
    MacroCombineFunctions
  17. macro def combine(b0: Int, b1: Int, b2: Int)(f: (Int, Int, Int) ⇒ Int): Tile
    Definition Classes
    MacroCombineFunctions
  18. def combineDouble(b0: Int, b1: Int)(f: (Double, Double) ⇒ Double): Tile

    Combine two double band value for each cell.

    Combine two double band value for each cell.

    b0

    The index of the first band to combine.

    b1

    The index of the second band to combine.

    f

    A function from (Double, Double) to Double. The tuple contains the respective values of the two bands at a particular point.

    returns

    The Tile that results from combining the bands. This will be an ArrayTile that has the target CellType.

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  19. def combineDouble(f: (Array[Double]) ⇒ Double): MutableArrayTile

    Combine each double band value for each cell.

    Combine each double band value for each cell. This method will be inherently slower than calling a method with explicitly stated bands, so if you have as many or fewer bands to combine than an explicit method call, use that.

    f

    A function from Array[Double] to Double. The array contains the values of each band at a particular point.

    returns

    The Tile that results from combining the bands. This will be an ArrayTile that has the target CellType.

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  20. def combineDouble(subset: Seq[Int])(f: (Seq[Double]) ⇒ Double): Tile

    Combine a subset of the bands of a ArrayMultibandTile into a new double-valued MultibandTile using the function f.

    Combine a subset of the bands of a ArrayMultibandTile into a new double-valued MultibandTile using the function f.

    subset

    A sequence containing the subset of bands that are of interest.

    f

    A function to combine the bands.

    returns

    The Tile that results from combining the bands. This will be an ArrayTile that has the target CellType.

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  21. macro def combineDouble(b0: Int, b1: Int, b2: Int, b3: Int, b4: Int, b5: Int, b6: Int, b7: Int, b8: Int, b9: Int)(f: (Double, Double, Double, Double, Double, Double, Double, Double, Double, Double) ⇒ Double): Tile
    Definition Classes
    MacroCombineFunctions
  22. macro def combineDouble(b0: Int, b1: Int, b2: Int, b3: Int, b4: Int, b5: Int, b6: Int, b7: Int, b8: Int)(f: (Double, Double, Double, Double, Double, Double, Double, Double, Double) ⇒ Double): Tile
    Definition Classes
    MacroCombineFunctions
  23. macro def combineDouble(b0: Int, b1: Int, b2: Int, b3: Int, b4: Int, b5: Int, b6: Int, b7: Int)(f: (Double, Double, Double, Double, Double, Double, Double, Double) ⇒ Double): Tile
    Definition Classes
    MacroCombineFunctions
  24. macro def combineDouble(b0: Int, b1: Int, b2: Int, b3: Int, b4: Int, b5: Int, b6: Int)(f: (Double, Double, Double, Double, Double, Double, Double) ⇒ Double): Tile
    Definition Classes
    MacroCombineFunctions
  25. macro def combineDouble(b0: Int, b1: Int, b2: Int, b3: Int, b4: Int, b5: Int)(f: (Double, Double, Double, Double, Double, Double) ⇒ Double): Tile
    Definition Classes
    MacroCombineFunctions
  26. macro def combineDouble(b0: Int, b1: Int, b2: Int, b3: Int, b4: Int)(f: (Double, Double, Double, Double, Double) ⇒ Double): Tile
    Definition Classes
    MacroCombineFunctions
  27. macro def combineDouble(b0: Int, b1: Int, b2: Int, b3: Int)(f: (Double, Double, Double, Double) ⇒ Double): Tile
    Definition Classes
    MacroCombineFunctions
  28. macro def combineDouble(b0: Int, b1: Int, b2: Int)(f: (Double, Double, Double) ⇒ Double): Tile
    Definition Classes
    MacroCombineFunctions
  29. def combineDoubleTileCombiner(combiner: DoubleTileCombiner10): Tile
    Definition Classes
    MacroMultibandCombiners
  30. def combineDoubleTileCombiner(combiner: DoubleTileCombiner9): Tile
    Definition Classes
    MacroMultibandCombiners
  31. def combineDoubleTileCombiner(combiner: DoubleTileCombiner8): Tile
    Definition Classes
    MacroMultibandCombiners
  32. def combineDoubleTileCombiner(combiner: DoubleTileCombiner7): Tile
    Definition Classes
    MacroMultibandCombiners
  33. def combineDoubleTileCombiner(combiner: DoubleTileCombiner6): Tile
    Definition Classes
    MacroMultibandCombiners
  34. def combineDoubleTileCombiner(combiner: DoubleTileCombiner5): Tile
    Definition Classes
    MacroMultibandCombiners
  35. def combineDoubleTileCombiner(combiner: DoubleTileCombiner4): Tile
    Definition Classes
    MacroMultibandCombiners
  36. def combineDoubleTileCombiner(combiner: DoubleTileCombiner3): Tile
    Definition Classes
    MacroMultibandCombiners
  37. def combineIntTileCombiner(combiner: IntTileCombiner10): Tile
    Definition Classes
    MacroMultibandCombiners
  38. def combineIntTileCombiner(combiner: IntTileCombiner9): Tile
    Definition Classes
    MacroMultibandCombiners
  39. def combineIntTileCombiner(combiner: IntTileCombiner8): Tile
    Definition Classes
    MacroMultibandCombiners
  40. def combineIntTileCombiner(combiner: IntTileCombiner7): Tile
    Definition Classes
    MacroMultibandCombiners
  41. def combineIntTileCombiner(combiner: IntTileCombiner6): Tile
    Definition Classes
    MacroMultibandCombiners
  42. def combineIntTileCombiner(combiner: IntTileCombiner5): Tile
    Definition Classes
    MacroMultibandCombiners
  43. def combineIntTileCombiner(combiner: IntTileCombiner4): Tile
    Definition Classes
    MacroMultibandCombiners
  44. def combineIntTileCombiner(combiner: IntTileCombiner3): Tile
    Definition Classes
    MacroMultibandCombiners
  45. def convert(cellType: CellType): MultibandTile

    Returns a MultibandTile equivalent to this one, except with cells of the given type.

    Returns a MultibandTile equivalent to this one, except with cells of the given type.

    returns

    The new MultibandTile

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  46. def dimensions: Dimensions[Int]
    Definition Classes
    GridIntegralGrid
  47. def foreach(f: (Array[Int]) ⇒ Unit): Unit

    Multiband iterate over tile's int value using a function that takes in an array of values, and returns the foreached value for that cell value.

    Multiband iterate over tile's int value using a function that takes in an array of values, and returns the foreached value for that cell value.

    f

    The function

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  48. def foreach(b0: Int)(f: (Int) ⇒ Unit): Unit

    Iterate over a single band's int value using a function that takes in a band number and a value, and returns the foreached value for that cell value.

    Iterate over a single band's int value using a function that takes in a band number and a value, and returns the foreached value for that cell value.

    f

    The function

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  49. def foreach(f: (Int, Int) ⇒ Unit): Unit

    Iterate over each band's int value using a function that takes in a band number and a value, and returns the foreached value for that cell value.

    Iterate over each band's int value using a function that takes in a band number and a value, and returns the foreached value for that cell value.

    f

    The function

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  50. def foreachDouble(f: (Array[Double]) ⇒ Unit): Unit

    Multiband iterate over tile's double value using a function that takes in an array of values, and returns the foreached value for that cell value.

    Multiband iterate over tile's double value using a function that takes in an array of values, and returns the foreached value for that cell value.

    f

    The function

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  51. def foreachDouble(b0: Int)(f: (Double) ⇒ Unit): Unit

    Iterate over a single band's double value using a function that takes in a band number and a value, and returns the foreached value for that cell value.

    Iterate over a single band's double value using a function that takes in a band number and a value, and returns the foreached value for that cell value.

    f

    The function

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  52. def foreachDouble(f: (Int, Double) ⇒ Unit): Unit

    Iterate over each band's double value using a function that takes in a band number and a value, and returns the foreached value for that cell value.

    Iterate over each band's double value using a function that takes in a band number and a value, and returns the foreached value for that cell value.

    f

    The function

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  53. def interpretAs(newCellType: CellType): MultibandTile

    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
    DelayedConversionMultibandTileMultibandTile
  54. def map(b0: Int)(f: (Int) ⇒ Int): MultibandTile

    Map a single band's int value.

    Map a single band's int value.

    f

    Function that takes in a band number and a value, and returns the mapped value for that cell value.

    returns

    A MultibandTile containing the result

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  55. def map(f: (Int, Int) ⇒ Int): MultibandTile

    Map each band's int value.

    Map each band's int value.

    f

    Function that takes in a band number and a value, and returns the mapped value for that cell value.

    returns

    A MultibandTile containing the result

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  56. def map(subset: Seq[Int])(f: (Int, Int) ⇒ Int): MultibandTile

    Map over a subset of the bands of an ArrayMultibandTile to create a new integer-valued MultibandTile that have the target CellType.

    Map over a subset of the bands of an ArrayMultibandTile to create a new integer-valued MultibandTile that have the target CellType.

    subset

    A sequence containing the subset of bands that are of interest.

    f

    A function to map over the bands.

    returns

    A MultibandTile containing the result

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  57. def mapBands(f: (Int, Tile) ⇒ Tile): MultibandTile

    Map over each band, and return a new MultibandTile.

    Map over each band, and return a new MultibandTile.

    f

    A function to apply to each band, given it's band index.

    returns

    An ArrayMultibandTile with the resulting tiles.

    Definition Classes
    MultibandTile
  58. def mapDouble(b0: Int)(f: (Double) ⇒ Double): MultibandTile

    Map each band's double value.

    Map each band's double value.

    f

    Function that takes in a band number and a value, and returns the mapped value for that cell value.

    returns

    A MultibandTile containing the result

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  59. def mapDouble(f: (Int, Double) ⇒ Double): MultibandTile

    Map each band's double value.

    Map each band's double value.

    f

    Function that takes in a band number and a value, and returns the mapped value for that cell value.

    returns

    A MultibandTile containing the result

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  60. def mapDouble(subset: Seq[Int])(f: (Int, Double) ⇒ Double): MultibandTile

    Map over a subset of the bands of an ArrayMultibandTile to create a new double-valued MultibandTile that has the target CellType.

    Map over a subset of the bands of an ArrayMultibandTile to create a new double-valued MultibandTile that has the target CellType.

    subset

    A sequence containing the subset of bands that are of interest.

    f

    A function to map over the bands.

    returns

    A MultibandTile containing the result

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  61. val rows: Int
    Definition Classes
    DelayedConversionMultibandTileGrid
  62. def size: Int
    Definition Classes
    GridIntegralGrid
  63. def subsetBands(bandSequence: Seq[Int]): MultibandTile

    Retrieve a subset of the bands of the present MultibandTile as a new MultibandTile.

    Retrieve a subset of the bands of the present MultibandTile as a new MultibandTile.

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  64. def subsetBands(bandSequence: Int*)(implicit d: DummyImplicit): MultibandTile

    Retrieve a subset of the bands of the present MultibandTile as a new MultibandTile.

    Retrieve a subset of the bands of the present MultibandTile as a new MultibandTile.

    Definition Classes
    MultibandTile
  65. val targetCellType: CellType

    Target cell type for generation of new Tile and MultibandTiles.

    Target cell type for generation of new Tile and MultibandTiles.

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  66. def toArrayTile(): ArrayMultibandTile

    Convert the present MultibandTile to an MultibandTile of ArrayTiles.

    Convert the present MultibandTile to an MultibandTile of ArrayTiles.

    Definition Classes
    DelayedConversionMultibandTileMultibandTile
  67. def toString(): String
    Definition Classes
    DelayedConversionMultibandTile → AnyRef → Any
  68. def withNoData(noDataValue: Option[Double]): MultibandTile

    Return tile tile as raw cell MultibandTile with No NoData handling

    Return tile tile as raw cell MultibandTile with No NoData handling

    Definition Classes
    DelayedConversionMultibandTileMultibandTile