geotrellis.raster

LazyConvertedArrayTile

final case class LazyConvertedArrayTile(inner: Tile, cellType: CellType) extends Tile with Product with Serializable

LazyConvertedTile represents a lazily-applied conversion to any type.

Note

If you care converting to a CellType with less bits than the type of the underlying data, you are responsible for managing overflow. This convert does not do any casting; therefore converting from a TypeInt to TypeByte could still return values greater than 127 from apply().

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

Instance Constructors

  1. new LazyConvertedArrayTile(inner: Tile, cellType: CellType)

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 cellType: CellType

    Definition Classes
    LazyConvertedArrayTileTile
  11. def clone(): AnyRef

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

    Definition Classes
    LazyConvertedArrayTileTile
  13. def combine(other: Tile)(f: (Int, Int) ⇒ Int): Tile

    Definition Classes
    LazyConvertedArrayTileTile
  14. def combineDouble(other: Tile)(f: (Double, Double) ⇒ Double): Tile

    Definition Classes
    LazyConvertedArrayTileTile
  15. def convert(cellType: CellType): Tile

    Definition Classes
    LazyConvertedArrayTileTile
  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 finalize(): Unit

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

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

    Definition Classes
    LazyConvertedArrayTileTile
  31. def foreach(f: (Int, Int, Int) ⇒ Unit): Unit

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

    Definition Classes
    LazyConvertedArrayTileTile
  33. def foreachDouble(f: (Int, Int, Double) ⇒ Unit): Unit

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

  35. def foreachIntVisitor(visitor: IntTileVisitor): Unit

  36. def get(col: Int, row: Int): Int

    Get value at given coordinates.

    Get value at given coordinates.

    Definition Classes
    LazyConvertedArrayTileTile
  37. final def getClass(): Class[_]

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

    Get value at given coordinates.

    Get value at given coordinates.

    Definition Classes
    LazyConvertedArrayTileTile
  39. val gridBounds: GridBounds

    Definition Classes
    Tile
  40. val inner: Tile

  41. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    LazyConvertedArrayTileTile
  43. def map(f: (Int, Int, Int) ⇒ Int): Tile

    Definition Classes
    MappableTile
  44. def mapDouble(f: (Double) ⇒ Double): Tile

    Definition Classes
    LazyConvertedArrayTileTile
  45. def mapDouble(f: (Int, Int, Double) ⇒ Double): Tile

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

  47. def mapIfSet(f: (Int) ⇒ Int): Tile

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

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

  50. def mutable: MutableArrayTile

    Create a mutable copy of this tile

    Create a mutable copy of this tile

    Definition Classes
    LazyConvertedArrayTileTile
  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. val rows: Int

    Definition Classes
    LazyConvertedArrayTileTile
  59. lazy val size: Int

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

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

    Definition Classes
    LazyConvertedArrayTileTile
  62. def toArrayDouble(): Array[Double]

    Definition Classes
    LazyConvertedArrayTileTile
  63. def toArrayTile(): ArrayTile

    Definition Classes
    LazyConvertedArrayTileTile
  64. def toBytes(): Array[Byte]

    Definition Classes
    LazyConvertedArrayTileTile
  65. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Tile

Inherited from MappableTile[Tile]

Inherited from MacroMappableTile[Tile]

Inherited from IterableTile

Inherited from MacroIterableTile

Inherited from AnyRef

Inherited from Any

Ungrouped