Packages

o

geotrellis.spark

RasterSourceRDD

object RasterSourceRDD

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RasterSourceRDD
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final val DEFAULT_PARTITION_BYTES: Long
  2. 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]
  3. 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]
  4. def read(readingSourcesRDD: RDD[ReadingSource], layout: LayoutDefinition, partitioner: Option[Partitioner] = None)(implicit sc: SparkContext): MultibandTileLayerRDD[SpatialKey]
  5. def read(readingSources: Seq[ReadingSource], layout: LayoutDefinition, keyExtractor: Aux[SpaceTimeKey, ZonedDateTime], partitionBytes: Long)(implicit sc: SparkContext): MultibandTileLayerRDD[SpaceTimeKey]
  6. def read(readingSources: Seq[ReadingSource], layout: LayoutDefinition, partitionBytes: Long)(implicit sc: SparkContext): MultibandTileLayerRDD[SpatialKey]
  7. def read(readingSources: Seq[ReadingSource], layout: LayoutDefinition, keyExtractor: Aux[SpaceTimeKey, ZonedDateTime])(implicit sc: SparkContext): MultibandTileLayerRDD[SpaceTimeKey]
  8. def read(readingSources: Seq[ReadingSource], layout: LayoutDefinition)(implicit sc: SparkContext): MultibandTileLayerRDD[SpatialKey]
  9. 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]
  10. def spatial(source: RasterSource, layout: LayoutDefinition)(implicit sc: SparkContext): MultibandTileLayerRDD[SpatialKey]
  11. def spatial(sources: Seq[RasterSource], layout: LayoutDefinition, strategy: OverviewStrategy = OverviewStrategy.DEFAULT, partitionBytes: Long = DEFAULT_PARTITION_BYTES)(implicit sc: SparkContext): MultibandTileLayerRDD[SpatialKey]
  12. def temporal(source: RasterSource, layout: LayoutDefinition, keyExtractor: Aux[SpaceTimeKey, ZonedDateTime])(implicit sc: SparkContext): MultibandTileLayerRDD[SpaceTimeKey]
  13. 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]
  14. 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)
    }
  15. def tiledLayerRDD(sources: RDD[RasterSource], layout: LayoutDefinition, resampleMethod: ResampleMethod, geometry: Geometry)(implicit sc: SparkContext): MultibandTileLayerRDD[SpatialKey]
  16. def tiledLayerRDD(sources: RDD[RasterSource], layout: LayoutDefinition, resampleMethod: ResampleMethod)(implicit sc: SparkContext): MultibandTileLayerRDD[SpatialKey]
  17. def tiledLayerRDD(sources: RDD[RasterSource], layout: LayoutDefinition, geometry: Geometry)(implicit sc: SparkContext): MultibandTileLayerRDD[SpatialKey]
  18. def tiledLayerRDD(sources: RDD[RasterSource], layout: LayoutDefinition)(implicit sc: SparkContext): MultibandTileLayerRDD[SpatialKey]