Class

org.locationtech.rasterframes.py

PyRFContext

Related Doc: package py

Permalink

class PyRFContext extends RasterFunctions with Library

py4j access wrapper to RasterFrameLayer entry points.

Since

11/6/17

Linear Supertypes
Library, SpatialRelations, SpatialProcessors, SpatialOutputs, SpatialAccessors, SpatialConverters, SpatialConstructors, RasterFunctions, AggregateFunctions, SpatialFunctions, LocalFunctions, TileFunctions, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PyRFContext
  2. Library
  3. SpatialRelations
  4. SpatialProcessors
  5. SpatialOutputs
  6. SpatialAccessors
  7. SpatialConverters
  8. SpatialConstructors
  9. RasterFunctions
  10. AggregateFunctions
  11. SpatialFunctions
  12. LocalFunctions
  13. TileFunctions
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PyRFContext()(implicit sparkSession: SparkSession)

    Permalink

Type Members

  1. type jDouble = Double

    Permalink
  2. type jInt = Integer

    Permalink

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 _dfToHTML(df: DataFrame, numRows: Int, truncate: Boolean): String

    Permalink
  5. def _dfToMarkdown(df: DataFrame, numRows: Int, truncate: Boolean): String

    Permalink
  6. def _listToSeq(cols: ArrayList[AnyRef]): Seq[AnyRef]

    Permalink
  7. def _make_crs_literal(crsText: String): Column

    Permalink
  8. def _parse_cell_type(name: String): CellType

    Permalink

    Convenience functions for use in Python

  9. def _reprojectExtent(extent: Extent, srcCRS: String, destCRS: String): Extent

    Permalink
  10. def _resolveRasterRef(srcBin: Array[Byte], bandIndex: jInt, xmin: jDouble, ymin: jDouble, xmax: jDouble, ymax: jDouble): AnyRef

    Permalink
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def asLayer(df: DataFrame, spatialKey: Column, tlm: String): RasterFrameLayer

    Permalink

    Conversion to RasterFrameLayer with spatial key column and TileLayerMetadata specified.

  13. def asLayer(df: DataFrame): RasterFrameLayer

    Permalink

    Base conversion to RasterFrameLayer

  14. def asLayer(layer: ContextRDD[SpaceTimeKey, MultibandTile, TileLayerMetadata[SpaceTimeKey]], bandCount: Integer)(implicit d: DummyImplicit): RasterFrameLayer

    Permalink

    Converts a ContextRDD[SpaceTimeKey, MultibandTile, TileLayerMedadata[SpaceTimeKey]] to a RasterFrameLayer

  15. def asLayer(layer: ContextRDD[SpatialKey, MultibandTile, TileLayerMetadata[SpatialKey]], bandCount: Integer): RasterFrameLayer

    Permalink

    Converts a ContextRDD[Spatialkey, MultibandTile, TileLayerMedadata[Spatialkey]] to a RasterFrameLayer

  16. def buildInfo(): HashMap[String, String]

    Permalink
  17. def clone(): AnyRef

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def geomCollLit(g: GeometryCollection): TypedColumn[Any, GeometryCollection]

    Permalink
    Definition Classes
    SpatialConstructors
  22. def geomLit(g: Geometry): TypedColumn[Any, Geometry]

    Permalink
    Definition Classes
    SpatialConstructors
  23. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  26. def lineLit(g: LineString): TypedColumn[Any, LineString]

    Permalink
    Definition Classes
    SpatialConstructors
  27. def mLineLit(g: MultiLineString): TypedColumn[Any, MultiLineString]

    Permalink
    Definition Classes
    SpatialConstructors
  28. def mPointLit(g: MultiPoint): TypedColumn[Any, MultiPoint]

    Permalink
    Definition Classes
    SpatialConstructors
  29. def mPolygonLit(g: MultiPolygon): TypedColumn[Any, MultiPolygon]

    Permalink
    Definition Classes
    SpatialConstructors
  30. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  33. def pointLit(g: Point): TypedColumn[Any, Point]

    Permalink
    Definition Classes
    SpatialConstructors
  34. def polygonLit(g: Polygon): TypedColumn[Any, Polygon]

    Permalink
    Definition Classes
    SpatialConstructors
  35. def rasterJoin(df: DataFrame, other: DataFrame, joinExprs: Column, leftExtent: Column, leftCRS: Column, rightExtent: Column, rightCRS: Column, resamplingMethod: String): DataFrame

    Permalink

    Left spatial join managing reprojection and merging of other; uses joinExprs to conduct initial join then extent and CRS columns to determine if rows intersect

  36. def rasterJoin(df: DataFrame, other: DataFrame, leftExtent: Column, leftCRS: Column, rightExtent: Column, rightCRS: Column, resamplingMethod: String): DataFrame

    Permalink

    Left spatial join managing reprojection and merging of other; uses extent and CRS columns to determine if rows intersect

  37. def rasterJoin(df: DataFrame, other: DataFrame, resamplingMethod: String): DataFrame

    Permalink

    Left spatial join managing reprojection and merging of other

  38. def rf_abs(tileCol: Column): Column

    Permalink

    Compute the absolute value of each cell.

    Compute the absolute value of each cell.

    Definition Classes
    LocalFunctions
  39. 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
  40. 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
  41. def rf_agg_approx_quantiles(tile: Column, probabilities: List[Double], relativeError: Double): TypedColumn[Any, Seq[Double]]

    Permalink

    py4j friendly version of this function

  42. 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
  43. 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
  44. 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
  45. 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
  46. 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
  47. 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
  48. 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
  49. 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
  50. 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
  51. def rf_agg_mean(tile: Column): TypedColumn[Any, Double]

    Permalink

    Computes the column aggregate mean.

    Computes the column aggregate mean.

    Definition Classes
    AggregateFunctions
  52. 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
  53. 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
  54. 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
  55. 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
  56. 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
  57. 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
  58. 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
  59. 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
  60. 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
  61. 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
  62. 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
  63. def rf_cell_types: List[String]

    Permalink

    Convenience list of valid cell type strings

    Convenience list of valid cell type strings

    returns

    Java List of String, which py4j can interpret as a python list

  64. 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
  65. 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
  66. 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
  67. 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
  68. 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
  69. def rf_dimensions(col: Column): TypedColumn[Any, Dimensions[Int]]

    Permalink

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

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

    Definition Classes
    SpatialFunctions
  70. 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
  71. def rf_exp(tileCol: Column): Column

    Permalink

    Exponential of cell values

    Exponential of cell values

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

    Permalink

    Ten to the power of cell values

    Ten to the power of cell values

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

    Permalink

    Two to the power of cell values

    Two to the power of cell values

    Definition Classes
    LocalFunctions
  74. 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
  75. def rf_explode_tiles_sample(sampleFraction: Double, seed: Long, cols: Column*): Column

    Permalink
  76. 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
  77. 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
  78. def rf_expm1(tileCol: Column): Column

    Permalink

    Exponential of cell values, less one

    Exponential of cell values, less one

    Definition Classes
    LocalFunctions
  79. 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
  80. 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
  81. 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
  82. def rf_identity(tileCol: Column): Column

    Permalink

    Return the incoming tile untouched.

    Return the incoming tile untouched.

    Definition Classes
    LocalFunctions
  83. 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
  84. 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
  85. 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
  86. 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
  87. 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
  88. 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
  89. 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
  90. 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
  91. 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
  92. def rf_local_add_double(col: Column, scalar: Double): Column

    Permalink
  93. def rf_local_add_int(col: Column, scalar: Int): Column

    Permalink
  94. 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
  95. def rf_local_clamp[T](tile: Column, min: T, max: T)(implicit arg0: Numeric[T]): Column

    Permalink

    Return the tile with its values limited to a range defined by min and max.

    Return the tile with its values limited to a range defined by min and max.

    Definition Classes
    LocalFunctions
  96. def rf_local_clamp[T](tile: Column, min: Column, max: T)(implicit arg0: Numeric[T]): Column

    Permalink

    Return the tile with its values limited to a range defined by min and max.

    Return the tile with its values limited to a range defined by min and max.

    Definition Classes
    LocalFunctions
  97. def rf_local_clamp[T](tile: Column, min: T, max: Column)(implicit arg0: Numeric[T]): Column

    Permalink

    Return the tile with its values limited to a range defined by min and max.

    Return the tile with its values limited to a range defined by min and max.

    Definition Classes
    LocalFunctions
  98. def rf_local_clamp(tile: Column, min: Column, max: Column): Column

    Permalink

    Return the tile with its values limited to a range defined by min and max.

    Return the tile with its values limited to a range defined by min and max.

    Definition Classes
    LocalFunctions
  99. 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
  100. 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
  101. def rf_local_divide(left: Column, right: Column): Column

    Permalink

    Cellwise division between two Tiles.

    Cellwise division between two Tiles.

    Definition Classes
    LocalFunctions
  102. def rf_local_divide_double(col: Column, scalar: Double): Column

    Permalink
  103. def rf_local_divide_int(col: Column, scalar: Int): Column

    Permalink
  104. 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
  105. 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
  106. def rf_local_equal_double(col: Column, scalar: Double): Column

    Permalink
  107. def rf_local_equal_int(col: Column, scalar: Int): Column

    Permalink
  108. 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
  109. 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
  110. 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
  111. 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
  112. 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
  113. 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
  114. def rf_local_greater_double(col: Column, scalar: Double): Column

    Permalink
  115. 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
  116. 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
  117. def rf_local_greater_equal_double(col: Column, scalar: Double): Column

    Permalink
  118. def rf_local_greater_equal_int(col: Column, scalar: Int): Column

    Permalink
  119. def rf_local_greater_int(col: Column, scalar: Int): Column

    Permalink
  120. 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
  121. 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
  122. 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
  123. 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
  124. def rf_local_less_double(col: Column, scalar: Double): Column

    Permalink
  125. 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
  126. 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
  127. def rf_local_less_equal_double(col: Column, scalar: Double): Column

    Permalink
  128. def rf_local_less_equal_int(col: Column, scalar: Int): Column

    Permalink
  129. def rf_local_less_int(col: Column, scalar: Int): Column

    Permalink
  130. def rf_local_max[T](left: Column, right: T)(implicit arg0: Numeric[T]): Column

    Permalink

    Cellwise maximum between Tiles.

    Cellwise maximum between Tiles.

    Definition Classes
    LocalFunctions
  131. def rf_local_max(left: Column, right: Column): Column

    Permalink

    Cellwise maximum between Tiles.

    Cellwise maximum between Tiles.

    Definition Classes
    LocalFunctions
  132. def rf_local_min[T](left: Column, right: T)(implicit arg0: Numeric[T]): Column

    Permalink

    Cellwise minimum between Tiles.

    Cellwise minimum between Tiles.

    Definition Classes
    LocalFunctions
  133. def rf_local_min(left: Column, right: Column): Column

    Permalink

    Cellwise minimum between Tiles.

    Cellwise minimum between Tiles.

    Definition Classes
    LocalFunctions
  134. 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
  135. def rf_local_multiply(left: Column, right: Column): Column

    Permalink

    Cellwise multiplication between two Tiles.

    Cellwise multiplication between two Tiles.

    Definition Classes
    LocalFunctions
  136. def rf_local_multiply_double(col: Column, scalar: Double): Column

    Permalink
  137. def rf_local_multiply_int(col: Column, scalar: Int): Column

    Permalink
  138. 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
  139. 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
  140. def rf_local_subtract(left: Column, right: Column): Column

    Permalink

    Cellwise subtraction between two Tiles.

    Cellwise subtraction between two Tiles.

    Definition Classes
    LocalFunctions
  141. def rf_local_subtract_double(col: Column, scalar: Double): Column

    Permalink
  142. def rf_local_subtract_int(col: Column, scalar: Int): Column

    Permalink
  143. 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
  144. 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
  145. def rf_local_unequal_double(col: Column, scalar: Double): Column

    Permalink
  146. def rf_local_unequal_int(col: Column, scalar: Int): Column

    Permalink
  147. def rf_log(tileCol: Column): Column

    Permalink

    Take natural logarithm of cell values.

    Take natural logarithm of cell values.

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

    Permalink

    Take base 10 logarithm of cell values.

    Take base 10 logarithm of cell values.

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

    Permalink

    Natural logarithm of one plus cell values.

    Natural logarithm of one plus cell values.

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

    Permalink

    Take base 2 logarithm of cell values.

    Take base 2 logarithm of cell values.

    Definition Classes
    LocalFunctions
  151. 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
  152. 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
  153. 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
  154. 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
  155. 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
  156. 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
  157. 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
  158. 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
  159. 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
  160. 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
  161. 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
  162. 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
  163. 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
  164. 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
  165. 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
  166. 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
  167. 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
  168. 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
  169. 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
  170. 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
  171. 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
  172. 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
  173. 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
  174. 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
  175. 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
  176. 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
  177. 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
  178. def rf_resample(tileCol: Column, factorCol: Column, methodName: String): Column

    Permalink
    Definition Classes
    TileFunctions
  179. def rf_resample(tileCol: Column, factorCol: Column, methodName: Column): Column

    Permalink
    Definition Classes
    TileFunctions
  180. def rf_resample[T](tileCol: Column, factorVal: T, methodName: String)(implicit arg0: Numeric[T]): Column

    Permalink
    Definition Classes
    TileFunctions
  181. def rf_resample[T](tileCol: Column, factorVal: T, methodName: Column)(implicit arg0: Numeric[T]): Column

    Permalink

    Definition Classes
    TileFunctions
  182. 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
  183. 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
  184. def rf_rescale(tile: Column, min: Double, max: Double): Column

    Permalink

    Rescale cell values such that the minimum is zero and the maximum is one.

    Rescale cell values such that the minimum is zero and the maximum is one. Other values will be linearly interpolated into the range. The min parameter will become the zero value and the max parameter will become 1. Values outside the range will be set to 0 or 1.

    Definition Classes
    LocalFunctions
  185. def rf_rescale(tile: Column, min: Column, max: Column): Column

    Permalink

    Rescale cell values such that the minimum is zero and the maximum is one.

    Rescale cell values such that the minimum is zero and the maximum is one. Other values will be linearly interpolated into the range. The min parameter will become the zero value and the max parameter will become 1. Values outside the range will be set to 0 or 1.

    Definition Classes
    LocalFunctions
  186. def rf_rescale(tile: Column): Column

    Permalink

    Rescale cell values such that the minimum is zero and the maximum is one.

    Rescale cell values such that the minimum is zero and the maximum is one. Other values will be linearly interpolated into the range. Cells with the tile-wise minimum value will become the zero value and those at the tile-wise maximum value will become 1. This can result in inconsistent values across rows in a tile column.

    Definition Classes
    LocalFunctions
  187. 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
  188. 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
  189. def rf_sqrt(tileCol: Column): Column

    Permalink

    Square root of cell values

    Square root of cell values

    Definition Classes
    LocalFunctions
  190. def rf_standardize(tile: Column): Column

    Permalink

    Standardize cell values such that the mean is zero and the standard deviation is one.

    Standardize cell values such that the mean is zero and the standard deviation is one. Each tile will be standardized according to the statistics of its cell values; this can result in inconsistent values across rows in a tile column.

    Definition Classes
    LocalFunctions
  191. def rf_standardize(tile: Column, mean: Double, stddev: Double): Column

    Permalink

    Standardize cell values such that the mean is zero and the standard deviation is one.

    Standardize cell values such that the mean is zero and the standard deviation is one. The mean and stddev are applied to all tiles in the column.

    Definition Classes
    LocalFunctions
  192. def rf_standardize(tile: Column, mean: Column, stddev: Column): Column

    Permalink

    Standardize cell values such that the mean is zero and the standard deviation is one.

    Standardize cell values such that the mean is zero and the standard deviation is one. The mean and stddev are applied to all tiles in the column.

    Definition Classes
    LocalFunctions
  193. 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
  194. def rf_tile_histogram(col: Column): TypedColumn[Any, CellHistogram]

    Permalink

    Compute TileHistogram of Tile values.

    Compute TileHistogram of Tile values.

    Definition Classes
    TileFunctions
  195. 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
  196. def rf_tile_mean(col: Column): TypedColumn[Any, Double]

    Permalink

    Compute the Tile-wise mean

    Compute the Tile-wise mean

    Definition Classes
    TileFunctions
  197. 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
  198. def rf_tile_stats(col: Column): TypedColumn[Any, CellStatistics]

    Permalink

    Compute statistics of Tile values.

    Compute statistics of Tile values.

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

    Permalink

    Compute the Tile-wise sum

    Compute the Tile-wise sum

    Definition Classes
    TileFunctions
  200. 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
  201. def rf_tile_to_array_int(col: Column): TypedColumn[Any, Array[Int]]

    Permalink

    Flattens Tile into an integer array.

    Flattens Tile into an integer array.

    Definition Classes
    TileFunctions
  202. def rf_where(condition: Column, x: Column, y: Column): Column

    Permalink

    Return a tile with cell values chosen from x or y depending on condition.

    Return a tile with cell values chosen from x or y depending on condition. Operates cell-wise in a similar fashion to Spark SQL when and otherwise.

    Definition Classes
    LocalFunctions
  203. 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
  204. 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
  205. 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
  206. 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
  207. 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
  208. 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
  209. 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
  210. 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
  211. 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
  212. 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
  213. 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
  214. def spatialJoin(df: DataFrame, right: DataFrame): RasterFrameLayer

    Permalink
  215. def spatialKeyColumn(df: DataFrame): Column

    Permalink
  216. def st_aggregateDistanceSphere(geomSeq: Column): TypedColumn[Any, Double]

    Permalink
    Definition Classes
    SpatialRelations
  217. def st_antimeridianSafeGeom(geom: Column): TypedColumn[Any, Geometry]

    Permalink
    Definition Classes
    SpatialProcessors
  218. def st_area(geom: Column): TypedColumn[Any, Double]

    Permalink
    Definition Classes
    SpatialRelations
  219. def st_asBinary(geom: Column): TypedColumn[Any, Array[Byte]]

    Permalink
    Definition Classes
    SpatialOutputs
  220. def st_asGeoJSON(geom: Column): TypedColumn[Any, String]

    Permalink
    Definition Classes
    SpatialOutputs
  221. def st_asLatLonText(point: Column): TypedColumn[Any, String]

    Permalink
    Definition Classes
    SpatialOutputs
  222. def st_asText(geom: Column): TypedColumn[Any, String]

    Permalink
    Definition Classes
    SpatialOutputs
  223. def st_boundary(geom: Column): TypedColumn[Any, Geometry]

    Permalink
    Definition Classes
    SpatialAccessors
  224. def st_bufferPoint(geom: Column, buffer: Double): TypedColumn[Any, Geometry]

    Permalink
    Definition Classes
    SpatialProcessors
  225. def st_bufferPoint(geom: Column, buffer: Column): TypedColumn[Any, Geometry]

    Permalink
    Definition Classes
    SpatialProcessors
  226. def st_byteArray(str: Column): TypedColumn[Any, Array[Byte]]

    Permalink
    Definition Classes
    SpatialConverters
  227. def st_castToGeometry(geom: Column): TypedColumn[Any, Geometry]

    Permalink
    Definition Classes
    SpatialConverters
  228. def st_castToLineString(geom: Column): TypedColumn[Any, LineString]

    Permalink
    Definition Classes
    SpatialConverters
  229. def st_castToPoint(geom: Column): TypedColumn[Any, Point]

    Permalink
    Definition Classes
    SpatialConverters
  230. def st_castToPolygon(geom: Column): TypedColumn[Any, Polygon]

    Permalink
    Definition Classes
    SpatialConverters
  231. def st_centroid(geom: Column): TypedColumn[Any, Point]

    Permalink
    Definition Classes
    SpatialRelations
  232. def st_closestPoint(left: Column, right: Column): TypedColumn[Any, Point]

    Permalink
    Definition Classes
    SpatialRelations
  233. def st_contains(left: Column, right: Column): TypedColumn[Any, Boolean]

    Permalink
    Definition Classes
    SpatialRelations
  234. def st_coordDim(geom: Column): TypedColumn[Any, Integer]

    Permalink
    Definition Classes
    SpatialAccessors
  235. def st_covers(left: Column, right: Column): TypedColumn[Any, Boolean]

    Permalink
    Definition Classes
    SpatialRelations
  236. def st_crosses(left: Column, right: Column): TypedColumn[Any, Boolean]

    Permalink
    Definition Classes
    SpatialRelations
  237. def st_dimension(geom: Column): TypedColumn[Any, Integer]

    Permalink
    Definition Classes
    SpatialAccessors
  238. def st_disjoint(left: Column, right: Column): TypedColumn[Any, Boolean]

    Permalink
    Definition Classes
    SpatialRelations
  239. def st_distance(left: Column, right: Column): TypedColumn[Any, Double]

    Permalink
    Definition Classes
    SpatialRelations
  240. def st_distanceSphere(left: Column, right: Column): TypedColumn[Any, Double]

    Permalink
    Definition Classes
    SpatialRelations
  241. def st_envelope(geom: Column): TypedColumn[Any, Geometry]

    Permalink
    Definition Classes
    SpatialAccessors
  242. def st_equals(left: Column, right: Column): TypedColumn[Any, Boolean]

    Permalink
    Definition Classes
    SpatialRelations
  243. 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
  244. def st_exteriorRing(geom: Column): TypedColumn[Any, LineString]

    Permalink
    Definition Classes
    SpatialAccessors
  245. def st_geoHash(geom: Column, precision: Int): TypedColumn[Any, String]

    Permalink
    Definition Classes
    SpatialOutputs
  246. def st_geoHash(geom: Column, precision: Column): TypedColumn[Any, String]

    Permalink
    Definition Classes
    SpatialOutputs
  247. def st_geomFromGeoHash(geohash: Column, precision: Int): TypedColumn[Any, Geometry]

    Permalink
    Definition Classes
    SpatialConstructors
  248. def st_geomFromGeoHash(geohash: Column, precision: Column): TypedColumn[Any, Geometry]

    Permalink
    Definition Classes
    SpatialConstructors
  249. def st_geomFromWKB(wkb: Array[Byte]): TypedColumn[Any, Geometry]

    Permalink
    Definition Classes
    SpatialConstructors
  250. def st_geomFromWKB(wkb: Column): TypedColumn[Any, Geometry]

    Permalink
    Definition Classes
    SpatialConstructors
  251. def st_geomFromWKT(wkt: String): TypedColumn[Any, Geometry]

    Permalink
    Definition Classes
    SpatialConstructors
  252. def st_geomFromWKT(wkt: Column): TypedColumn[Any, Geometry]

    Permalink
    Definition Classes
    SpatialConstructors
  253. 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
  254. def st_geometryN(geom: Column, n: Column): TypedColumn[Any, Geometry]

    Permalink
    Definition Classes
    SpatialAccessors
  255. def st_geometryType(geom: Column): TypedColumn[Any, String]

    Permalink
    Definition Classes
    SpatialAccessors
  256. def st_interiorRingN(geom: Column, n: Column): TypedColumn[Any, Geometry]

    Permalink
    Definition Classes
    SpatialAccessors
  257. def st_intersects(left: Column, right: Column): TypedColumn[Any, Boolean]

    Permalink
    Definition Classes
    SpatialRelations
  258. def st_isClosed(geom: Column): TypedColumn[Any, Boolean]

    Permalink
    Definition Classes
    SpatialAccessors
  259. def st_isCollection(geom: Column): TypedColumn[Any, Boolean]

    Permalink
    Definition Classes
    SpatialAccessors
  260. def st_isEmpty(geom: Column): TypedColumn[Any, Boolean]

    Permalink
    Definition Classes
    SpatialAccessors
  261. def st_isRing(geom: Column): TypedColumn[Any, Boolean]

    Permalink
    Definition Classes
    SpatialAccessors
  262. def st_isSimple(geom: Column): TypedColumn[Any, Boolean]

    Permalink
    Definition Classes
    SpatialAccessors
  263. def st_isValid(geom: Column): TypedColumn[Any, Boolean]

    Permalink
    Definition Classes
    SpatialAccessors
  264. def st_length(geom: Column): TypedColumn[Any, Double]

    Permalink
    Definition Classes
    SpatialRelations
  265. def st_lengthSphere(line: Column): TypedColumn[Any, Double]

    Permalink
    Definition Classes
    SpatialRelations
  266. def st_lineFromText(wkt: String): TypedColumn[Any, LineString]

    Permalink
    Definition Classes
    SpatialConstructors
  267. def st_lineFromText(wkt: Column): TypedColumn[Any, LineString]

    Permalink
    Definition Classes
    SpatialConstructors
  268. def st_mLineFromText(wkt: String): TypedColumn[Any, MultiLineString]

    Permalink
    Definition Classes
    SpatialConstructors
  269. def st_mLineFromText(wkt: Column): TypedColumn[Any, MultiLineString]

    Permalink
    Definition Classes
    SpatialConstructors
  270. def st_mPointFromText(wkt: String): TypedColumn[Any, MultiPoint]

    Permalink
    Definition Classes
    SpatialConstructors
  271. def st_mPointFromText(wkt: Column): TypedColumn[Any, MultiPoint]

    Permalink
    Definition Classes
    SpatialConstructors
  272. def st_mPolyFromText(wkt: String): TypedColumn[Any, MultiPolygon]

    Permalink
    Definition Classes
    SpatialConstructors
  273. def st_mPolyFromText(wkt: Column): TypedColumn[Any, MultiPolygon]

    Permalink
    Definition Classes
    SpatialConstructors
  274. def st_makeBBOX(lowerX: Double, lowerY: Double, upperX: Double, upperY: Double): TypedColumn[Any, Geometry]

    Permalink
    Definition Classes
    SpatialConstructors
  275. def st_makeBBOX(lowerX: Column, lowerY: Column, upperX: Column, upperY: Column): TypedColumn[Any, Geometry]

    Permalink
    Definition Classes
    SpatialConstructors
  276. def st_makeBox2D(lowerLeft: Point, upperRight: Point): TypedColumn[Any, Geometry]

    Permalink
    Definition Classes
    SpatialConstructors
  277. def st_makeBox2D(lowerLeft: Column, upperRight: Column): TypedColumn[Any, Geometry]

    Permalink
    Definition Classes
    SpatialConstructors
  278. def st_makeLine(pointSeq: Seq[Point]): TypedColumn[Any, LineString]

    Permalink
    Definition Classes
    SpatialConstructors
  279. def st_makeLine(pointSeq: Column): TypedColumn[Any, LineString]

    Permalink
    Definition Classes
    SpatialConstructors
  280. def st_makePoint(x: Double, y: Double): TypedColumn[Any, Point]

    Permalink
    Definition Classes
    SpatialConstructors
  281. def st_makePoint(x: Column, y: Column): TypedColumn[Any, Point]

    Permalink
    Definition Classes
    SpatialConstructors
  282. def st_makePointM(x: Double, y: Double, m: Double): TypedColumn[Any, Point]

    Permalink
    Definition Classes
    SpatialConstructors
  283. def st_makePointM(x: Column, y: Column, m: Column): TypedColumn[Any, Point]

    Permalink
    Definition Classes
    SpatialConstructors
  284. def st_makePolygon(lineString: LineString): TypedColumn[Any, Polygon]

    Permalink
    Definition Classes
    SpatialConstructors
  285. def st_makePolygon(lineString: Column): TypedColumn[Any, Polygon]

    Permalink
    Definition Classes
    SpatialConstructors
  286. def st_numGeometries(geom: Column): TypedColumn[Any, Integer]

    Permalink
    Definition Classes
    SpatialAccessors
  287. def st_numPoints(geom: Column): TypedColumn[Any, Integer]

    Permalink
    Definition Classes
    SpatialAccessors
  288. def st_overlaps(left: Column, right: Column): TypedColumn[Any, Boolean]

    Permalink
    Definition Classes
    SpatialRelations
  289. def st_point(x: Double, y: Double): TypedColumn[Any, Point]

    Permalink
    Definition Classes
    SpatialConstructors
  290. def st_point(x: Column, y: Column): TypedColumn[Any, Point]

    Permalink
    Definition Classes
    SpatialConstructors
  291. def st_pointFromGeoHash(geohash: Column, precision: Int): TypedColumn[Any, Point]

    Permalink
    Definition Classes
    SpatialConstructors
  292. def st_pointFromGeoHash(geohash: Column, precision: Column): TypedColumn[Any, Point]

    Permalink
    Definition Classes
    SpatialConstructors
  293. def st_pointFromText(wkt: String): TypedColumn[Any, Point]

    Permalink
    Definition Classes
    SpatialConstructors
  294. def st_pointFromText(wkt: Column): TypedColumn[Any, Point]

    Permalink
    Definition Classes
    SpatialConstructors
  295. def st_pointFromWKB(wkb: Array[Byte]): TypedColumn[Any, Point]

    Permalink
    Definition Classes
    SpatialConstructors
  296. def st_pointFromWKB(wkb: Column): TypedColumn[Any, Point]

    Permalink
    Definition Classes
    SpatialConstructors
  297. def st_pointN(geom: Column, n: Column): TypedColumn[Any, Point]

    Permalink
    Definition Classes
    SpatialAccessors
  298. def st_polygon(lineString: LineString): TypedColumn[Any, Polygon]

    Permalink
    Definition Classes
    SpatialConstructors
  299. def st_polygon(lineString: Column): TypedColumn[Any, Polygon]

    Permalink
    Definition Classes
    SpatialConstructors
  300. def st_polygonFromText(wkt: String): TypedColumn[Any, Polygon]

    Permalink
    Definition Classes
    SpatialConstructors
  301. def st_polygonFromText(wkt: Column): TypedColumn[Any, Polygon]

    Permalink
    Definition Classes
    SpatialConstructors
  302. def st_relate(left: Column, right: Column): TypedColumn[Any, String]

    Permalink
    Definition Classes
    SpatialRelations
  303. def st_relateBool(left: Column, right: Column, pattern: Column): TypedColumn[Any, Boolean]

    Permalink
    Definition Classes
    SpatialRelations
  304. 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
  305. 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
  306. 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
  307. 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
  308. def st_touches(left: Column, right: Column): TypedColumn[Any, Boolean]

    Permalink
    Definition Classes
    SpatialRelations
  309. def st_translate(geom: Column, deltaX: Double, deltaY: Double): TypedColumn[Any, Geometry]

    Permalink
    Definition Classes
    SpatialRelations
  310. def st_translate(geom: Column, deltaX: Column, deltaY: Column): TypedColumn[Any, Geometry]

    Permalink
    Definition Classes
    SpatialRelations
  311. def st_within(left: Column, right: Column): TypedColumn[Any, Boolean]

    Permalink
    Definition Classes
    SpatialRelations
  312. def st_x(geom: Column): TypedColumn[Any, Float]

    Permalink
    Definition Classes
    SpatialAccessors
  313. def st_y(geom: Column): TypedColumn[Any, Float]

    Permalink
    Definition Classes
    SpatialAccessors
  314. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  315. def temporalKeyColumn(df: DataFrame): Column

    Permalink
  316. def tileColumns(df: DataFrame): Array[Column]

    Permalink
  317. def tileLayerMetadata(df: DataFrame): String

    Permalink
  318. def toDoubleRaster(df: DataFrame, colname: String, cols: Int, rows: Int): Array[Double]

    Permalink
  319. def toIntRaster(df: DataFrame, colname: String, cols: Int, rows: Int): Array[Int]

    Permalink
  320. def toSpaceTimeMultibandTileLayerRDD(rf: RasterFrameLayer): MultibandTileLayerRDD[SpaceTimeKey]

    Permalink
  321. def toSpatialMultibandTileLayerRDD(rf: RasterFrameLayer): MultibandTileLayerRDD[SpatialKey]

    Permalink
  322. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  326. def withBounds(df: DataFrame): RasterFrameLayer

    Permalink
  327. def withCenter(df: DataFrame): RasterFrameLayer

    Permalink
  328. def withCenterLatLng(df: DataFrame): RasterFrameLayer

    Permalink
  329. def withSpatialIndex(df: DataFrame): RasterFrameLayer

    Permalink

Inherited from Library

Inherited from SpatialRelations

Inherited from SpatialProcessors

Inherited from SpatialOutputs

Inherited from SpatialAccessors

Inherited from SpatialConverters

Inherited from SpatialConstructors

Inherited from RasterFunctions

Inherited from AggregateFunctions

Inherited from SpatialFunctions

Inherited from LocalFunctions

Inherited from TileFunctions

Inherited from AnyRef

Inherited from Any

Ungrouped