geotrellis.raster

IntUserDefinedNoDataArrayTile

final case class IntUserDefinedNoDataArrayTile(arr: Array[Int], cols: Int, rows: Int, cellType: IntUserDefinedNoDataCellType) extends IntArrayTile with UserDefinedIntNoDataConversions with Product with Serializable

The IntUserDefinedNoDataArrayTile derived from IntArrayTile.

Linear Supertypes
Product, Equals, UserDefinedIntNoDataConversions, IntArrayTile, MutableArrayTile, ArrayTile, Tile, MappableTile[Tile], MacroMappableTile[Tile], IterableTile, MacroIterableTile, CellGrid, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IntUserDefinedNoDataArrayTile
  2. Product
  3. Equals
  4. UserDefinedIntNoDataConversions
  5. IntArrayTile
  6. MutableArrayTile
  7. ArrayTile
  8. Tile
  9. MappableTile
  10. MacroMappableTile
  11. IterableTile
  12. MacroIterableTile
  13. CellGrid
  14. Serializable
  15. Serializable
  16. AnyRef
  17. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IntUserDefinedNoDataArrayTile(arr: Array[Int], cols: Int, rows: Int, cellType: IntUserDefinedNoDataCellType)

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. def apply(i: Int): Int

    Fetch the datum at the given index in the array.

    Fetch the datum at the given index in the array.

    i

    The index

    returns

    The datum found at the index

    Definition Classes
    IntUserDefinedNoDataArrayTileArrayTile
  7. def applyDouble(i: Int): Double

    Fetch the datum at the given index in the array.

    Fetch the datum at the given index in the array.

    i

    The index

    returns

    The datum found at the index

    Definition Classes
    IntUserDefinedNoDataArrayTileArrayTile
  8. val arr: Array[Int]

  9. val array: Array[Int]

    Definition Classes
    IntArrayTile
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def asciiDraw(): String

    Return ascii art of this raster.

    Return ascii art of this raster.

    Definition Classes
    Tile
  12. 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
  13. 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
  14. def b2udi(n: Byte): Int

  15. val cellType: IntUserDefinedNoDataCellType

  16. def clone(): AnyRef

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

  18. def combine(other: Tile)(f: (Int, Int) ⇒ Int): Tile

    Combine the cells of an ArrayTile and a Tile into a new Tile using the given function.

    Combine the cells of an ArrayTile and a Tile into a new Tile using the given function. For every (x, y) cell coordinate, get each of the Tiles' integer value, map them to a new value, and assign it to the output's (x, y) cell.

    other

    The other Tile

    f

    A function from (Int, Int) to Int

    returns

    The result, an Tile

    Definition Classes
    ArrayTileTile
  19. def combine(other: ArrayTile)(f: (Int, Int) ⇒ Int): ArrayTile

    Combine two ArrayTiles' cells into new cells using the given integer function.

    Combine two ArrayTiles' cells into new cells using the given integer function. For every (x, y) cell coordinate, get each of the ArrayTiles' integer values, map them to a new value, and assign it to the output's (x, y) cell.

    other

    The other ArrayTile

    f

    A function from (Int, Int) to Int

    returns

    The result, an ArrayTile

    Definition Classes
    ArrayTile
  20. def combineDouble(other: Tile)(f: (Double, Double) ⇒ Double): Tile

    Combine the cells of an ArrayTile and a Tile into a new Tile using the given function.

    Combine the cells of an ArrayTile and a Tile into a new Tile using the given function. For every (x, y) cell coordinate, get tiles' double values, map them to a new value, and assign it to the output's (x, y) cell.

    other

    The other Tile

    f

    A function from (Double, Double) to Double

    returns

    The result, an Tile

    Definition Classes
    ArrayTileTile
  21. def combineDouble(other: ArrayTile)(f: (Double, Double) ⇒ Double): ArrayTile

    Combine two ArrayTiles' cells into new cells using the given double function.

    Combine two ArrayTiles' cells into new cells using the given double function. For every (x, y) cell coordinate, get each of the ArrayTiles' double values, map them to a new value, and assign it to the output's (x, y) cell.

    other

    The other ArrayTile

    f

    A function from (Double, Double) to Double

    returns

    The result, an ArrayTile

    Definition Classes
    ArrayTile
  22. def convert(targetCellType: CellType): Tile

    Returns a Tile equivalent to this ArrayTile, except with cells of the given type.

    Returns a Tile equivalent to this ArrayTile, except with cells of the given type.

    returns

    The new Tile

    Definition Classes
    ArrayTileTile
  23. def copy: ArrayTile

    Return a copy of the present IntArrayTile.

    Return a copy of the present IntArrayTile.

    returns

    The copy

    Definition Classes
    IntArrayTileArrayTile
  24. def d2udi(n: Double): Int

  25. def dimensions: (Int, Int)

    Definition Classes
    CellGrid
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. def equals(other: Any): Boolean

    Check for equality between the present ArrayTile and any other object.

    Check for equality between the present ArrayTile and any other object.

    other

    The other object

    returns

    A boolean

    Definition Classes
    ArrayTile → AnyRef → Any
  33. def f2udi(n: Float): Int

  34. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  35. 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.

  36. 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
  37. def foreach(f: (Int) ⇒ Unit): Unit

    Execute a function on each cell of the ArrayTile.

    Execute a function on each cell of the ArrayTile.

    f

    A function from Int to Unit. Presumably, the function is executed for side-effects.

    Definition Classes
    ArrayTileTile
  38. 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( ... )
  39. def foreachDouble(f: (Double) ⇒ Unit): Unit

    Execute a function on each cell of the ArrayTile.

    Execute a function on each cell of the ArrayTile.

    f

    A function from Double to Unit. Presumably, the function is executed for side-effects.

    Definition Classes
    ArrayTileTile
  40. 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( ... )
  41. def foreachDoubleVisitor(visitor: DoubleTileVisitor): Unit

    Execute an DoubleTileVisitor at each cell of the ArrayTile.

    Execute an DoubleTileVisitor at each cell of the ArrayTile.

    visitor

    A DoubleTileVisitor

    Definition Classes
    ArrayTile → MacroIterableTile
  42. def foreachIntVisitor(visitor: IntTileVisitor): Unit

    Execute an IntTileVisitor at each cell of the ArrayTile.

    Execute an IntTileVisitor at each cell of the ArrayTile.

    visitor

    An IntTileVisitor

    Definition Classes
    ArrayTile → MacroIterableTile
  43. def get(col: Int, row: Int): Int

    Fetch the datum at the given column and row of the ArrayTile.

    Fetch the datum at the given column and row of the ArrayTile.

    col

    The column

    row

    The row

    returns

    The Int datum found at the given location

    Definition Classes
    ArrayTileTile
  44. final def getClass(): Class[_]

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

    Fetch the datum at the given column and row of the ArrayTile.

    Fetch the datum at the given column and row of the ArrayTile.

    col

    The column

    row

    The row

    returns

    The Double datum found at the given location

    Definition Classes
    ArrayTileTile
  46. def gridBounds: GridBounds

    Definition Classes
    CellGrid
  47. def i2udi(n: Int): Int

  48. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  49. def isNoDataTile: Boolean

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

    Map each cell in the given raster to a new one, using the given function.

    Map each cell in the given raster to a new one, using the given function.

    f

    A function from Int to Int, executed at each point of the tile

    returns

    The result, a Tile

    Definition Classes
    ArrayTileTile
  51. 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( ... )
  52. def mapDouble(f: (Double) ⇒ Double): Tile

    Map each cell in the given raster to a new one, using the given function.

    Map each cell in the given raster to a new one, using the given function.

    f

    A function from Double to Double, executed at each point of the tile

    returns

    The result, a Tile

    Definition Classes
    ArrayTileTile
  53. 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( ... )
  54. def mapDoubleMapper(mapper: DoubleTileMapper): Tile

    Map an DoubleTileMapper over the present tile.

    Map an DoubleTileMapper over the present tile.

    mapper

    The mapper

    returns

    The result, a Tile

    Definition Classes
    ArrayTile → MacroMappableTile
  55. 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
  56. 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
  57. def mapIntMapper(mapper: IntTileMapper): Tile

    Map an IntTileMapper over the present tile.

    Map an IntTileMapper over the present tile.

    mapper

    The mapper

    returns

    The result, a Tile

    Definition Classes
    ArrayTile → MacroMappableTile
  58. def mutable: MutableArrayTile

    Create a mutable copy of this tile

    Create a mutable copy of this tile

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

    Definition Classes
    AnyRef
  60. 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
  61. 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
  62. final def notify(): Unit

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

    Definition Classes
    AnyRef
  64. 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
  65. 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
  66. val rows: Int

  67. def s2udi(n: Short): Int

  68. def set(col: Int, row: Int, value: Int): Unit

    Set the value of the raster at the given column and row with the given value.

    Set the value of the raster at the given column and row with the given value.

    col

    The column

    row

    The row

    value

    The value

    Definition Classes
    MutableArrayTile
  69. def setDouble(col: Int, row: Int, value: Double): Unit

    Set the value of the raster at the given column and row with the given value.

    Set the value of the raster at the given column and row with the given value.

    col

    The column

    row

    The row

    value

    The value

    Definition Classes
    MutableArrayTile
  70. def size: Int

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

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

    Return the array associated with the present IntArrayTile.

    Return the array associated with the present IntArrayTile.

    returns

    The copy as an Array[Int]

    Definition Classes
    IntArrayTileArrayTileTile
  73. def toArrayDouble(): Array[Double]

    Return a copy of the underlying array of the present ArrayTile.

    Return a copy of the underlying array of the present ArrayTile.

    returns

    The copy as an Array[Double]

    Definition Classes
    ArrayTileTile
  74. def toArrayTile(): ArrayTile

    Return the ArrayTile equivalent of this ArrayTile.

    Return the ArrayTile equivalent of this ArrayTile.

    returns

    The object on which the method was invoked

    Definition Classes
    ArrayTileTile
  75. def toBytes(): Array[Byte]

    Return an array of bytes representing the data behind this IntArrayTile.

    Return an array of bytes representing the data behind this IntArrayTile.

    returns

    An array of bytes

    Definition Classes
    IntArrayTileArrayTileTile
  76. def toList: List[Int]

    Return the underlying array of this ArrayTile as a list.

    Return the underlying array of this ArrayTile as a list.

    returns

    The list

    Definition Classes
    ArrayTile
  77. def toListDouble: List[Double]

    Return the under-laying array of this ArrayTile as a list.

    Return the under-laying array of this ArrayTile as a list.

    returns

    The list

    Definition Classes
    ArrayTile
  78. def ub2udi(n: Byte): Int

  79. def udi2b(n: Int): Byte

  80. def udi2d(n: Int): Double

  81. def udi2f(n: Int): Float

  82. def udi2i(n: Int): Int

  83. def udi2s(n: Int): Short

  84. def udi2ub(n: Int): Byte

  85. def udi2us(n: Int): Short

  86. def update(i: Int, z: Int): Unit

    Update the datum at the given index in the array.

    Update the datum at the given index in the array.

    i

    The index

    z

    The value to place at that index

    Definition Classes
    IntUserDefinedNoDataArrayTileMutableArrayTile
  87. def update(colOffset: Int, rowOffset: Int, update: Tile): Unit

    Paste the given Tile into the present one starting at the given column and row offsets.

    Paste the given Tile into the present one starting at the given column and row offsets.

    colOffset

    The column offset

    rowOffset

    The row offset

    update

    The source tile

    Definition Classes
    MutableArrayTile
  88. def updateDouble(i: Int, z: Double): Unit

    Update the datum at the given index in the array.

    Update the datum at the given index in the array.

    i

    The index

    z

    The value to place at that index

    Definition Classes
    IntUserDefinedNoDataArrayTileMutableArrayTile
  89. def us2udi(n: Short): Int

  90. val userDefinedIntNoDataValue: Int

  91. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from IntArrayTile

Inherited from MutableArrayTile

Inherited from ArrayTile

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