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, StandardEncoders, 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. StandardEncoders
  7. MethodExtensions
  8. Serializable
  9. Serializable
  10. AnyRef
  11. 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. 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.

  16. def addTemporalComponent(value: TemporalKey): RasterFrame

    Permalink

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

  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.

  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.

  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. implicit def singlebandTileEncoder: ExpressionEncoder[Tile]

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

    Permalink
    Definition Classes
    StandardEncoders
  42. 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()
  43. def spatialKeyColumn: TypedColumn[Any, SpatialKey]

    Permalink

    Get the spatial column.

  44. implicit val spatialKeyEncoder: ExpressionEncoder[SpatialKey]

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

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

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

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

    Permalink

    Get the temporal column, if any.

  49. implicit val temporalKeyEncoder: ExpressionEncoder[TemporalKey]

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

    Permalink
    Definition Classes
    StandardEncoders
  51. def tileColumns: Seq[TypedColumn[Any, Tile]]

    Permalink

    Get the names of the columns that are of type Tile

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

    Permalink

    Reassemble the TileLayerMetadata record from DataFrame metadata.

  53. implicit def tileLayerMetadataEncoder[K](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[K]): Encoder[TileLayerMetadata[K]]

    Permalink
    Definition Classes
    StandardEncoders
  54. def toMultibandTileLayerRDD: Either[MultibandTileLayerRDD[SpatialKey], MultibandTileLayerRDD[SpaceTimeKey]]

    Permalink

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

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

  56. def toString(): String

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

  58. implicit val uriEncoder: ExpressionEncoder[URI]

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. 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
  63. 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
  64. 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
  65. 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
  66. 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 StandardEncoders

Inherited from MethodExtensions[RasterFrame]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped