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. MethodExtensions
  8. Serializable
  9. Serializable
  10. AnyRef
  11. 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. def CRS_COLUMN: TypedColumn[Any, CRS]

    Permalink

    Default CRS column name.

    Default CRS column name.

    Definition Classes
    StandardColumns
  8. def EXTENT_COLUMN: TypedColumn[Any, Extent]

    Permalink

    Default Extent column name.

    Default Extent column name.

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

    Permalink

    Default GeoTiff tags column.

    Default GeoTiff tags column.

    Definition Classes
    StandardColumns
  10. 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
  11. 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
  12. val SPATIAL_KEY_COLUMN: TypedColumn[Any, SpatialKey]

    Permalink

    Default RasterFrame spatial column name.

    Default RasterFrame spatial column name.

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

    Permalink

    Default RasterFrame temporal column name.

    Default RasterFrame temporal column name.

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

    Permalink

    Default RasterFrame tile column name.

    Default RasterFrame tile column name.

    Definition Classes
    StandardColumns
  15. val TILE_FEATURE_DATA_COLUMN: Column

    Permalink

    Default RasterFrame TileFeature.data column name.

    Default RasterFrame TileFeature.data column name.

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

    Permalink

    Default RasterFrame timestamp column name

    Default RasterFrame timestamp column name

    Definition Classes
    StandardColumns
  17. 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
  18. 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
  19. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  20. 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
  21. def clone(): AnyRef

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

    Permalink

    Get the CRS covering the RasterFrame.

    Get the CRS covering the RasterFrame.

    Definition Classes
    RasterFrameMethods
  23. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  29. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  30. 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
  31. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  34. val self: RasterFrame

    Permalink
    Definition Classes
    WithRasterFrameMethods → MethodExtensions
  35. 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()
  36. def spatialKeyColumn: TypedColumn[Any, SpatialKey]

    Permalink

    Get the spatial column.

    Get the spatial column.

    Definition Classes
    RasterFrameMethods
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. 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
  39. def toMultibandRaster(tileCols: Seq[Column], rasterCols: Int, rasterRows: Int, resampler: ResampleMethod = NearestNeighbor): 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
  40. 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
  41. 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
  42. def toRaster(tileCol: Column, rasterCols: Int, rasterRows: Int, resampler: ResampleMethod = NearestNeighbor): 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
  43. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  44. 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
  45. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. 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
  49. 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
  50. 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
  51. 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
  52. 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
  53. 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 MethodExtensions[RasterFrame]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped