Trait

org.locationtech.rasterframes

RasterFunctions

Related Doc: package rasterframes

Permalink

trait RasterFunctions extends TileFunctions with LocalFunctions with SpatialFunctions with AggregateFunctions

Mix-in for 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. AggregateFunctions
  3. SpatialFunctions
  4. LocalFunctions
  5. TileFunctions
  6. AnyRef
  7. 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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  15. def rf_abs(tileCol: Column): Column

    Permalink

    Compute the absolute value of each cell.

    Compute the absolute value of each cell.

    Definition Classes
    LocalFunctions
  16. def rf_agg_approx_histogram(col: Column, numBuckets: Int): TypedColumn[Any, CellHistogram]

    Permalink

    Compute the approximate aggregate floating point histogram using a streaming algorithm, with the given number of buckets.

    Compute the approximate aggregate floating point histogram using a streaming algorithm, with the given number of buckets.

    Definition Classes
    AggregateFunctions
  17. def rf_agg_approx_histogram(tile: Column): TypedColumn[Any, CellHistogram]

    Permalink

    Compute the approximate aggregate floating point histogram using a streaming algorithm, with the default of 80 buckets.

    Compute the approximate aggregate floating point histogram using a streaming algorithm, with the default of 80 buckets.

    Definition Classes
    AggregateFunctions
  18. def rf_agg_approx_quantiles(tile: Column, probabilities: Seq[Double], relativeError: Double = 0.00001): TypedColumn[Any, Seq[Double]]

    Permalink

    Calculates the approximate quantiles of a tile column of a DataFrame.

    Calculates the approximate quantiles of a tile column of a DataFrame.

    tile

    tile column to extract cells from.

    probabilities

    a list of quantile probabilities Each number must belong to [0, 1]. For example 0 is the minimum, 0.5 is the median, 1 is the maximum.

    relativeError

    The relative target precision to achieve (greater than or equal to 0).

    returns

    the approximate quantiles at the given probabilities of each column

    Definition Classes
    AggregateFunctions
  19. def rf_agg_data_cells(tile: Column): TypedColumn[Any, Long]

    Permalink

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

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

    Definition Classes
    AggregateFunctions
  20. def rf_agg_extent(extent: Column): TypedColumn[Any, Extent]

    Permalink

    Compute the aggregate extent over a column.

    Compute the aggregate extent over a column. Assumes CRS homogeneity.

    Definition Classes
    AggregateFunctions
  21. def rf_agg_local_data_cells(tile: Column): TypedColumn[Any, Tile]

    Permalink

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

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

    Definition Classes
    AggregateFunctions
  22. def rf_agg_local_max(tile: Column): TypedColumn[Any, Tile]

    Permalink

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

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

    Definition Classes
    AggregateFunctions
  23. def rf_agg_local_mean(tile: Column): TypedColumn[Any, Tile]

    Permalink

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

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

    Definition Classes
    AggregateFunctions
  24. def rf_agg_local_min(tile: Column): TypedColumn[Any, Tile]

    Permalink

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

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

    Definition Classes
    AggregateFunctions
  25. def rf_agg_local_no_data_cells(tile: Column): TypedColumn[Any, Tile]

    Permalink

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

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

    Definition Classes
    AggregateFunctions
  26. def rf_agg_local_stats(tile: Column): TypedColumn[Any, LocalCellStatistics]

    Permalink

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

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

    Definition Classes
    AggregateFunctions
  27. def rf_agg_mean(tile: Column): TypedColumn[Any, Double]

    Permalink

    Computes the column aggregate mean.

    Computes the column aggregate mean.

    Definition Classes
    AggregateFunctions
  28. def rf_agg_no_data_cells(tile: Column): TypedColumn[Any, Long]

    Permalink

    Computes the number of NoData cells in a column.

    Computes the number of NoData cells in a column.

    Definition Classes
    AggregateFunctions
  29. def rf_agg_overview_raster(tile: Column, tileExtent: Column, tileCRS: Column, cols: Int, rows: Int, areaOfInterest: Extent, sampler: ResampleMethod): TypedColumn[Any, Tile]

    Permalink

    Construct an overview raster of size colsxrows where data in tile intersects the areaOfInterest in web-mercator.

    Construct an overview raster of size colsxrows where data in tile intersects the areaOfInterest in web-mercator. Allows specification of one of these sampling methods:

    • geotrellis.raster.resample.NearestNeighbor
    • geotrellis.raster.resample.Bilinear
    • geotrellis.raster.resample.CubicConvolution
    • geotrellis.raster.resample.CubicSpline
    • geotrellis.raster.resample.Lanczos
    Definition Classes
    AggregateFunctions
  30. def rf_agg_overview_raster(tile: Column, tileExtent: Column, tileCRS: Column, cols: Int, rows: Int, areaOfInterest: Extent): TypedColumn[Any, Tile]

    Permalink

    Construct an overview raster of size colsxrows where data in tile intersects the areaOfInterest in web-mercator.

    Construct an overview raster of size colsxrows where data in tile intersects the areaOfInterest in web-mercator. Uses nearest bi-linear sampling method.

    Definition Classes
    AggregateFunctions
  31. def rf_agg_overview_raster(proj_raster: Column, cols: Int, rows: Int, areaOfInterest: Extent): TypedColumn[Any, Tile]

    Permalink

    Construct an overview raster of size colsxrows where data in proj_raster intersects the areaOfInterest in web-mercator.

    Construct an overview raster of size colsxrows where data in proj_raster intersects the areaOfInterest in web-mercator. Uses bi-linear sampling method.

    Definition Classes
    AggregateFunctions
  32. def rf_agg_reprojected_extent(extent: Column, srcCRS: Column, destCRS: CRS): TypedColumn[Any, Extent]

    Permalink

    Compute the aggregate extent over a column after reprojecting from the rows source CRS into the given destination CRS .

    Compute the aggregate extent over a column after reprojecting from the rows source CRS into the given destination CRS .

    Definition Classes
    AggregateFunctions
  33. def rf_agg_stats(tile: Column): TypedColumn[Any, CellStatistics]

    Permalink

    Compute the full column aggregate floating point statistics.

    Compute the full column aggregate floating point statistics.

    Definition Classes
    AggregateFunctions
  34. def rf_array_to_tile(arrayCol: Column, cols: Int, rows: Int): TypedColumn[Any, Tile]

    Permalink

    Convert array in arrayCol into a Tile of dimensions cols and rows

    Convert array in arrayCol into a Tile of dimensions cols and rows

    Definition Classes
    TileFunctions
  35. def rf_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.

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

    Definition Classes
    TileFunctions
  36. def rf_assemble_tile(columnIndex: Column, rowIndex: Column, cellData: Column, tileCols: Int, tileRows: Int): TypedColumn[Any, Tile]

    Permalink

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

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

    Definition Classes
    TileFunctions
  37. def rf_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.

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

    Definition Classes
    TileFunctions
  38. def rf_cell_type(col: Column): TypedColumn[Any, CellType]

    Permalink

    Extract the Tile's cell type

    Extract the Tile's cell type

    Definition Classes
    TileFunctions
  39. def rf_convert_cell_type(col: Column, cellType: Column): Column

    Permalink

    Change the Tile's cell type

    Change the Tile's cell type

    Definition Classes
    TileFunctions
  40. def rf_convert_cell_type(col: Column, cellTypeName: String): Column

    Permalink

    Change the Tile's cell type

    Change the Tile's cell type

    Definition Classes
    TileFunctions
  41. def rf_convert_cell_type(col: Column, cellType: CellType): Column

    Permalink

    Change the Tile's cell type

    Change the Tile's cell type

    Definition Classes
    TileFunctions
  42. def rf_crs(col: Column): TypedColumn[Any, CRS]

    Permalink

    Extracts the CRS from a RasterSource or ProjectedRasterTile

    Extracts the CRS from a RasterSource or ProjectedRasterTile

    Definition Classes
    SpatialFunctions
  43. def rf_data_cells(tile: Column): TypedColumn[Any, Long]

    Permalink

    Counts the number of non-NoData cells per Tile.

    Counts the number of non-NoData cells per Tile.

    Definition Classes
    TileFunctions
  44. def rf_dimensions(col: Column): TypedColumn[Any, TileDimensions]

    Permalink

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

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

    Definition Classes
    SpatialFunctions
  45. def rf_exists(tile: Column): TypedColumn[Any, Boolean]

    Permalink

    Returns true if any cells in the tile are true (non-zero and not NoData).

    Returns true if any cells in the tile are true (non-zero and not NoData).

    Definition Classes
    TileFunctions
  46. def rf_exp(tileCol: Column): Column

    Permalink

    Exponential of cell values

    Exponential of cell values

    Definition Classes
    LocalFunctions
  47. def rf_exp10(tileCol: Column): Column

    Permalink

    Ten to the power of cell values

    Ten to the power of cell values

    Definition Classes
    LocalFunctions
  48. def rf_exp2(tileCol: Column): Column

    Permalink

    Two to the power of cell values

    Two to the power of cell values

    Definition Classes
    LocalFunctions
  49. def rf_explode_tiles(cols: Column*): Column

    Permalink

    Create a row for each cell in Tile.

    Create a row for each cell in Tile.

    Definition Classes
    TileFunctions
  50. def rf_explode_tiles_sample(sampleFraction: Double, cols: Column*): Column

    Permalink

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

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

    Definition Classes
    TileFunctions
  51. def rf_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.

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

    Definition Classes
    TileFunctions
  52. def rf_expm1(tileCol: Column): Column

    Permalink

    Exponential of cell values, less one

    Exponential of cell values, less one

    Definition Classes
    LocalFunctions
  53. def rf_extent(col: Column): TypedColumn[Any, Extent]

    Permalink

    Extracts the bounding box from a RasterSource or ProjectedRasterTile

    Extracts the bounding box from a RasterSource or ProjectedRasterTile

    Definition Classes
    SpatialFunctions
  54. def rf_for_all(tile: Column): TypedColumn[Any, Boolean]

    Permalink

    Returns true if all cells in the tile are true (non-zero and not NoData).

    Returns true if all cells in the tile are true (non-zero and not NoData).

    Definition Classes
    TileFunctions
  55. def rf_geometry(raster: Column): TypedColumn[Any, Geometry]

    Permalink

    Extract the extent of a RasterSource or ProjectedRasterTile as a Geometry type.

    Extract the extent of a RasterSource or ProjectedRasterTile as a Geometry type.

    Definition Classes
    SpatialFunctions
  56. def rf_identity(tileCol: Column): Column

    Permalink

    Return the incoming tile untouched.

    Return the incoming tile untouched.

    Definition Classes
    LocalFunctions
  57. def rf_interpret_cell_type_as(col: Column, cellType: Column): Column

    Permalink

    Change the interpretation of the Tile's cell values according to specified CellType

    Change the interpretation of the Tile's cell values according to specified CellType

    Definition Classes
    TileFunctions
  58. def rf_interpret_cell_type_as(col: Column, cellTypeName: String): Column

    Permalink

    Change the interpretation of the Tile's cell values according to specified CellType

    Change the interpretation of the Tile's cell values according to specified CellType

    Definition Classes
    TileFunctions
  59. def rf_interpret_cell_type_as(col: Column, cellType: CellType): Column

    Permalink

    Change the interpretation of the Tile's cell values according to specified CellType

    Change the interpretation of the Tile's cell values according to specified CellType

    Definition Classes
    TileFunctions
  60. def rf_inverse_mask(sourceTile: Column, maskTile: Column): TypedColumn[Any, Tile]

    Permalink

    Where the maskTile does **not** contain NoData, replace values in the source tile with NoData

    Where the maskTile does **not** contain NoData, replace values in the source tile with NoData

    Definition Classes
    LocalFunctions
  61. def rf_inverse_mask_by_value(sourceTile: Column, maskTile: Column, maskValue: Int): TypedColumn[Any, Tile]

    Permalink

    Where the maskTile does **not** equal maskValue, replace values in the source tile with NoData

    Where the maskTile does **not** equal maskValue, replace values in the source tile with NoData

    Definition Classes
    LocalFunctions
  62. def rf_inverse_mask_by_value(sourceTile: Column, maskTile: Column, maskValue: Column): TypedColumn[Any, Tile]

    Permalink

    Where the maskTile does **not** equal maskValue, replace values in the source tile with NoData

    Where the maskTile does **not** equal maskValue, replace values in the source tile with NoData

    Definition Classes
    LocalFunctions
  63. def rf_is_no_data_tile(tile: Column): TypedColumn[Any, Boolean]

    Permalink

    Returns true if all cells in the tile are NoData.

    Returns true if all cells in the tile are NoData.

    Definition Classes
    TileFunctions
  64. def rf_local_add[T](tileCol: Column, value: T)(implicit arg0: Numeric[T]): Column

    Permalink

    Cellwise addition of a scalar value to a tile.

    Cellwise addition of a scalar value to a tile.

    Definition Classes
    LocalFunctions
  65. def rf_local_add(left: Column, right: Column): Column

    Permalink

    Cellwise addition between two Tiles or Tile and scalar column.

    Cellwise addition between two Tiles or Tile and scalar column.

    Definition Classes
    LocalFunctions
  66. def rf_local_algebra(op: LocalTileBinaryOp, left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

    Perform an arbitrary GeoTrellis LocalTileBinaryOp between two Tile columns.

    Perform an arbitrary GeoTrellis LocalTileBinaryOp between two Tile columns.

    Definition Classes
    LocalFunctions
  67. def rf_local_data(tileCol: Column): Column

    Permalink

    Return a tile with zeros where the input is NoData, otherwise one

    Return a tile with zeros where the input is NoData, otherwise one

    Definition Classes
    LocalFunctions
  68. def rf_local_divide[T](tileCol: Column, value: T)(implicit arg0: Numeric[T]): Column

    Permalink

    Cellwise division of a tile by a scalar value.

    Cellwise division of a tile by a scalar value.

    Definition Classes
    LocalFunctions
  69. def rf_local_divide(left: Column, right: Column): Column

    Permalink

    Cellwise division between two Tiles.

    Cellwise division between two Tiles.

    Definition Classes
    LocalFunctions
  70. def rf_local_equal[T](tileCol: Column, value: T)(implicit arg0: Numeric[T]): Column

    Permalink

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

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

    Definition Classes
    LocalFunctions
  71. def rf_local_equal(left: Column, right: Column): Column

    Permalink

    Cellwise equal to value comparison between two tiles.

    Cellwise equal to value comparison between two tiles.

    Definition Classes
    LocalFunctions
  72. def rf_local_extract_bits(tile: Column, bitPosition: Int): Column

    Permalink

    Extract value from specified bits of the cells' underlying binary data.

    Extract value from specified bits of the cells' underlying binary data. bitPosition is bit to consider, working from the right. It is zero indexed.

    Definition Classes
    LocalFunctions
  73. def rf_local_extract_bits(tile: Column, startBit: Int, numBits: Int): Column

    Permalink

    Extract value from specified bits of the cells' underlying binary data.

    Extract value from specified bits of the cells' underlying binary data. startBit is the first bit to consider, working from the right. It is zero indexed. numBits is the number of bits to take, moving further to the left.

    Definition Classes
    LocalFunctions
  74. def rf_local_extract_bits(tile: Column, bitPosition: Column): Column

    Permalink

    Extract value from specified bits of the cells' underlying binary data.

    Extract value from specified bits of the cells' underlying binary data. bitPosition is bit to consider, working from the right. It is zero indexed.

    Definition Classes
    LocalFunctions
  75. def rf_local_extract_bits(tile: Column, startBit: Column, numBits: Column): Column

    Permalink

    Extract value from specified bits of the cells' underlying binary data.

    Extract value from specified bits of the cells' underlying binary data. startBit is the first bit to consider, working from the right. It is zero indexed. numBits is the number of bits to take moving further to the left.

    Definition Classes
    LocalFunctions
  76. def rf_local_greater[T](tileCol: Column, value: T)(implicit arg0: Numeric[T]): Column

    Permalink

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

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

    Definition Classes
    LocalFunctions
  77. def rf_local_greater(left: Column, right: Column): Column

    Permalink

    Cellwise greater than value comparison between two tiles.

    Cellwise greater than value comparison between two tiles.

    Definition Classes
    LocalFunctions
  78. def rf_local_greater_equal[T](tileCol: Column, value: T)(implicit arg0: Numeric[T]): Column

    Permalink

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

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

    Definition Classes
    LocalFunctions
  79. def rf_local_greater_equal(left: Column, right: Column): Column

    Permalink

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

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

    Definition Classes
    LocalFunctions
  80. def rf_local_is_in(tileCol: Column, array: Array[Int]): Column

    Permalink

    Test if each cell value is in provided array

    Test if each cell value is in provided array

    Definition Classes
    LocalFunctions
  81. def rf_local_is_in(tileCol: Column, arrayCol: Column): Column

    Permalink

    Test if each cell value is in provided array

    Test if each cell value is in provided array

    Definition Classes
    LocalFunctions
  82. def rf_local_less[T](tileCol: Column, value: T)(implicit arg0: Numeric[T]): Column

    Permalink

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

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

    Definition Classes
    LocalFunctions
  83. def rf_local_less(left: Column, right: Column): Column

    Permalink

    Cellwise less than value comparison between two tiles.

    Cellwise less than value comparison between two tiles.

    Definition Classes
    LocalFunctions
  84. def rf_local_less_equal[T](tileCol: Column, value: T)(implicit arg0: Numeric[T]): Column

    Permalink

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

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

    Definition Classes
    LocalFunctions
  85. def rf_local_less_equal(left: Column, right: Column): Column

    Permalink

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

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

    Definition Classes
    LocalFunctions
  86. def rf_local_multiply[T](tileCol: Column, value: T)(implicit arg0: Numeric[T]): Column

    Permalink

    Cellwise multiplication of a tile by a scalar value.

    Cellwise multiplication of a tile by a scalar value.

    Definition Classes
    LocalFunctions
  87. def rf_local_multiply(left: Column, right: Column): Column

    Permalink

    Cellwise multiplication between two Tiles.

    Cellwise multiplication between two Tiles.

    Definition Classes
    LocalFunctions
  88. def rf_local_no_data(tileCol: Column): Column

    Permalink

    Return a tile with ones where the input is NoData, otherwise zero

    Return a tile with ones where the input is NoData, otherwise zero

    Definition Classes
    LocalFunctions
  89. def rf_local_subtract[T](tileCol: Column, value: T)(implicit arg0: Numeric[T]): Column

    Permalink

    Cellwise subtraction of a scalar value from a tile.

    Cellwise subtraction of a scalar value from a tile.

    Definition Classes
    LocalFunctions
  90. def rf_local_subtract(left: Column, right: Column): Column

    Permalink

    Cellwise subtraction between two Tiles.

    Cellwise subtraction between two Tiles.

    Definition Classes
    LocalFunctions
  91. def rf_local_unequal[T](tileCol: Column, value: T)(implicit arg0: Numeric[T]): Column

    Permalink

    Cellwise inequality comparison between a tile and a scalar.

    Cellwise inequality comparison between a tile and a scalar.

    Definition Classes
    LocalFunctions
  92. def rf_local_unequal(left: Column, right: Column): Column

    Permalink

    Cellwise inequality comparison between two tiles.

    Cellwise inequality comparison between two tiles.

    Definition Classes
    LocalFunctions
  93. def rf_log(tileCol: Column): Column

    Permalink

    Take natural logarithm of cell values.

    Take natural logarithm of cell values.

    Definition Classes
    LocalFunctions
  94. def rf_log10(tileCol: Column): Column

    Permalink

    Take base 10 logarithm of cell values.

    Take base 10 logarithm of cell values.

    Definition Classes
    LocalFunctions
  95. def rf_log1p(tileCol: Column): Column

    Permalink

    Natural logarithm of one plus cell values.

    Natural logarithm of one plus cell values.

    Definition Classes
    LocalFunctions
  96. def rf_log2(tileCol: Column): Column

    Permalink

    Take base 2 logarithm of cell values.

    Take base 2 logarithm of cell values.

    Definition Classes
    LocalFunctions
  97. def rf_make_constant_tile(value: Number, cols: Int, rows: Int, cellTypeName: String): TypedColumn[Any, Tile]

    Permalink

    Constructor for tile column with a single cell value.

    Constructor for tile column with a single cell value.

    Definition Classes
    TileFunctions
  98. def rf_make_constant_tile(value: Number, cols: Int, rows: Int, cellType: CellType): TypedColumn[Any, Tile]

    Permalink

    Constructor for tile column with a single cell value.

    Constructor for tile column with a single cell value.

    Definition Classes
    TileFunctions
  99. def rf_make_ones_tile(cols: Int, rows: Int, cellTypeName: String): TypedColumn[Any, Tile]

    Permalink

    Creates a column of tiles containing all ones

    Creates a column of tiles containing all ones

    Definition Classes
    TileFunctions
  100. def rf_make_ones_tile(cols: Int, rows: Int, cellType: CellType): TypedColumn[Any, Tile]

    Permalink

    Creates a column of tiles containing all ones

    Creates a column of tiles containing all ones

    Definition Classes
    TileFunctions
  101. def rf_make_zeros_tile(cols: Int, rows: Int, cellTypeName: String): TypedColumn[Any, Tile]

    Permalink

    Create a column constant tiles of zero

    Create a column constant tiles of zero

    Definition Classes
    TileFunctions
  102. def rf_make_zeros_tile(cols: Int, rows: Int, cellType: CellType): TypedColumn[Any, Tile]

    Permalink

    Create a column constant tiles of zero

    Create a column constant tiles of zero

    Definition Classes
    TileFunctions
  103. def rf_mask(sourceTile: Column, maskTile: Column, inverse: Boolean = false): TypedColumn[Any, Tile]

    Permalink

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

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

    Definition Classes
    LocalFunctions
  104. def rf_mask(sourceTile: Column, maskTile: Column): TypedColumn[Any, Tile]

    Permalink

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

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

    Definition Classes
    LocalFunctions
  105. def rf_mask_by_bit(dataTile: Column, maskTile: Column, bitPosition: Column, valueToMask: Column): TypedColumn[Any, Tile]

    Permalink

    Applies a mask using bit values in the mask_tile.

    Applies a mask using bit values in the mask_tile. Working from the right, extract the bit at bitPosition from the maskTile. In all locations where these are equal to the valueToMask, the returned tile is set to NoData, else the original dataTile cell value.

    Definition Classes
    LocalFunctions
  106. def rf_mask_by_bit(dataTile: Column, maskTile: Column, bitPosition: Int, valueToMask: Boolean): TypedColumn[Any, Tile]

    Permalink

    Applies a mask using bit values in the mask_tile.

    Applies a mask using bit values in the mask_tile. Working from the right, extract the bit at bitPosition from the maskTile. In all locations where these are equal to the valueToMask, the returned tile is set to NoData, else the original dataTile cell value.

    Definition Classes
    LocalFunctions
  107. def rf_mask_by_bits(dataTile: Column, maskTile: Column, startBit: Int, numBits: Int, valuesToMask: Int*): TypedColumn[Any, Tile]

    Permalink

    Applies a mask from blacklisted bit values in the mask_tile.

    Applies a mask from blacklisted bit values in the mask_tile. Working from the right, the bits from start_bit to start_bit + num_bits are @ref:[extracted](reference.md#rf_local_extract_bits) from cell values of the mask_tile. In all locations where these are in the mask_values, the returned tile is set to NoData; otherwise the original tile cell value is returned.

    Definition Classes
    LocalFunctions
  108. def rf_mask_by_bits(dataTile: Column, maskTile: Column, startBit: Column, numBits: Column, valuesToMask: Column): TypedColumn[Any, Tile]

    Permalink

    Applies a mask from blacklisted bit values in the mask_tile.

    Applies a mask from blacklisted bit values in the mask_tile. Working from the right, the bits from start_bit to start_bit + num_bits are @ref:[extracted](reference.md#rf_local_extract_bits) from cell values of the mask_tile. In all locations where these are in the mask_values, the returned tile is set to NoData; otherwise the original tile cell value is returned.

    Definition Classes
    LocalFunctions
  109. def rf_mask_by_value(sourceTile: Column, maskTile: Column, maskValue: Int): TypedColumn[Any, Tile]

    Permalink

    Where the maskTile equals maskValue, replace values in the source tile with NoData

    Where the maskTile equals maskValue, replace values in the source tile with NoData

    Definition Classes
    LocalFunctions
  110. def rf_mask_by_value(sourceTile: Column, maskTile: Column, maskValue: Int, inverse: Boolean): TypedColumn[Any, Tile]

    Permalink

    Where the maskTile equals maskValue, replace values in the source tile with NoData

    Where the maskTile equals maskValue, replace values in the source tile with NoData

    Definition Classes
    LocalFunctions
  111. def rf_mask_by_value(sourceTile: Column, maskTile: Column, maskValue: Column, inverse: Boolean = false): TypedColumn[Any, Tile]

    Permalink

    Where the maskTile equals maskValue, replace values in the source tile with NoData

    Where the maskTile equals maskValue, replace values in the source tile with NoData

    Definition Classes
    LocalFunctions
  112. def rf_mask_by_values(sourceTile: Column, maskTile: Column, maskValues: Int*): TypedColumn[Any, Tile]

    Permalink

    Generate a tile with the values from data_tile, but where cells in the mask_tile are in the mask_values list, replace the value with NODATA.

    Generate a tile with the values from data_tile, but where cells in the mask_tile are in the mask_values list, replace the value with NODATA.

    Definition Classes
    LocalFunctions
  113. def rf_mask_by_values(sourceTile: Column, maskTile: Column, maskValues: Column): TypedColumn[Any, Tile]

    Permalink

    Generate a tile with the values from data_tile, but where cells in the mask_tile are in the mask_values list, replace the value with NODATA.

    Generate a tile with the values from data_tile, but where cells in the mask_tile are in the mask_values list, replace the value with NODATA.

    Definition Classes
    LocalFunctions
  114. def rf_no_data_cells(tile: Column): TypedColumn[Any, Long]

    Permalink

    Counts the number of NoData cells per Tile.

    Counts the number of NoData cells per Tile.

    Definition Classes
    TileFunctions
  115. def rf_normalized_difference(left: Column, right: Column): TypedColumn[Any, Tile]

    Permalink

    Compute the normalized difference of two tile columns

    Compute the normalized difference of two tile columns

    Definition Classes
    LocalFunctions
  116. def rf_proj_raster(tile: Column, extent: Column, crs: Column): TypedColumn[Any, ProjectedRasterTile]

    Permalink

    Construct a proj_raster structure from individual Tile, Extent, and CRS columns.

    Construct a proj_raster structure from individual Tile, Extent, and CRS columns.

    Definition Classes
    TileFunctions
  117. def rf_rasterize(geometry: Column, bounds: Column, value: Column, cols: Column, rows: Column): TypedColumn[Any, Tile]

    Permalink

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

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

    Definition Classes
    TileFunctions
  118. def rf_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.

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

    Definition Classes
    TileFunctions
  119. def rf_render_ascii(tile: Column): TypedColumn[Any, String]

    Permalink

    Render Tile as ASCII string, for debugging purposes.

    Render Tile as ASCII string, for debugging purposes.

    Definition Classes
    TileFunctions
  120. def rf_render_matrix(tile: Column): TypedColumn[Any, String]

    Permalink

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

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

    Definition Classes
    TileFunctions
  121. def rf_render_png(red: Column, green: Column, blue: Column): TypedColumn[Any, Array[Byte]]

    Permalink

    Converts columns of tiles representing RGB channels into a PNG encoded byte array.

    Converts columns of tiles representing RGB channels into a PNG encoded byte array.

    Definition Classes
    TileFunctions
  122. def rf_render_png(tile: Column, colorRampName: String): TypedColumn[Any, Array[Byte]]

    Permalink

    Converts tiles in a column into PNG encoded byte array, using given ColorRamp to assign values to colors.

    Converts tiles in a column into PNG encoded byte array, using given ColorRamp to assign values to colors.

    Definition Classes
    TileFunctions
  123. def rf_render_png(tile: Column, colors: ColorRamp): TypedColumn[Any, Array[Byte]]

    Permalink

    Converts tiles in a column into PNG encoded byte array, using given ColorRamp to assign values to colors.

    Converts tiles in a column into PNG encoded byte array, using given ColorRamp to assign values to colors.

    Definition Classes
    TileFunctions
  124. def rf_resample(tileCol: Column, factorCol: Column): Column

    Permalink

    Resample tile to different size based on scalar factor or tile whose dimension to match.

    Resample tile to different size based on scalar factor or tile whose dimension to match. Scalar less than one will downsample tile; greater than one will upsample. Uses nearest-neighbor.

    Definition Classes
    TileFunctions
  125. def rf_resample[T](tileCol: Column, factorValue: T)(implicit arg0: Numeric[T]): Column

    Permalink

    Resample tile to different size based on scalar factor or tile whose dimension to match.

    Resample tile to different size based on scalar factor or tile whose dimension to match. Scalar less than one will downsample tile; greater than one will upsample. Uses nearest-neighbor.

    Definition Classes
    TileFunctions
  126. def rf_rgb_composite(red: Column, green: Column, blue: Column): Column

    Permalink

    Converts columns of tiles representing RGB channels into a single RGB packaged tile.

    Converts columns of tiles representing RGB channels into a single RGB packaged tile.

    Definition Classes
    TileFunctions
  127. def rf_round(tileCol: Column): Column

    Permalink

    Round cell values to nearest integer without chaning cell type.

    Round cell values to nearest integer without chaning cell type.

    Definition Classes
    LocalFunctions
  128. def rf_tile(col: Column): TypedColumn[Any, Tile]

    Permalink

    Extracts the tile from a ProjectedRasterTile, or passes through a Tile.

    Extracts the tile from a ProjectedRasterTile, or passes through a Tile.

    Definition Classes
    TileFunctions
  129. def rf_tile_histogram(col: Column): TypedColumn[Any, CellHistogram]

    Permalink

    Compute TileHistogram of Tile values.

    Compute TileHistogram of Tile values.

    Definition Classes
    TileFunctions
  130. def rf_tile_max(col: Column): TypedColumn[Any, Double]

    Permalink

    Compute the maximum cell value in tile.

    Compute the maximum cell value in tile.

    Definition Classes
    TileFunctions
  131. def rf_tile_mean(col: Column): TypedColumn[Any, Double]

    Permalink

    Compute the Tile-wise mean

    Compute the Tile-wise mean

    Definition Classes
    TileFunctions
  132. def rf_tile_min(col: Column): TypedColumn[Any, Double]

    Permalink

    Compute the minimum cell value in tile.

    Compute the minimum cell value in tile.

    Definition Classes
    TileFunctions
  133. def rf_tile_stats(col: Column): TypedColumn[Any, CellStatistics]

    Permalink

    Compute statistics of Tile values.

    Compute statistics of Tile values.

    Definition Classes
    TileFunctions
  134. def rf_tile_sum(col: Column): TypedColumn[Any, Double]

    Permalink

    Compute the Tile-wise sum

    Compute the Tile-wise sum

    Definition Classes
    TileFunctions
  135. def rf_tile_to_array_double(col: Column): TypedColumn[Any, Array[Double]]

    Permalink

    Flattens Tile into a double array.

    Flattens Tile into a double array.

    Definition Classes
    TileFunctions
  136. def rf_tile_to_array_int(col: Column): TypedColumn[Any, Array[Double]]

    Permalink

    Flattens Tile into an integer array.

    Flattens Tile into an integer array.

    Definition Classes
    TileFunctions
  137. def rf_with_no_data(col: Column, nodata: Column): Column

    Permalink

    Assign a NoData value to the tile column.

    Assign a NoData value to the tile column.

    Definition Classes
    TileFunctions
  138. def rf_with_no_data(col: Column, nodata: Int): Column

    Permalink

    Assign a NoData value to the tile column.

    Assign a NoData value to the tile column.

    Definition Classes
    TileFunctions
  139. def rf_with_no_data(col: Column, nodata: Double): Column

    Permalink

    Assign a NoData value to the tile column.

    Assign a NoData value to the tile column.

    Definition Classes
    TileFunctions
  140. def rf_xz2_index(targetExtent: Column): TypedColumn[Any, Long]

    Permalink

    Constructs a XZ2 index with level 18 resolution in WGS84 from either a ProjectedRasterTile or RasterSource.

    Constructs a XZ2 index with level 18 resolution in WGS84 from either a ProjectedRasterTile or RasterSource. For details: https://www.geomesa.org/documentation/user/datastores/index_overview.html

    Definition Classes
    SpatialFunctions
  141. def rf_xz2_index(targetExtent: Column, indexResolution: Short): TypedColumn[Any, Long]

    Permalink

    Constructs a XZ2 index with provided resolution level in WGS84 from either a ProjectedRasterTile or RasterSource.

    Constructs a XZ2 index with provided resolution level in WGS84 from either a ProjectedRasterTile or RasterSource. For details: https://www.geomesa.org/documentation/user/datastores/index_overview.html

    Definition Classes
    SpatialFunctions
  142. def rf_xz2_index(targetExtent: Column, targetCRS: Column): TypedColumn[Any, Long]

    Permalink

    Constructs a XZ2 index in WGS84 from either a Geometry, Extent, ProjectedRasterTile, or RasterSource and its CRS For details: https://www.geomesa.org/documentation/user/datastores/index_overview.html

    Constructs a XZ2 index in WGS84 from either a Geometry, Extent, ProjectedRasterTile, or RasterSource and its CRS For details: https://www.geomesa.org/documentation/user/datastores/index_overview.html

    Definition Classes
    SpatialFunctions
  143. def rf_xz2_index(targetExtent: Column, targetCRS: Column, indexResolution: Short): TypedColumn[Any, Long]

    Permalink

    Constructs a XZ2 index in WGS84 from either a Geometry, Extent, ProjectedRasterTile, or RasterSource and its CRS.

    Constructs a XZ2 index in WGS84 from either a Geometry, Extent, ProjectedRasterTile, or RasterSource and its CRS. For details: https://www.geomesa.org/documentation/user/datastores/index_overview.html

    Definition Classes
    SpatialFunctions
  144. def rf_z2_index(targetExtent: Column): TypedColumn[Any, Long]

    Permalink

    Constructs a Z2 index with index resolution of 31 in WGS84 from either a ProjectedRasterTile or RasterSource First the native extent is extracted or computed, and then center is used as the indexing location.

    Constructs a Z2 index with index resolution of 31 in WGS84 from either a ProjectedRasterTile or RasterSource First the native extent is extracted or computed, and then center is used as the indexing location. For details: https://www.geomesa.org/documentation/user/datastores/index_overview.html

    Definition Classes
    SpatialFunctions
  145. def rf_z2_index(targetExtent: Column, indexResolution: Short): TypedColumn[Any, Long]

    Permalink

    Constructs a Z2 index with the given index resolution in WGS84 from either a ProjectedRasterTile or RasterSource First the native extent is extracted or computed, and then center is used as the indexing location.

    Constructs a Z2 index with the given index resolution in WGS84 from either a ProjectedRasterTile or RasterSource First the native extent is extracted or computed, and then center is used as the indexing location. For details: https://www.geomesa.org/documentation/user/datastores/index_overview.html

    Definition Classes
    SpatialFunctions
  146. def rf_z2_index(targetExtent: Column, targetCRS: Column): TypedColumn[Any, Long]

    Permalink

    Constructs a Z2 index with index resolution of 31 in WGS84 from either a Geometry, Extent, ProjectedRasterTile, or RasterSource and its CRS.

    Constructs a Z2 index with index resolution of 31 in WGS84 from either a Geometry, Extent, ProjectedRasterTile, or RasterSource and its CRS. First the native extent is extracted or computed, and then center is used as the indexing location. For details: https://www.geomesa.org/documentation/user/datastores/index_overview.html

    Definition Classes
    SpatialFunctions
  147. def rf_z2_index(targetExtent: Column, targetCRS: Column, indexResolution: Short): TypedColumn[Any, Long]

    Permalink

    Constructs a Z2 index in WGS84 from either a Geometry, Extent, ProjectedRasterTile, or RasterSource and its CRS.

    Constructs a Z2 index in WGS84 from either a Geometry, Extent, ProjectedRasterTile, or RasterSource and its CRS. First the native extent is extracted or computed, and then center is used as the indexing location. For details: https://www.geomesa.org/documentation/user/datastores/index_overview.html

    Definition Classes
    SpatialFunctions
  148. def st_extent(col: Column): TypedColumn[Any, Extent]

    Permalink

    Extracts the bounding box of a geometry as an Extent

    Extracts the bounding box of a geometry as an Extent

    Definition Classes
    SpatialFunctions
  149. def st_geometry(extent: 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.

    Definition Classes
    SpatialFunctions
  150. def st_reproject(sourceGeom: Column, srcCRSCol: Column, dstCRSCol: Column): TypedColumn[Any, Geometry]

    Permalink

    Reproject a column of geometry from one CRS to another.

    Reproject a column of geometry from one CRS to another.

    sourceGeom

    Geometry column to reproject

    srcCRSCol

    Native CRS of sourceGeom as a column

    dstCRSCol

    Destination CRS as a column

    Definition Classes
    SpatialFunctions
  151. def st_reproject(sourceGeom: Column, srcCRS: CRS, dstCRS: CRS): TypedColumn[Any, Geometry]

    Permalink

    Reproject a column of geometry from one CRS to another.

    Reproject a column of geometry from one CRS to another.

    sourceGeom

    Geometry column to reproject

    srcCRS

    Native CRS of sourceGeom as a literal

    dstCRS

    Destination CRS as a literal

    Definition Classes
    SpatialFunctions
  152. def st_reproject(sourceGeom: Column, srcCRSCol: Column, dstCRS: CRS): TypedColumn[Any, Geometry]

    Permalink

    Reproject a column of geometry from one CRS to another.

    Reproject a column of geometry from one CRS to another.

    sourceGeom

    Geometry column to reproject

    srcCRSCol

    Native CRS of sourceGeom as a column

    dstCRS

    Destination CRS as a literal

    Definition Classes
    SpatialFunctions
  153. def st_reproject(sourceGeom: Column, srcCRS: CRS, dstCRSCol: Column): TypedColumn[Any, Geometry]

    Permalink

    Reproject a column of geometry from one CRS to another.

    Reproject a column of geometry from one CRS to another.

    sourceGeom

    Geometry column to reproject

    srcCRS

    Native CRS of sourceGeom as a literal

    dstCRSCol

    Destination CRS as a column

    Definition Classes
    SpatialFunctions
  154. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  155. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AggregateFunctions

Inherited from SpatialFunctions

Inherited from LocalFunctions

Inherited from TileFunctions

Inherited from AnyRef

Inherited from Any

Ungrouped