geotrellis.raster

ArrayTile

trait ArrayTile extends Tile with Serializable

ArrayTile provides access and update to the grid data of a raster.

Designed to be a near drop-in replacement for Array in many cases.

Linear Supertypes
Serializable, Serializable, Tile, MappableTile[Tile], MacroMappableTile[Tile], IterableTile, MacroIterableTile, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ArrayTile
  2. Serializable
  3. Serializable
  4. Tile
  5. MappableTile
  6. MacroMappableTile
  7. IterableTile
  8. MacroIterableTile
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apply(i: Int): Int

  2. abstract def applyDouble(i: Int): Double

  3. abstract def cellType: CellType

    Definition Classes
    Tile
  4. abstract def cols: Int

    Definition Classes
    Tile
  5. abstract def copy: ArrayTile

  6. abstract def mutable: MutableArrayTile

    Create a mutable copy of this tile

    Create a mutable copy of this tile

    Definition Classes
    Tile
  7. abstract def rows: Int

    Definition Classes
    Tile
  8. abstract def toBytes(): Array[Byte]

    Definition Classes
    ArrayTileTile

Concrete 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. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def combine(other: Tile)(f: (Int, Int) ⇒ Int): Tile

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

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

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

  13. def combineDouble(other: Tile)(f: (Double, Double) ⇒ Double): Tile

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

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

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

  15. def convert(cellType: CellType): Tile

    Definition Classes
    ArrayTileTile
  16. def crop(srcExtent: Extent, extent: Extent): Tile

    Definition Classes
    Tile
  17. def crop(gb: GridBounds): Tile

    Definition Classes
    Tile
  18. def crop(colMin: Int, rowMin: Int, colMax: Int, rowMax: Int): Tile

    Definition Classes
    Tile
  19. def crop(cols: Int, rows: Int): Tile

    Definition Classes
    Tile
  20. lazy val dimensions: (Int, Int)

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

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

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

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

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

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  29. 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 (TypeFloat, TypeDouble). Calling findMinMax on rasters of those types will give the integer min and max of the rounded values of their cells.

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

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

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

    Definition Classes
    ArrayTileTile
  34. def foreachDouble(f: (Int, Int, Double) ⇒ Unit): Unit

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

    Definition Classes
    ArrayTileMacroIterableTile
  36. def foreachIntVisitor(visitor: IntTileVisitor): Unit

    Definition Classes
    ArrayTileMacroIterableTile
  37. def get(col: Int, row: Int): Int

    Get value at given coordinates.

    Get value at given coordinates.

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

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

    Get value at given coordinates.

    Get value at given coordinates.

    Definition Classes
    ArrayTileTile
  40. val gridBounds: GridBounds

    Definition Classes
    Tile
  41. def hashCode(): Int

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

    Definition Classes
    Any
  43. 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.

    Definition Classes
    ArrayTileTile
  44. def map(f: (Int, Int, Int) ⇒ Int): Tile

    Definition Classes
    MappableTile
  45. 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.

    Definition Classes
    ArrayTileTile
  46. def mapDouble(f: (Int, Int, Double) ⇒ Double): Tile

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

    Definition Classes
    ArrayTileMacroMappableTile
  48. def mapIfSet(f: (Int) ⇒ Int): Tile

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

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

    Definition Classes
    ArrayTileMacroMappableTile
  51. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  52. 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 mininum value

    oldMax

    Old maximum value

    newMin

    New minimum value

    newMax

    New maximum value

    Definition Classes
    Tile
  53. 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 mininum value

    oldMax

    Old maximum value

    newMin

    New minimum value

    newMax

    New maximum value

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

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

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

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

    Definition Classes
    Tile
  58. lazy val size: Int

    Definition Classes
    Tile
  59. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Definition Classes
    ArrayTileTile
  61. def toArrayDouble(): Array[Double]

    Definition Classes
    ArrayTileTile
  62. def toArrayTile(): ArrayTile

    Definition Classes
    ArrayTileTile
  63. def toList: List[Int]

  64. def toListDouble: List[Double]

  65. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Tile

Inherited from MappableTile[Tile]

Inherited from MacroMappableTile[Tile]

Inherited from IterableTile

Inherited from MacroIterableTile

Inherited from AnyRef

Inherited from Any

Ungrouped