Packages

object Pyramid extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Pyramid
  2. Serializable
  3. Serializable
  4. AnyRef
  5. 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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def fromLayerRDD[K, V <: CellGrid[Int], 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]
  10. def fromLayerReader[K, V <: CellGrid[Int], M](layerName: String, layerReader: LayerReader[LayerId], maxZoom: Option[Int] = None, minZoom: Option[Int] = None)(implicit arg0: AvroRecordCodec[K], arg1: Boundable[K], arg2: Encoder[K], arg3: Decoder[K], arg4: ClassTag[K], arg5: SpatialComponent[K], arg6: (V) ⇒ TilePrototypeMethods[V], arg7: (V) ⇒ TileMergeMethods[V], arg8: AvroRecordCodec[V], arg9: ClassTag[V], arg10: Encoder[M], arg11: Decoder[M], arg12: Component[M, Bounds[K]], arg13: Component[M, LayoutDefinition]): Pyramid[K, V, M]
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def levelStream[K, V <: CellGrid[Int], 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])]
  15. def levelStream[K, V <: CellGrid[Int], 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])]
  16. def levelStream[K, V <: CellGrid[Int], 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])]
  17. def levelStream[K, V <: CellGrid[Int], 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])]

    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]

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def up[K, V <: CellGrid[Int], 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])
  24. def up[K, V <: CellGrid[Int], 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])

    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

  25. def upLevels[K, V <: CellGrid[Int], 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]
  26. def upLevels[K, V <: CellGrid[Int], 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]
  27. def upLevels[K, V <: CellGrid[Int], 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]
  28. def upLevels[K, V <: CellGrid[Int], 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]
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  32. object Options extends Serializable

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped