astraea.spark.rasterframes.extensions.Implicits
Default RasterFrame column name for an tile bounds value.
Default RasterFrame column name for an tile bounds value.
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.
Default column index column for the cells of exploded tiles.
Default column index column for the cells of exploded tiles.
Default GeoTiff tags column.
Default GeoTiff tags column.
Default teil column index column for the cells of exploded tiles.
Default teil column index column for the cells of exploded tiles.
Default RasterFrame column name for an added spatial index.
Default RasterFrame column name for an added spatial index.
Default RasterFrame spatial column name.
Default RasterFrame spatial column name.
Default RasterFrame temporal column name.
Default RasterFrame temporal column name.
Default RasterFrame tile column name.
Default RasterFrame tile column name.
Default RasterFrame TileFeature.data column name.
Default RasterFrame TileFeature.data column name.
Default RasterFrame timestamp column name
Default RasterFrame timestamp column name
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.
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.
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.
Get the CRS covering the RasterFrame.
Get the CRS covering the RasterFrame.
Returns the key-space to map-space coordinate transform.
Returns the key-space to map-space coordinate transform.
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 side of the join.
One of: inner
, outer
, left_outer
, right_outer
, leftsemi
.
Get the spatial column.
Get the spatial column.
Reassemble the TileLayerMetadata record from DataFrame metadata.
Reassemble the TileLayerMetadata record from DataFrame metadata.
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.
Convert the specified tile columns in a Rasterrame to a GeoTrellis MultibandTileLayerRDD
Convert the specified tile columns in a Rasterrame to a GeoTrellis MultibandTileLayerRDD
Convert all the tile columns in a Rasterrame to a GeoTrellis MultibandTileLayerRDD
Convert all the tile columns in a Rasterrame to a GeoTrellis MultibandTileLayerRDD
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.
Convert a single tile column from RasterFrame to a GeoTrellis TileLayerRDD
Convert a single tile column from RasterFrame to a GeoTrellis TileLayerRDD
column with tiles to be the
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.
name of column to append. Defaults to "bounds"
updated RasterFrame
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.
name of column to append. Defaults to "center"
updated RasterFrame
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).
name of column to append. Defaults to "center"
updated RasterFrame
A convenience over DataFrame.withColumnRenamed
whereby the RasterFrame
type is maintained.
A convenience over DataFrame.withColumnRenamed
whereby the RasterFrame
type is maintained.
Appends a spatial index column
Appends a spatial index column
name of new column to create. Defaults to index
if true, adds .orderBy(asc(colName))
to result. Defaults to true
RasterFrame with index column.
Append a column containing the temporal key rendered as a TimeStamp.
Append a column containing the temporal key rendered as a TimeStamp.
name of column to add
updated RasterFrame