Object/Class

geotrellis.spark.pyramid

Pyramid

Related Docs: class Pyramid | package pyramid

Permalink

object Pyramid extends LazyLogging with Serializable

Linear Supertypes
Serializable, Serializable, LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Pyramid
  2. Serializable
  3. Serializable
  4. LazyLogging
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Options(resampleMethod: ResampleMethod = NearestNeighbor, partitioner: Option[Partitioner] = None) extends Product with Serializable

    Permalink

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. object Options extends Serializable

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def fromLayerRDD[K, V <: CellGrid, M](rdd: RDD[(K, V)] with Metadata[M], thisZoom: Option[Int] = None, endZoom: Option[Int] = None, resampleMethod: ResampleMethod = Average, partitioner: Option[Partitioner] = None)(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: ClassTag[V], arg3: (V) ⇒ TilePrototypeMethods[V], arg4: (V) ⇒ TileMergeMethods[V], arg5: Component[M, LayoutDefinition], arg6: Component[M, Bounds[K]]): Pyramid[K, V, M]

    Permalink
  11. def fromLayerReader[K, V <: CellGrid, M](layerName: String, layerReader: LayerReader[LayerId], maxZoom: Option[Int] = None, minZoom: Option[Int] = None)(implicit arg0: AvroRecordCodec[K], arg1: Boundable[K], arg2: JsonFormat[K], arg3: ClassTag[K], arg4: SpatialComponent[K], arg5: (V) ⇒ TilePrototypeMethods[V], arg6: (V) ⇒ TileMergeMethods[V], arg7: AvroRecordCodec[V], arg8: ClassTag[V], arg9: JsonFormat[M], arg10: Component[M, Bounds[K]], arg11: Component[M, LayoutDefinition]): Pyramid[K, V, M]

    Permalink
  12. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  15. def levelStream[K, V <: CellGrid, M](rdd: RDD[(K, V)] with Metadata[M], layoutScheme: LayoutScheme, startZoom: Int)(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: ClassTag[V], arg3: (V) ⇒ TileMergeMethods[V], arg4: (V) ⇒ TilePrototypeMethods[V], arg5: Component[M, LayoutDefinition], arg6: Component[M, Bounds[K]]): Stream[(Int, RDD[(K, V)] with Metadata[M])]

    Permalink
  16. def levelStream[K, V <: CellGrid, M](rdd: RDD[(K, V)] with Metadata[M], layoutScheme: LayoutScheme, startZoom: Int, options: Options)(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: ClassTag[V], arg3: (V) ⇒ TileMergeMethods[V], arg4: (V) ⇒ TilePrototypeMethods[V], arg5: Component[M, LayoutDefinition], arg6: Component[M, Bounds[K]]): Stream[(Int, RDD[(K, V)] with Metadata[M])]

    Permalink
  17. def levelStream[K, V <: CellGrid, M](rdd: RDD[(K, V)] with Metadata[M], layoutScheme: LayoutScheme, startZoom: Int, endZoom: Int)(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: ClassTag[V], arg3: (V) ⇒ TileMergeMethods[V], arg4: (V) ⇒ TilePrototypeMethods[V], arg5: Component[M, LayoutDefinition], arg6: Component[M, Bounds[K]]): Stream[(Int, RDD[(K, V)] with Metadata[M])]

    Permalink
  18. def levelStream[K, V <: CellGrid, M](rdd: RDD[(K, V)] with Metadata[M], layoutScheme: LayoutScheme, startZoom: Int, endZoom: Int, options: Options)(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: ClassTag[V], arg3: (V) ⇒ TileMergeMethods[V], arg4: (V) ⇒ TilePrototypeMethods[V], arg5: Component[M, LayoutDefinition], arg6: Component[M, Bounds[K]]): Stream[(Int, RDD[(K, V)] with Metadata[M])]

    Permalink

    Produce all pyramid levels from start and end zoom.

    Produce all pyramid levels from start and end zoom.

    The first entry in the result stream is the tuple of rdd and startZoom. The RDDs of pyramid levels have a recursive dependency on their base RDD. Because RDDs are lazy take care when consuming this stream. Choose to either persist the base layer or trigger jobs in order to maximize the caching provided by the Spark BlockManager.

    K

    RDD key type (ex: SpatialKey)

    V

    RDD value type (ex: Tile or MultibandTile)

    M

    Metadata associated with the RDD[(K,V)]

    rdd

    the base layer to be resampled

    layoutScheme

    the scheme used to generate next pyramid level

    startZoom

    the pyramid or zoom level of base layer

    endZoom

    the pyramid or zoom level to stop pyramid process

    options

    the options for the pyramid process

    See also

    [up]

  19. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. def up[K, V <: CellGrid, M](rdd: RDD[(K, V)] with Metadata[M], layoutScheme: LayoutScheme, zoom: Int)(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: ClassTag[V], arg3: (V) ⇒ TileMergeMethods[V], arg4: (V) ⇒ TilePrototypeMethods[V], arg5: Component[M, LayoutDefinition], arg6: Component[M, Bounds[K]]): (Int, RDD[(K, V)] with Metadata[M])

    Permalink
  26. def up[K, V <: CellGrid, M](rdd: RDD[(K, V)] with Metadata[M], layoutScheme: LayoutScheme, zoom: Int, options: Options)(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: ClassTag[V], arg3: (V) ⇒ TilePrototypeMethods[V], arg4: (V) ⇒ TileMergeMethods[V], arg5: Component[M, LayoutDefinition], arg6: Component[M, Bounds[K]]): (Int, RDD[(K, V)] with Metadata[M])

    Permalink

    Resample base layer to generate the next level "up" in the pyramid.

    Resample base layer to generate the next level "up" in the pyramid.

    Builds the pyramid level with a cell size twice that of the input level---the "next level up" in the pyramid. Each tile is resampled individually, without sampling pixels from neighboring tiles to speed up the process. The algorithm proceeds by reducing the input tiles by half using a resampling method over 2x2 pixel neighborhoods. We support all AggregateResampleMethods as well as NearestNeighbor and Bilinear resampling. Nearest neighbor resampling is, strictly speaking, non-deterministic in this setting, but is included to support categorical layers (e.g., NLCD). Given this method, input tile layers are obviously expected to comprise tiles with even pixel dimensions.

    K

    RDD key type (ex: SpatialKey)

    V

    RDD value type (ex: Tile or MultibandTile)

    M

    Metadata associated with the RDD[(K,V)]

    rdd

    the base layer to be resampled

    layoutScheme

    the scheme used to generate next pyramid level

    zoom

    the pyramid or zoom level of base layer

    options

    the options for the pyramid process

  27. def upLevels[K, V <: CellGrid, M](rdd: RDD[(K, V)] with Metadata[M], layoutScheme: LayoutScheme, startZoom: Int)(f: (RDD[(K, V)] with Metadata[M], Int) ⇒ Unit)(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: ClassTag[V], arg3: (V) ⇒ TileMergeMethods[V], arg4: (V) ⇒ TilePrototypeMethods[V], arg5: Component[M, LayoutDefinition], arg6: Component[M, Bounds[K]]): RDD[(K, V)] with Metadata[M]

    Permalink
  28. def upLevels[K, V <: CellGrid, M](rdd: RDD[(K, V)] with Metadata[M], layoutScheme: LayoutScheme, startZoom: Int, options: Options)(f: (RDD[(K, V)] with Metadata[M], Int) ⇒ Unit)(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: ClassTag[V], arg3: (V) ⇒ TileMergeMethods[V], arg4: (V) ⇒ TilePrototypeMethods[V], arg5: Component[M, LayoutDefinition], arg6: Component[M, Bounds[K]]): RDD[(K, V)] with Metadata[M]

    Permalink
  29. def upLevels[K, V <: CellGrid, M](rdd: RDD[(K, V)] with Metadata[M], layoutScheme: LayoutScheme, startZoom: Int, endZoom: Int)(f: (RDD[(K, V)] with Metadata[M], Int) ⇒ Unit)(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: ClassTag[V], arg3: (V) ⇒ TileMergeMethods[V], arg4: (V) ⇒ TilePrototypeMethods[V], arg5: Component[M, LayoutDefinition], arg6: Component[M, Bounds[K]]): RDD[(K, V)] with Metadata[M]

    Permalink
  30. def upLevels[K, V <: CellGrid, M](rdd: RDD[(K, V)] with Metadata[M], layoutScheme: LayoutScheme, startZoom: Int, endZoom: Int, options: Options)(f: (RDD[(K, V)] with Metadata[M], Int) ⇒ Unit)(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: ClassTag[V], arg3: (V) ⇒ TileMergeMethods[V], arg4: (V) ⇒ TilePrototypeMethods[V], arg5: Component[M, LayoutDefinition], arg6: Component[M, Bounds[K]]): RDD[(K, V)] with Metadata[M]

    Permalink
  31. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped