Class

astraea.spark.rasterframes.extensions.Implicits

WithRasterFrameMethods

Related Doc: package Implicits

Permalink

implicit class WithRasterFrameMethods extends RasterFrameMethods

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WithRasterFrameMethods
  2. RasterFrameMethods
  3. LazyLogging
  4. MetadataKeys
  5. RFSpatialColumnMethods
  6. StandardColumns
  7. StandardEncoders
  8. MethodExtensions
  9. Serializable
  10. Serializable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WithRasterFrameMethods(self: RasterFrame)

    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 BOUNDS_COLUMN: TypedColumn[Any, Polygon]

    Permalink

    Default RasterFrame column name for an tile bounds value.

    Default RasterFrame column name for an tile bounds value.

    Definition Classes
    StandardColumns
  5. def CENTER_COLUMN: TypedColumn[Any, Point]

    Permalink

    Default RasterFrame column name for the center coordinates of the tile's bounds.

    Default RasterFrame column name for the center coordinates of the tile's bounds.

    Definition Classes
    StandardColumns
  6. val COLUMN_INDEX_COLUMN: TypedColumn[Any, Int]

    Permalink

    Default column index column for the cells of exploded tiles.

    Default column index column for the cells of exploded tiles.

    Definition Classes
    StandardColumns
  7. val METADATA_COLUMN: TypedColumn[Any, Map[String, String]]

    Permalink

    Default GeoTiff tags column.

    Default GeoTiff tags column.

    Definition Classes
    StandardColumns
  8. val ROW_INDEX_COLUMN: TypedColumn[Any, Int]

    Permalink

    Default teil column index column for the cells of exploded tiles.

    Default teil column index column for the cells of exploded tiles.

    Definition Classes
    StandardColumns
  9. val SPATIAL_INDEX_COLUMN: TypedColumn[Any, Long]

    Permalink

    Default RasterFrame column name for an added spatial index.

    Default RasterFrame column name for an added spatial index.

    Definition Classes
    StandardColumns
  10. val SPATIAL_KEY_COLUMN: TypedColumn[Any, SpatialKey]

    Permalink

    Default RasterFrame spatial column name.

    Default RasterFrame spatial column name.

    Definition Classes
    StandardColumns
  11. val TEMPORAL_KEY_COLUMN: TypedColumn[Any, TemporalKey]

    Permalink

    Default RasterFrame temporal column name.

    Default RasterFrame temporal column name.

    Definition Classes
    StandardColumns
  12. def TILE_COLUMN: TypedColumn[Any, Tile]

    Permalink

    Default RasterFrame tile column name.

    Default RasterFrame tile column name.

    Definition Classes
    StandardColumns
  13. val TILE_FEATURE_DATA_COLUMN: Column

    Permalink

    Default RasterFrame TileFeature.data column name.

    Default RasterFrame TileFeature.data column name.

    Definition Classes
    StandardColumns
  14. val TIMESTAMP_COLUMN: TypedColumn[Any, Timestamp]

    Permalink

    Default RasterFrame timestamp column name

    Default RasterFrame timestamp column name

    Definition Classes
    StandardColumns
  15. def addTemporalComponent(value: ZonedDateTime): RasterFrame

    Permalink

    Create a temporal key from the given time and assign it as thea temporal key for all rows.

    Create a temporal key from the given time and assign it as thea temporal key for all rows.

    Definition Classes
    RasterFrameMethods
  16. def addTemporalComponent(value: TemporalKey): RasterFrame

    Permalink

    Add a temporal key to the RasterFrame, assigning the same temporal key to all rows.

    Add a temporal key to the RasterFrame, assigning the same temporal key to all rows.

    Definition Classes
    RasterFrameMethods
  17. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  18. implicit val cellTypeEncoder: ExpressionEncoder[CellType]

    Permalink
    Definition Classes
    StandardEncoders
  19. def clipLayerExtent: RasterFrame

    Permalink

    Performs a full RDD scans of the key column for the data extent, and updates the TileLayerMetadata data extent to match.

    Performs a full RDD scans of the key column for the data extent, and updates the TileLayerMetadata data extent to match.

    Definition Classes
    RasterFrameMethods
  20. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. def crs: CRS

    Permalink

    Get the CRS covering the RasterFrame.

    Get the CRS covering the RasterFrame.

    Definition Classes
    RasterFrameMethods
  22. implicit val crsEncoder: ExpressionEncoder[CRS]

    Permalink
    Definition Classes
    StandardEncoders
  23. implicit val envelopeEncoder: ExpressionEncoder[Envelope]

    Permalink
    Definition Classes
    StandardEncoders
  24. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  26. implicit val extentEncoder: ExpressionEncoder[Extent]

    Permalink
    Definition Classes
    StandardEncoders
  27. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  30. implicit def histogramDoubleEncoder: ExpressionEncoder[Histogram[Double]]

    Permalink
    Definition Classes
    StandardEncoders
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. implicit val layoutDefinitionEncoder: ExpressionEncoder[LayoutDefinition]

    Permalink
    Definition Classes
    StandardEncoders
  33. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  34. def mapTransform: MapKeyTransform

    Permalink

    Returns the key-space to map-space coordinate transform.

    Returns the key-space to map-space coordinate transform.

    Definition Classes
    RFSpatialColumnMethods
  35. implicit def multibandTileEncoder: ExpressionEncoder[MultibandTile]

    Permalink
    Definition Classes
    StandardEncoders
  36. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  39. implicit val projectedExtentEncoder: ExpressionEncoder[ProjectedExtent]

    Permalink
    Definition Classes
    StandardEncoders
  40. val self: RasterFrame

    Permalink
    Definition Classes
    WithRasterFrameMethods → MethodExtensions
  41. implicit def singlebandTileEncoder: ExpressionEncoder[Tile]

    Permalink
    Definition Classes
    StandardEncoders
  42. implicit val spaceTimeKeyEncoder: ExpressionEncoder[SpaceTimeKey]

    Permalink
    Definition Classes
    StandardEncoders
  43. def spatialJoin(right: RasterFrame, joinType: String = "inner"): RasterFrame

    Permalink

    Perform a spatial join between two raster frames.

    Perform a spatial join between two raster frames. Currently ignores a temporal column if there is one. The left TileLayerMetadata is propagated to the result.

    **WARNING: This is a work in progress, and only works if both raster frames have the same tile layer metadata. A more flexible spatial join is in the works.**

    right

    Right side of the join.

    joinType

    One of: inner, outer, left_outer, right_outer, leftsemi.

    Definition Classes
    RasterFrameMethods
    Annotations
    @Experimental()
  44. def spatialKeyColumn: TypedColumn[Any, SpatialKey]

    Permalink

    Get the spatial column.

    Get the spatial column.

    Definition Classes
    RasterFrameMethods
  45. implicit val spatialKeyEncoder: ExpressionEncoder[SpatialKey]

    Permalink
    Definition Classes
    StandardEncoders
  46. implicit val statsEncoder: ExpressionEncoder[Statistics]

    Permalink
    Definition Classes
    StandardEncoders
  47. implicit val stkBoundsEncoder: ExpressionEncoder[KeyBounds[SpaceTimeKey]]

    Permalink
    Definition Classes
    StandardEncoders
  48. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  49. implicit val temporalKeyEncoder: ExpressionEncoder[TemporalKey]

    Permalink
    Definition Classes
    StandardEncoders
  50. implicit val temporalProjectedExtentEncoder: ExpressionEncoder[TemporalProjectedExtent]

    Permalink
    Definition Classes
    StandardEncoders
  51. def tileLayerMetadata: Either[TileLayerMetadata[SpatialKey], TileLayerMetadata[SpaceTimeKey]]

    Permalink

    Reassemble the TileLayerMetadata record from DataFrame metadata.

    Reassemble the TileLayerMetadata record from DataFrame metadata.

    Definition Classes
    RasterFrameMethods
  52. implicit def tileLayerMetadataEncoder[K](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[K]): Encoder[TileLayerMetadata[K]]

    Permalink
    Definition Classes
    StandardEncoders
  53. def toMultibandRaster(tileCols: Seq[Column], rasterCols: Int, rasterRows: Int, resampler: ResampleMethod = Bilinear): ProjectedRaster[MultibandTile]

    Permalink

    Convert the Red, Green & Blue assigned tiles in the RasterFrame into a single color composite raster.

    Convert the Red, Green & Blue assigned tiles in the RasterFrame into a single color composite raster. For RasterFrames keyed with temporal keys, they will be merged underterministically.

    Definition Classes
    RasterFrameMethods
  54. def toMultibandTileLayerRDD(tileCols: Column*): Either[MultibandTileLayerRDD[SpatialKey], MultibandTileLayerRDD[SpaceTimeKey]]

    Permalink

    Convert the specified tile columns in a Rasterrame to a GeoTrellis MultibandTileLayerRDD

    Convert the specified tile columns in a Rasterrame to a GeoTrellis MultibandTileLayerRDD

    Definition Classes
    RasterFrameMethods
  55. def toMultibandTileLayerRDD: Either[MultibandTileLayerRDD[SpatialKey], MultibandTileLayerRDD[SpaceTimeKey]]

    Permalink

    Convert all the tile columns in a Rasterrame to a GeoTrellis MultibandTileLayerRDD

    Convert all the tile columns in a Rasterrame to a GeoTrellis MultibandTileLayerRDD

    Definition Classes
    RasterFrameMethods
  56. def toRaster(tileCol: Column, rasterCols: Int, rasterRows: Int, resampler: ResampleMethod = Bilinear): ProjectedRaster[Tile]

    Permalink

    Convert the tiles in the RasterFrame into a single raster.

    Convert the tiles in the RasterFrame into a single raster. For RasterFrames keyed with temporal keys, they will be merge undeterministically.

    Definition Classes
    RasterFrameMethods
  57. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  58. def toTileLayerRDD(tileCol: Column): Either[TileLayerRDD[SpatialKey], TileLayerRDD[SpaceTimeKey]]

    Permalink

    Convert a single tile column from RasterFrame to a GeoTrellis TileLayerRDD

    Convert a single tile column from RasterFrame to a GeoTrellis TileLayerRDD

    tileCol

    column with tiles to be the

    Definition Classes
    RasterFrameMethods
  59. implicit val uriEncoder: ExpressionEncoder[URI]

    Permalink
    Definition Classes
    StandardEncoders
  60. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. def withBounds(colName: String = BOUNDS_COLUMN.columnName): RasterFrame

    Permalink

    Append a column containing the bounds of the row's spatial key.

    Append a column containing the bounds of the row's spatial key. Coordinates are in native CRS.

    colName

    name of column to append. Defaults to "bounds"

    returns

    updated RasterFrame

    Definition Classes
    RFSpatialColumnMethods
  64. def withCenter(colName: String = CENTER_COLUMN.columnName): RasterFrame

    Permalink

    Append a column containing the center of the row's spatial key.

    Append a column containing the center of the row's spatial key. Coordinate is in native CRS.

    colName

    name of column to append. Defaults to "center"

    returns

    updated RasterFrame

    Definition Classes
    RFSpatialColumnMethods
  65. def withCenterLatLng(colName: String = "center"): RasterFrame

    Permalink

    Append a column containing the center of the row's spatial key.

    Append a column containing the center of the row's spatial key. Coordinate is in (longitude, latitude) (EPSG:4326).

    colName

    name of column to append. Defaults to "center"

    returns

    updated RasterFrame

    Definition Classes
    RFSpatialColumnMethods
  66. def withRFColumnRenamed(existingName: String, newName: String): RasterFrame

    Permalink

    A convenience over DataFrame.withColumnRenamed whereby the RasterFrame type is maintained.

    A convenience over DataFrame.withColumnRenamed whereby the RasterFrame type is maintained.

    Definition Classes
    RasterFrameMethods
  67. def withSpatialIndex(colName: String = SPATIAL_INDEX_COLUMN.columnName, applyOrdering: Boolean = true): RasterFrame

    Permalink

    Appends a spatial index column

    Appends a spatial index column

    colName

    name of new column to create. Defaults to index

    applyOrdering

    if true, adds .orderBy(asc(colName)) to result. Defaults to true

    returns

    RasterFrame with index column.

    Definition Classes
    RFSpatialColumnMethods
  68. def withTimestamp(colName: String = TIMESTAMP_COLUMN.columnName): RasterFrame

    Permalink

    Append a column containing the temporal key rendered as a TimeStamp.

    Append a column containing the temporal key rendered as a TimeStamp.

    colName

    name of column to add

    returns

    updated RasterFrame

    Definition Classes
    RasterFrameMethods

Inherited from RasterFrameMethods

Inherited from LazyLogging

Inherited from MetadataKeys

Inherited from RFSpatialColumnMethods

Inherited from StandardColumns

Inherited from StandardEncoders

Inherited from MethodExtensions[RasterFrame]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped