Trait

org.locationtech.rasterframes.extensions

RasterFrameLayerMethods

Related Doc: package extensions

Permalink

trait RasterFrameLayerMethods extends MethodExtensions[RasterFrameLayer] with LayerSpatialColumnMethods with MetadataKeys

Extension methods on RasterFrameLayer type.

Since

7/18/17

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RasterFrameLayerMethods
  2. MetadataKeys
  3. LayerSpatialColumnMethods
  4. StandardColumns
  5. MethodExtensions
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def self: RasterFrameLayer

    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 CENTER_COLUMN: TypedColumn[Any, Point]

    Permalink

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

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

    Definition Classes
    StandardColumns
  5. 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
  6. def CRS_COLUMN: TypedColumn[Any, CRS]

    Permalink

    Default CRS column name.

    Default CRS column name.

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

    Permalink

    Default Extent column name.

    Default Extent column name.

    Definition Classes
    StandardColumns
  8. def GEOMETRY_COLUMN: TypedColumn[Any, Polygon]

    Permalink

    Default RasterFrameLayer column name for an tile extent as geometry value.

    Default RasterFrameLayer column name for an tile extent as geometry value.

    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 PATH_COLUMN: TypedColumn[Any, String]

    Permalink

    URI/URL/S3 path to raster.

    URI/URL/S3 path to raster.

    Definition Classes
    StandardColumns
  11. def PROJECTED_EXTENT_COLUMN: TypedColumn[Any, ProjectedExtent]

    Permalink

    Default ProjectedExtent column name.

    Default ProjectedExtent column name.

    Definition Classes
    StandardColumns
  12. def PROJECTED_RASTER_COLUMN: TypedColumn[Any, ProjectedRasterTile]

    Permalink

    Default column name for a tile with its CRS and Extent.

    Default column name for a tile with its CRS and Extent.

    Definition Classes
    StandardColumns
  13. 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
  14. val SPATIAL_INDEX_COLUMN: TypedColumn[Any, Long]

    Permalink

    Default RasterFrameLayer column name for an added spatial index.

    Default RasterFrameLayer column name for an added spatial index.

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

    Permalink

    Default RasterFrameLayer spatial column name.

    Default RasterFrameLayer spatial column name.

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

    Permalink

    Default RasterFrameLayer temporal column name.

    Default RasterFrameLayer temporal column name.

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

    Permalink

    Default RasterFrameLayer tile column name.

    Default RasterFrameLayer tile column name.

    Definition Classes
    StandardColumns
  18. val TILE_FEATURE_DATA_COLUMN: Column

    Permalink

    Default RasterFrameLayer TileFeature.data column name.

    Default RasterFrameLayer TileFeature.data column name.

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

    Permalink

    Default RasterFrameLayer timestamp column name

    Default RasterFrameLayer timestamp column name

    Definition Classes
    StandardColumns
  20. def addTemporalComponent(value: ZonedDateTime): RasterFrameLayer

    Permalink

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

  21. def addTemporalComponent(value: TemporalKey): RasterFrameLayer

    Permalink

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

  22. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  23. def clipLayerExtent: RasterFrameLayer

    Permalink

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

  24. def clone(): AnyRef

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

    Permalink

    Get the CRS covering the RasterFrameLayer.

  26. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  32. lazy val logger: Logger

    Permalink
    Attributes
    protected
  33. def mapTransform: MapKeyTransform

    Permalink

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

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

    Definition Classes
    LayerSpatialColumnMethods
  34. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  37. def spatialJoin(right: RasterFrameLayer, joinType: String = "inner"): RasterFrameLayer

    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()
  38. def spatialKeyColumn: TypedColumn[Any, SpatialKey]

    Permalink

    Get the spatial column.

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

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

    Permalink

    Reassemble the TileLayerMetadata record from DataFrame metadata.

  41. def toMultibandRaster(tileCols: Seq[Column], rasterCols: Int, rasterRows: Int, resampler: ResampleMethod = NearestNeighbor): ProjectedRaster[MultibandTile]

    Permalink

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

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

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

    Permalink

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

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

    Permalink

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

  44. def toRaster(tileCol: Column, rasterCols: Int, rasterRows: Int, resampler: ResampleMethod = NearestNeighbor): ProjectedRaster[Tile]

    Permalink

    Convert the tiles in the RasterFrameLayer into a single raster.

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

  45. def toString(): String

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

    Permalink

    Convert a single tile column from RasterFrameLayer to a GeoTrellis TileLayerRDD

    Convert a single tile column from RasterFrameLayer to a GeoTrellis TileLayerRDD

    tileCol

    column with tiles to be the

  47. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. def withCRS(colName: String = CRS_COLUMN.columnName): RasterFrameLayer

    Permalink

    Append a column containing the CRS of the layer.

    Append a column containing the CRS of the layer.

    colName

    name of column to append. Defaults to "crs"

    returns

    updated RasterFrameLayer

    Definition Classes
    LayerSpatialColumnMethods
  51. def withCenter(colName: String = CENTER_COLUMN.columnName): RasterFrameLayer

    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 RasterFrameLayer

    Definition Classes
    LayerSpatialColumnMethods
  52. def withCenterLatLng(colName: String = "center"): RasterFrameLayer

    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 RasterFrameLayer

    Definition Classes
    LayerSpatialColumnMethods
  53. def withExtent(colName: String = EXTENT_COLUMN.columnName): RasterFrameLayer

    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 RasterFrameLayer

    Definition Classes
    LayerSpatialColumnMethods
  54. def withGeometry(colName: String = GEOMETRY_COLUMN.columnName): RasterFrameLayer

    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 "geometry"

    returns

    updated RasterFrameLayer

    Definition Classes
    LayerSpatialColumnMethods
  55. def withRFColumnRenamed(existingName: String, newName: String): RasterFrameLayer

    Permalink

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

  56. def withSpatialIndex(colName: String = SPATIAL_INDEX_COLUMN.columnName, applyOrdering: Boolean = true): RasterFrameLayer

    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

    RasterFrameLayer with index column.

    Definition Classes
    LayerSpatialColumnMethods
  57. def withTimestamp(colName: String = TIMESTAMP_COLUMN.columnName): RasterFrameLayer

    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 RasterFrameLayer

Inherited from MetadataKeys

Inherited from LayerSpatialColumnMethods

Inherited from StandardColumns

Inherited from MethodExtensions[RasterFrameLayer]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped