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

    Permalink

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

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

    Permalink

    Compute the full column aggregate floating point histogram.

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

    Permalink

    Computes the column aggregate mean.

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

    Permalink

    Computes the number of NoData cells in a column.

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

    Permalink

    Compute the full column aggregate floating point statistics.

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

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

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

  12. 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.

  13. 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.

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

    Permalink

    Extract the Tile's cell type

  15. def clone(): AnyRef

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

    Permalink

    Change the Tile's cell type

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

    Permalink

    Change the Tile's cell type

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

    Permalink

    Counts the number of non-NoData cells per Tile.

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

    Permalink

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. def explode_tiles(cols: Column*): Column

    Permalink

    Create a row for each cell in Tile.

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

    Permalink

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

  24. 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.

  25. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  28. 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

  29. final def isInstanceOf[T0]: Boolean

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

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

    Permalink

    Cellwise addition between two Tiles.

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

    Permalink

    Cellwise addition of a scalar to a tile.

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

    Permalink

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

  34. def local_agg_max(col: Column): TypedColumn[Any, Tile]

    Permalink

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

  35. def local_agg_mean(col: Column): TypedColumn[Any, Tile]

    Permalink

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

  36. def local_agg_min(col: Column): TypedColumn[Any, Tile]

    Permalink

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

  37. def local_agg_no_data_cells(col: Column): TypedColumn[Any, Tile]

    Permalink

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

  38. def local_agg_stats(col: Column): Column

    Permalink

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

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

    Permalink

    Perform an arbitrary GeoTrellis LocalTileBinaryOp between two Tile columns.

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

    Permalink

    Cellwise division between two Tiles.

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

    Permalink

    Cellwise division of a tile by a scalar.

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

    Permalink

    Cellwise equal to value comparison between two tiles.

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

    Permalink

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

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

    Permalink

    Cellwise greater than value comparison between two tiles.

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

    Permalink

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

  46. def local_greater_equal_scalar[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.

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

    Permalink

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

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

    Permalink

    Cellwise less than value comparison between two tiles.

  49. 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.

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

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

    Permalink

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

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

    Permalink

    Cellwise multiplication between two Tiles.

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

    Permalink

    Cellwise multiplication of a tile by a scalar.

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

    Permalink

    Cellwise subtraction between two Tiles.

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

    Permalink

    Cellwise subtraction of a scalar from a tile.

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

    Permalink

    Cellwise inequality comparison between two tiles.

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

    Permalink

    Cellwise inequality comparison between a tile and a scalar.

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

    Permalink

    Constructor for constant tile column

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

    Permalink

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

  60. 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

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

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

    Permalink

    Counts the number of NoData cells per Tile.

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

    Permalink

    Compute the normalized difference of two tile columns

  64. final def notify(): Unit

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

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

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

    Permalink

    Render Tile as ASCII string for debugging purposes.

    Render Tile as ASCII string for debugging purposes.

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

    Permalink

    Reproject a column of geometry from one CRS to another.

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

    Permalink

    Reproject a column of geometry from one CRS to another.

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

    Permalink

    Reproject a column of geometry from one CRS to another.

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

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

    Permalink

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

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

    Permalink

    Compute TileHistogram of Tile values.

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

    Permalink

    Compute the maximum cell value in tile.

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

    Permalink

    Compute the Tile-wise mean

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

    Permalink

    Compute the minimum cell value in tile.

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

    Permalink

    Alias for column of constant tiles of one

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

    Permalink

    Compute statistics of Tile values.

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

    Permalink

    Compute the Tile-wise sum

  80. def tile_to_array[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()
  81. def tile_zeros(cols: Int, rows: Int, cellType: String = "float64"): TypedColumn[Any, Tile]

    Permalink

    Alias for column of constant tiles of zero

  82. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  86. 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