Trait

astraea.spark.rasterframes.extensions

RasterFrameMethods

Related Doc: package extensions

Permalink

trait RasterFrameMethods extends MethodExtensions[RasterFrame] with RFSpatialColumnMethods with MetadataKeys with LazyLogging

Extension methods on RasterFrame type.

Since

7/18/17

Linear Supertypes
LazyLogging, MetadataKeys, RFSpatialColumnMethods, StandardColumns, MethodExtensions[RasterFrame], Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RasterFrameMethods
  2. LazyLogging
  3. MetadataKeys
  4. RFSpatialColumnMethods
  5. StandardColumns
  6. MethodExtensions
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def self: RasterFrame

    Permalink
    Definition Classes
    MethodExtensions

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

  18. def addTemporalComponent(value: TemporalKey): RasterFrame

    Permalink

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

  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.

  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.

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

    Annotations
    @Experimental()
  35. def spatialKeyColumn: TypedColumn[Any, SpatialKey]

    Permalink

    Get the spatial column.

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

    Permalink
    Definition Classes
    AnyRef
  37. def tileLayerMetadata: Either[TileLayerMetadata[SpatialKey], TileLayerMetadata[SpaceTimeKey]]

    Permalink

    Reassemble the TileLayerMetadata record from DataFrame metadata.

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

  39. def toMultibandTileLayerRDD(tileCols: Column*): Either[MultibandTileLayerRDD[SpatialKey], MultibandTileLayerRDD[SpaceTimeKey]]

    Permalink

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

  40. def toMultibandTileLayerRDD: Either[MultibandTileLayerRDD[SpatialKey], MultibandTileLayerRDD[SpaceTimeKey]]

    Permalink

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

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

  42. def toString(): String

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

  44. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. 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
  48. 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
  49. 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
  50. def withRFColumnRenamed(existingName: String, newName: String): RasterFrame

    Permalink

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

  51. 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
  52. 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

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