Trait/Object

org.locationtech.rasterframes.functions

TileFunctions

Related Docs: object TileFunctions | package functions

Permalink

trait TileFunctions extends AnyRef

Functions associated with creating and transforming tiles, including tile-wise statistics and rendering.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TileFunctions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

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

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

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

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

  19. def rf_cell_type(col: Column): TypedColumn[Any, CellType]

    Permalink

    Extract the Tile's cell type

  20. def rf_convert_cell_type(col: Column, cellType: Column): Column

    Permalink

    Change the Tile's cell type

  21. def rf_convert_cell_type(col: Column, cellTypeName: String): Column

    Permalink

    Change the Tile's cell type

  22. def rf_convert_cell_type(col: Column, cellType: CellType): Column

    Permalink

    Change the Tile's cell type

  23. def rf_data_cells(tile: Column): TypedColumn[Any, Long]

    Permalink

    Counts the number of non-NoData cells per Tile.

  24. def rf_exists(tile: Column): TypedColumn[Any, Boolean]

    Permalink

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

  25. def rf_explode_tiles(cols: Column*): Column

    Permalink

    Create a row for each cell in Tile.

  26. def rf_explode_tiles_sample(sampleFraction: Double, cols: Column*): Column

    Permalink

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

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

  28. 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).

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

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

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

  32. def rf_is_no_data_tile(tile: Column): TypedColumn[Any, Boolean]

    Permalink

    Returns true if all cells in the tile are NoData.

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

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

  35. def rf_make_ones_tile(cols: Int, rows: Int, cellTypeName: String): TypedColumn[Any, Tile]

    Permalink

    Creates a column of tiles containing all ones

  36. def rf_make_ones_tile(cols: Int, rows: Int, cellType: CellType): TypedColumn[Any, Tile]

    Permalink

    Creates a column of tiles containing all ones

  37. def rf_make_zeros_tile(cols: Int, rows: Int, cellTypeName: String): TypedColumn[Any, Tile]

    Permalink

    Create a column constant tiles of zero

  38. def rf_make_zeros_tile(cols: Int, rows: Int, cellType: CellType): TypedColumn[Any, Tile]

    Permalink

    Create a column constant tiles of zero

  39. def rf_no_data_cells(tile: Column): TypedColumn[Any, Long]

    Permalink

    Counts the number of NoData cells per Tile.

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

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

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

  43. def rf_render_ascii(tile: Column): TypedColumn[Any, String]

    Permalink

    Render Tile as ASCII string, for debugging purposes.

  44. def rf_render_matrix(tile: Column): TypedColumn[Any, String]

    Permalink

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

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

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

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

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

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

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

  51. def rf_tile(col: Column): TypedColumn[Any, Tile]

    Permalink

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

  52. def rf_tile_histogram(col: Column): TypedColumn[Any, CellHistogram]

    Permalink

    Compute TileHistogram of Tile values.

  53. def rf_tile_max(col: Column): TypedColumn[Any, Double]

    Permalink

    Compute the maximum cell value in tile.

  54. def rf_tile_mean(col: Column): TypedColumn[Any, Double]

    Permalink

    Compute the Tile-wise mean

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

    Permalink

    Compute the minimum cell value in tile.

  56. def rf_tile_stats(col: Column): TypedColumn[Any, CellStatistics]

    Permalink

    Compute statistics of Tile values.

  57. def rf_tile_sum(col: Column): TypedColumn[Any, Double]

    Permalink

    Compute the Tile-wise sum

  58. def rf_tile_to_array_double(col: Column): TypedColumn[Any, Array[Double]]

    Permalink

    Flattens Tile into a double array.

  59. def rf_tile_to_array_int(col: Column): TypedColumn[Any, Array[Int]]

    Permalink

    Flattens Tile into an integer array.

  60. def rf_with_no_data(col: Column, nodata: Column): Column

    Permalink

    Assign a NoData value to the tile column.

  61. def rf_with_no_data(col: Column, nodata: Int): Column

    Permalink

    Assign a NoData value to the tile column.

  62. def rf_with_no_data(col: Column, nodata: Double): Column

    Permalink

    Assign a NoData value to the tile column.

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped