Trait

astraea.spark.rasterframes

RasterFrameMethods

Related Doc: package rasterframes

Permalink

trait RasterFrameMethods extends MethodExtensions[RasterFrame] with RFSpatialColumnMethods with LazyLogging

Extension methods on RasterFrame type.

Since

7/18/17

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

Type Members

  1. type TileColumn = TypedColumn[Any, Tile]

    Permalink

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 addTemporalComponent(value: TemporalKey): RasterFrame

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. 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.

  7. def clone(): AnyRef

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  14. lazy val logger: Logger

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

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

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

    Permalink
    Definition Classes
    AnyRef
  19. 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()
  20. def spatialKeyColumn: TypedColumn[Any, SpatialKey]

    Permalink

    Get the spatial column.

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

    Permalink
    Definition Classes
    AnyRef
  22. def temporalKeyColumn: Option[TypedColumn[Any, TemporalKey]]

    Permalink

    Get the temporal column, if any.

  23. def tileColumns: Seq[TileColumn]

    Permalink

    Get the names of the columns that are of type Tile

  24. def tileLayerMetadata: Either[TileLayerMetadata[SpatialKey], TileLayerMetadata[SpaceTimeKey]]

    Permalink

    Reassemble the TileLayerMetadata record from DataFrame metadata.

  25. 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, this will merge based

  26. def toString(): String

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

    Permalink

    Convert from RasterFrame to a GeoTrellis TileLayerMetadata

    Convert from RasterFrame to a GeoTrellis TileLayerMetadata

    tileCol

    column with tiles to be the

  28. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def withCenter(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 native CRS.

    colName

    name of column to append. Defaults to "center"

    returns

    updated RasterFrame

    Definition Classes
    RFSpatialColumnMethods
  32. 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
  33. def withExtent(colName: String = "extent"): RasterFrame

    Permalink

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

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

    colName

    name of column to append. Defaults to "extent"

    returns

    updated RasterFrame

    Definition Classes
    RFSpatialColumnMethods
  34. def withSpatialIndex(colName: String = "spatial_index", 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

Inherited from LazyLogging

Inherited from RFSpatialColumnMethods

Inherited from MethodExtensions[RasterFrame]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped