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 agg_approx_histogram(col: Column): TypedColumn[Any, CellHistogram]

    Permalink

    Compute the full column aggregate floating point histogram.

  5. def agg_data_cells(col: Column): TypedColumn[Any, Long]

    Permalink

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

  6. def agg_local_data_cells(col: Column): TypedColumn[Any, Tile]

    Permalink

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

  7. def agg_local_max(col: Column): TypedColumn[Any, Tile]

    Permalink

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

  8. def agg_local_mean(col: Column): TypedColumn[Any, Tile]

    Permalink

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

  9. def agg_local_min(col: Column): TypedColumn[Any, Tile]

    Permalink

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

  10. def agg_local_no_data_cells(col: Column): TypedColumn[Any, Tile]

    Permalink

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

  11. def agg_local_stats(col: Column): TypedColumn[Any, LocalCellStatistics]

    Permalink

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

  12. def agg_mean(col: Column): TypedColumn[Any, Double]

    Permalink

    Computes the column aggregate mean.

  13. def agg_no_data_cells(col: Column): TypedColumn[Any, Long]

    Permalink

    Computes the number of NoData cells in a column.

  14. def agg_stats(col: Column): TypedColumn[Any, CellStatistics]

    Permalink

    Compute the full column aggregate floating point statistics.

  15. def array_to_tile(arrayCol: Column, cols: Int, rows: Int): Column

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

    Permalink
    Definition Classes
    Any
  17. def assemble_tile(columnIndex: Column, rowIndex: Column, cellData: Column, tileCols: Column, tileRows: Column): TypedColumn[Any, Tile]

    Permalink

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

  18. def assemble_tile(columnIndex: Column, rowIndex: Column, cellData: Column, tileCols: Int, tileRows: Int, ct: CellType): TypedColumn[Any, Tile]

    Permalink

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

  19. def bounds_geometry(bounds: Column): TypedColumn[Any, Geometry]

    Permalink

    Convert a bounding box structure to a Geometry type.

    Convert a bounding box structure to a Geometry type. Intented to support multiple schemas.

  20. def cell_type(col: Column): TypedColumn[Any, CellType]

    Permalink

    Extract the Tile's cell type

  21. def clone(): AnyRef

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

    Permalink

    Change the Tile's cell type

  23. def convert_cell_type(col: Column, cellType: CellType): TypedColumn[Any, Tile]

    Permalink

    Change the Tile's cell type

  24. def data_cells(tile: Column): TypedColumn[Any, Long]

    Permalink

    Counts the number of non-NoData cells per Tile.

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

    Permalink

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  28. def exp(tileCol: Column): TypedColumn[Any, Tile]

    Permalink

    Exponential of cell values

  29. def exp10(tileCol: Column): TypedColumn[Any, Tile]

    Permalink

    Ten to the power of cell values

  30. def exp2(tileCol: Column): TypedColumn[Any, Tile]

    Permalink

    Two to the power of cell values

  31. def explode_tiles(cols: Column*): Column

    Permalink

    Create a row for each cell in Tile.

  32. def explode_tiles_sample(sampleFraction: Double, cols: Column*): Column

    Permalink

    Create a row for each cell in Tile with random sampling (no seed).

  33. def explode_tiles_sample(sampleFraction: Double, seed: Option[Long], cols: Column*): Column

    Permalink

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

  34. def expm1(tileCol: Column): TypedColumn[Any, Tile]

    Permalink

    Exponential of cell values, less one

  35. def finalize(): Unit

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

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

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

    Permalink

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

  39. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  40. def is_no_data_tile(tile: Column): TypedColumn[Any, Boolean]

    Permalink
  41. def local_add[T](tileCol: Column, value: T)(implicit arg0: Numeric[T]): TypedColumn[Any, Tile]

    Permalink

    Cellwise addition of a scalar value to a tile.

  42. def local_add(left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

    Cellwise addition between two Tiles or Tile and scalar column.

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

    Permalink

    Perform an arbitrary GeoTrellis LocalTileBinaryOp between two Tile columns.

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

    Permalink

    Cellwise division of a tile by a scalar value.

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

    Permalink

    Cellwise division between two Tiles.

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

    Permalink

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

  47. def local_equal(left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

    Cellwise equal to value comparison between two tiles.

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

    Permalink

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

  49. def local_greater(left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

    Cellwise greater than value comparison between two tiles.

  50. def local_greater_equal[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.

  51. def local_greater_equal(left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

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

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

    Permalink

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

  53. def local_less(left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

    Cellwise less than value comparison between two tiles.

  54. def local_less_equal[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.

  55. def local_less_equal(left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

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

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

    Permalink

    Cellwise multiplication of a tile by a scalar value.

  57. def local_multiply(left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

    Cellwise multiplication between two Tiles.

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

    Permalink

    Cellwise subtraction of a scalar value from a tile.

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

    Permalink

    Cellwise subtraction between two Tiles.

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

    Permalink

    Cellwise inequality comparison between a tile and a scalar.

  61. def local_unequal(left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

    Cellwise inequality comparison between two tiles.

  62. def log(tileCol: Column): TypedColumn[Any, Tile]

    Permalink

    Take natural logarithm of cell values.

  63. def log10(tileCol: Column): TypedColumn[Any, Tile]

    Permalink

    Take base 10 logarithm of cell values.

  64. def log1p(tileCol: Column): TypedColumn[Any, Tile]

    Permalink

    Natural logarithm of one plus cell values.

  65. def log2(tileCol: Column): TypedColumn[Any, Tile]

    Permalink

    Take base 2 logarithm of cell values.

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

    Permalink

    Constructor for constant tile column

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

    Permalink

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

  68. def mask_by_value(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

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

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

    Permalink

    Counts the number of NoData cells per Tile.

  71. def normalized_difference(left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

    Compute the normalized difference of two tile columns

  72. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  74. 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.

  75. def render_ascii(col: Column): TypedColumn[Any, String]

    Permalink

    Render Tile as ASCII string, for debugging purposes.

  76. def render_matrix(col: Column): TypedColumn[Any, String]

    Permalink

    Render Tile cell values as numeric values, for debugging purposes.

  77. def reproject_geometry(sourceGeom: Column, srcCRS: CRS, dstCRS: CRS): TypedColumn[Any, Geometry]

    Permalink

    Reproject a column of geometry from one CRS to another.

  78. def reproject_geometry(sourceGeom: Column, srcCRSCol: Column, dstCRS: CRS): TypedColumn[Any, Geometry]

    Permalink

    Reproject a column of geometry from one CRS to another.

  79. def reproject_geometry(sourceGeom: Column, srcCRS: CRS, dstCRSCol: Column): TypedColumn[Any, Geometry]

    Permalink

    Reproject a column of geometry from one CRS to another.

  80. def resample(tileCol: Column, column2: Column): TypedColumn[Any, Tile]

    Permalink

    Resample tile using nearest-neighbor

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

    Permalink

    Resample tile using nearest-neighbor

  82. def round(tileCol: Column): TypedColumn[Any, Tile]

    Permalink

    Round cell values to nearest integer without chaning cell type.

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

    Permalink
    Definition Classes
    AnyRef
  84. def tile_dimensions(col: Column): Column

    Permalink

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

  85. def tile_histogram(col: Column): TypedColumn[Any, CellHistogram]

    Permalink

    Compute TileHistogram of Tile values.

  86. def tile_max(col: Column): TypedColumn[Any, Double]

    Permalink

    Compute the maximum cell value in tile.

  87. def tile_mean(col: Column): TypedColumn[Any, Double]

    Permalink

    Compute the Tile-wise mean

  88. def tile_min(col: Column): TypedColumn[Any, Double]

    Permalink

    Compute the minimum cell value in tile.

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

    Permalink

    Alias for column of constant tiles of one

  90. def tile_stats(col: Column): TypedColumn[Any, CellStatistics]

    Permalink

    Compute statistics of Tile values.

  91. def tile_sum(col: Column): TypedColumn[Any, Double]

    Permalink

    Compute the Tile-wise sum

  92. def tile_to_array_double(col: Column): TypedColumn[Any, Array[Double]]

    Permalink

    Flattens Tile into a double array.

  93. def tile_to_array_int(col: Column): TypedColumn[Any, Array[Double]]

    Permalink

    Flattens Tile into an integer array.

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

    Permalink

    Alias for column of constant tiles of zero

  95. def toString(): String

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

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

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

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

    Permalink

    Assign a NoData value to the Tiles.

Inherited from AnyRef

Inherited from Any

Ungrouped