Trait

astraea.spark.rasterframes

RasterFunctions

Related Doc: package rasterframes

Permalink

trait RasterFunctions extends AnyRef

UDFs for working with Tiles in Spark DataFrames.

Since

4/3/17

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RasterFunctions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def aggDataCells(col: Column): TypedColumn[Any, Long]

    Permalink

    Computes the number of non-NoData cells in a column.

  5. def aggHistogram(col: Column): TypedColumn[Any, CellHistogram]

    Permalink

    Compute the full column aggregate floating point histogram.

  6. def aggMean(col: Column): TypedColumn[Any, Double]

    Permalink

    Computes the column aggregate mean.

  7. def aggNoDataCells(col: Column): TypedColumn[Any, Long]

    Permalink

    Computes the number of NoData cells in a column.

  8. def aggStats(col: Column): TypedColumn[Any, CellStatistics]

    Permalink

    Compute the full column aggregate floating point statistics.

  9. def arrayToTile(arrayCol: Column, cols: Int, rows: Int): Column

    Permalink
    Annotations
    @Experimental()
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def assembleTile(columnIndex: Column, rowIndex: Column, cellData: Column, cols: Int, rows: Int, ct: CellType): TypedColumn[Any, Tile]

    Permalink

    Create a Tile from a column of cell data with location indexes.

    Create a Tile from a column of cell data with location indexes.

    Annotations
    @Experimental()
  12. def cellType(col: Column): TypedColumn[Any, String]

    Permalink

    Extract the Tile's cell type

  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def convertCellType(col: Column, cellTypeName: String): TypedColumn[Any, Tile]

    Permalink

    Change the Tile's cell type

  15. def convertCellType(col: Column, cellType: CellType): TypedColumn[Any, Tile]

    Permalink

    Change the Tile's cell type

  16. def dataCells(tile: Column): TypedColumn[Any, Long]

    Permalink

    Counts the number of non-NoData cells per Tile.

  17. def envelope(col: Column): TypedColumn[Any, Envelope]

    Permalink

    Extracts the bounding box of a geometry as a JTS envelope.

  18. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. def explodeTileSample(sampleFraction: Double, cols: Column*): Column

    Permalink

    Create a row for each cell in Tile with random sampling.

  21. def explodeTiles(cols: Column*): Column

    Permalink

    Create a row for each cell in Tile.

  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. def inverseMask(sourceTile: Column, maskTile: Column): TypedColumn[Any, Tile]

    Permalink

    Where the mask tile DOES NOT contain NODATA, replace values in the source tile with NODATA

  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. def localAdd(left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

    Cellwise addition between two Tiles.

  28. def localAddScalar[T](tileCol: Column, value: T)(implicit arg0: Numeric[T]): TypedColumn[Any, Tile]

    Permalink

    Cellwise addition of a scalar to a tile.

  29. def localAggDataCells(col: Column): TypedColumn[Any, Tile]

    Permalink

    Compute the cellwise/local count of non-NoData cells for all Tiles in a column.

  30. def localAggMax(col: Column): TypedColumn[Any, Tile]

    Permalink

    Compute the cell-wise/local max operation between Tiles in a column.

  31. def localAggMean(col: Column): TypedColumn[Any, Tile]

    Permalink

    Compute the cellwise/local mean operation between Tiles in a column.

  32. def localAggMin(col: Column): TypedColumn[Any, Tile]

    Permalink

    Compute the cellwise/local min operation between Tiles in a column.

  33. def localAggNoDataCells(col: Column): TypedColumn[Any, Tile]

    Permalink

    Compute the cellwise/local count of NoData cells for all Tiles in a column.

  34. def localAggStats(col: Column): Column

    Permalink

    Compute cell-local aggregate descriptive statistics for a column of Tiles.

  35. def localAlgebra(op: LocalTileBinaryOp, left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

    Perform an arbitrary GeoTrellis LocalTileBinaryOp between two Tile columns.

  36. def localDivide(left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

    Cellwise division between two Tiles.

  37. def localDivideScalar[T](tileCol: Column, value: T)(implicit arg0: Numeric[T]): TypedColumn[Any, Tile]

    Permalink

    Cellwise division of a tile by a scalar.

  38. def localEqual(left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

    Cellwise equal to value comparison between two tiles.

  39. def localEqualScalar[T](tileCol: Column, value: T)(implicit arg0: Numeric[T]): TypedColumn[Any, Tile]

    Permalink

    Cellwise equal to value comparison between a tile and a scalar.

  40. def localGreater(left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

    Cellwise greater than value comparison between two tiles.

  41. def localGreaterEqual(left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

    Cellwise greater than or equal to value comparison between two tiles.

  42. def localGreaterEqualScalar[T](tileCol: Column, value: T)(implicit arg0: Numeric[T]): TypedColumn[Any, Tile]

    Permalink

    Cellwise greater than or equal to value comparison between a tile and a scalar.

  43. def localGreaterScalar[T](tileCol: Column, value: T)(implicit arg0: Numeric[T]): TypedColumn[Any, Tile]

    Permalink

    Cellwise greater than value comparison between a tile and a scalar.

  44. def localLess(left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

    Cellwise less than value comparison between two tiles.

  45. def localLessEqual(left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

    Cellwise less than or equal to value comparison between a tile and a scalar.

  46. def localLessEqualScalar[T](tileCol: Column, value: T)(implicit arg0: Numeric[T]): TypedColumn[Any, Tile]

    Permalink

    Cellwise less than or equal to value comparison between a tile and a scalar.

  47. def localLessScalar[T](tileCol: Column, value: T)(implicit arg0: Numeric[T]): TypedColumn[Any, Tile]

    Permalink

    Cellwise less than value comparison between a tile and a scalar.

  48. def localMultiply(left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

    Cellwise multiplication between two Tiles.

  49. def localMultiplyScalar[T](tileCol: Column, value: T)(implicit arg0: Numeric[T]): TypedColumn[Any, Tile]

    Permalink

    Cellwise multiplication of a tile by a scalar.

  50. def localSubtract(left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

    Cellwise subtraction between two Tiles.

  51. def localSubtractScalar[T](tileCol: Column, value: T)(implicit arg0: Numeric[T]): TypedColumn[Any, Tile]

    Permalink

    Cellwise subtraction of a scalar from a tile.

  52. def localUnequal(left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

    Cellwise inequality comparison between two tiles.

  53. def localUnequalScalar[T](tileCol: Column, value: T)(implicit arg0: Numeric[T]): TypedColumn[Any, Tile]

    Permalink

    Cellwise inequality comparison between a tile and a scalar.

  54. def makeConstantTile(value: Number, cols: Int, rows: Int, cellType: String): TypedColumn[Any, Tile]

    Permalink

    Constructor for constant tile column

  55. def mask(sourceTile: Column, maskTile: Column): TypedColumn[Any, Tile]

    Permalink

    Where the mask tile contains NODATA, replace values in the source tile with NODATA

  56. def maskByValue(sourceTile: Column, maskTile: Column, maskValue: Column): TypedColumn[Any, Tile]

    Permalink

    Where the mask tile equals the mask value, replace values in the source tile with NODATA

  57. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  58. def noDataCells(tile: Column): TypedColumn[Any, Long]

    Permalink

    Counts the number of NoData cells per Tile.

  59. def normalizedDifference(left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

    Compute the normalized difference of two tile columns

  60. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  62. def rasterize(geometry: Column, bounds: Column, value: Column, cols: Int, rows: Int): TypedColumn[Any, Tile]

    Permalink

    Create a tile where cells in the grid defined by cols, rows, and bounds are filled with the given value.

  63. def renderAscii(col: Column): TypedColumn[Any, String]

    Permalink

    Render Tile as ASCII string for debugging purposes.

    Render Tile as ASCII string for debugging purposes.

    Annotations
    @Experimental()
  64. def reprojectGeometry(sourceGeom: Column, srcCRS: CRS, dstCRS: CRS): TypedColumn[Any, Geometry]

    Permalink

    Reproject a column of geometry from one CRS to another.

  65. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  66. def tileDimensions(col: Column): Column

    Permalink

    Query the number of (cols, rows) in a Tile.

  67. def tileHistogram(col: Column): TypedColumn[Any, CellHistogram]

    Permalink

    Compute TileHistogram of Tile values.

  68. def tileMax(col: Column): TypedColumn[Any, Double]

    Permalink

    Compute the maximum cell value in tile.

  69. def tileMean(col: Column): TypedColumn[Any, Double]

    Permalink

    Compute the Tile-wise mean

  70. def tileMin(col: Column): TypedColumn[Any, Double]

    Permalink

    Compute the minimum cell value in tile.

  71. def tileOnes(cols: Int, rows: Int, cellType: String = "float64"): TypedColumn[Any, Tile]

    Permalink

    Alias for column of constant tiles of one

  72. def tileStats(col: Column): TypedColumn[Any, CellStatistics]

    Permalink

    Compute statistics of Tile values.

  73. def tileSum(col: Column): TypedColumn[Any, Double]

    Permalink

    Compute the Tile-wise sum

  74. def tileToArray[T](col: Column)(implicit arg0: HasCellType[T], arg1: scala.reflect.api.JavaUniverse.TypeTag[T]): TypedColumn[Any, Array[T]]

    Permalink

    Flattens Tile into an array.

    Flattens Tile into an array. A numeric type parameter is required.

    Annotations
    @Experimental()
  75. def tileZeros(cols: Int, rows: Int, cellType: String = "float64"): TypedColumn[Any, Tile]

    Permalink

    Alias for column of constant tiles of zero

  76. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  80. def withNoData(col: Column, nodata: Double): TypedColumn[Any, Tile]

    Permalink

    Assign a NoData value to the Tiles.

Inherited from AnyRef

Inherited from Any

Ungrouped