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
Known Subclasses
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 box2D(col: Column): TypedColumn[Any, Envelope]

    Permalink

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

  13. def cellType(col: Column): TypedColumn[Any, String]

    Permalink

    Extract the Tile's cell type

  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  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. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink

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

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

    Permalink

    Create a row for each cell in Tile.

  21. def finalize(): Unit

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

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

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

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

    Permalink

    Cellwise addition between two Tiles.

  26. def localAddScalar(tileCol: Column, value: Double): TypedColumn[Any, Tile]

    Permalink

    Cellwise addition of a scalar to a tile.

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

  32. def localAggStats(col: Column): Column

    Permalink

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

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

    Permalink

    Perform an arbitrary GeoTrellis LocalTileBinaryOp between two Tile columns.

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

    Permalink

    Cellwise division between two Tiles.

  35. def localDivideScalar(tileCol: Column, value: Double): TypedColumn[Any, Tile]

    Permalink

    Cellwise division of a tile by a scalar.

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

    Permalink

    Cellwise multiplication between two Tiles.

  37. def localMultiplyScalar(tileCol: Column, value: Double): TypedColumn[Any, Tile]

    Permalink

    Cellwise multiplication of a tile by a scalar.

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

    Permalink

    Cellwise subtraction between two Tiles.

  39. def localSubtractScalar(tileCol: Column, value: Double): TypedColumn[Any, Tile]

    Permalink

    Cellwise subtraction of a scalar from a tile.

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

    Permalink

    Constructor for constant tile column

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

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

    Permalink

    Counts the number of NoData cells per Tile.

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

    Permalink

    Compute the normalized difference of two tile columns

  44. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  46. 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()
  47. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink

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

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

    Permalink

    Compute TileHistogram of Tile values.

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

    Permalink

    Compute the maximum cell value in tile.

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

    Permalink

    Compute the Tile-wise mean

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

    Permalink

    Compute the minimum cell value in tile.

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

    Permalink

    Alias for column of constant tiles of one

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

    Permalink

    Compute statistics of Tile values.

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

    Permalink

    Compute the Tile-wise sum

  56. 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()
  57. def tileZeros(cols: Int, rows: Int, cellType: String = "float64"): TypedColumn[Any, Tile]

    Permalink

    Alias for column of constant tiles of zero

  58. def toString(): String

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

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

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

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

    Permalink

    Assign a NoData value to the Tiles.

Inherited from AnyRef

Inherited from Any

Ungrouped