object RasterSourceRDD
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RasterSourceRDD
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- final val DEFAULT_PARTITION_BYTES: Long
- def apply[K, M](sources: Seq[RasterSource], layout: LayoutDefinition, keyExtractor: Aux[K, M], partitionBytes: Long = DEFAULT_PARTITION_BYTES, strategy: OverviewStrategy = OverviewStrategy.DEFAULT)(implicit arg0: SpatialComponent[K], arg1: Boundable[K], arg2: ClassTag[K], arg3: Boundable[M], sc: SparkContext): MultibandTileLayerRDD[K]
- def read[K, M](readingSourcesRDD: RDD[ReadingSource], layout: LayoutDefinition, keyExtractor: Aux[K, M], partitioner: Option[Partitioner])(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: Boundable[M], sc: SparkContext): MultibandTileLayerRDD[K]
- def read(readingSourcesRDD: RDD[ReadingSource], layout: LayoutDefinition, partitioner: Option[Partitioner] = None)(implicit sc: SparkContext): MultibandTileLayerRDD[SpatialKey]
- def read(readingSources: Seq[ReadingSource], layout: LayoutDefinition, keyExtractor: Aux[SpaceTimeKey, ZonedDateTime], partitionBytes: Long)(implicit sc: SparkContext): MultibandTileLayerRDD[SpaceTimeKey]
- def read(readingSources: Seq[ReadingSource], layout: LayoutDefinition, partitionBytes: Long)(implicit sc: SparkContext): MultibandTileLayerRDD[SpatialKey]
- def read(readingSources: Seq[ReadingSource], layout: LayoutDefinition, keyExtractor: Aux[SpaceTimeKey, ZonedDateTime])(implicit sc: SparkContext): MultibandTileLayerRDD[SpaceTimeKey]
- def read(readingSources: Seq[ReadingSource], layout: LayoutDefinition)(implicit sc: SparkContext): MultibandTileLayerRDD[SpatialKey]
- def readPartitionBytes[K, M](readingSources: Seq[ReadingSource], layout: LayoutDefinition, keyExtractor: Aux[K, M], partitionBytes: Long)(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: Boundable[M], sc: SparkContext): MultibandTileLayerRDD[K]
- def spatial(source: RasterSource, layout: LayoutDefinition)(implicit sc: SparkContext): MultibandTileLayerRDD[SpatialKey]
- def spatial(sources: Seq[RasterSource], layout: LayoutDefinition, strategy: OverviewStrategy = OverviewStrategy.DEFAULT, partitionBytes: Long = DEFAULT_PARTITION_BYTES)(implicit sc: SparkContext): MultibandTileLayerRDD[SpatialKey]
- def temporal(source: RasterSource, layout: LayoutDefinition, keyExtractor: Aux[SpaceTimeKey, ZonedDateTime])(implicit sc: SparkContext): MultibandTileLayerRDD[SpaceTimeKey]
- def temporal(sources: Seq[RasterSource], layout: LayoutDefinition, keyExtractor: Aux[SpaceTimeKey, ZonedDateTime], strategy: OverviewStrategy = OverviewStrategy.DEFAULT, partitionBytes: Long = DEFAULT_PARTITION_BYTES)(implicit sc: SparkContext): MultibandTileLayerRDD[SpaceTimeKey]
-
def
tiledLayerRDD[K, M](sources: RDD[RasterSource], layout: LayoutDefinition, keyExtractor: Aux[K, M], geometry: Option[Geometry] = None, resampleMethod: ResampleMethod = NearestNeighbor, rasterSummary: Option[RasterSummary[M]] = None, partitioner: Option[Partitioner] = None, partitionTransform: (Iterable[Raster[MultibandTile]]) ⇒ MultibandTile = ...)(implicit arg0: SpatialComponent[K], arg1: Boundable[K], arg2: ClassTag[K], arg3: Boundable[M], sc: SparkContext): MultibandTileLayerRDD[K]
On tiling more than a single MultibandTile may get into a group that correspond to the same key.
On tiling more than a single MultibandTile may get into a group that correspond to the same key. By default the tiledLayerRDD function flattens all bands and converts every group into a single MultibandTile. To override this behavior it is possible to set the partitionTransform function, i.e.:
partitionTransform = { case iter if iter.nonEmpty => iter.map(_.tile).reduce(_ merge _) case _ => MultibandTile(Nil) }
- def tiledLayerRDD(sources: RDD[RasterSource], layout: LayoutDefinition, resampleMethod: ResampleMethod, geometry: Geometry)(implicit sc: SparkContext): MultibandTileLayerRDD[SpatialKey]
- def tiledLayerRDD(sources: RDD[RasterSource], layout: LayoutDefinition, resampleMethod: ResampleMethod)(implicit sc: SparkContext): MultibandTileLayerRDD[SpatialKey]
- def tiledLayerRDD(sources: RDD[RasterSource], layout: LayoutDefinition, geometry: Geometry)(implicit sc: SparkContext): MultibandTileLayerRDD[SpatialKey]
- def tiledLayerRDD(sources: RDD[RasterSource], layout: LayoutDefinition)(implicit sc: SparkContext): MultibandTileLayerRDD[SpatialKey]