Object

geotrellis.spark.buffer

BufferTiles

Related Doc: package buffer

Permalink

object BufferTiles

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

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. def apply[K, V <: CellGrid](layer: RDD[(K, V)], includeKey: (K) ⇒ Boolean, getBufferSizes: (K) ⇒ BufferSizes, partitioner: Option[Partitioner])(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: Stitcher[V], arg3: (V) ⇒ CropMethods[V]): RDD[(K, BufferedTile[V])]

    Permalink

    Buffer the tiles of type V by a constant buffer size.

    Buffer the tiles of type V by a constant buffer size.

    This function will return each of the tiles with a buffer added to them by the contributions of adjacent, abutting tiles.

    K

    The key of this tile set RDD, requiring a spatial component.

    V

    The tile type, requires a Stitcher[V] and implicit conversion to CropMethods[V]

    includeKey

    A function indicating whether the tile corresponding to a key should be included in the output.

    getBufferSizes

    A function indicating the number of pixels to buffer the tile with. The tile will only be buffered by this amount on any side if there is an adjacent, abutting tile to contribute the border pixels.

    partitioner

    The Partitioner to use when buffering over the tiles. If None, then the parent's Partitioner will be used. If that is also None then the resulting RDD will have a HashPartitioner.

  5. def apply[K, V <: CellGrid](layer: RDD[(K, V)], includeKey: (K) ⇒ Boolean, getBufferSizes: (K) ⇒ BufferSizes)(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: Stitcher[V], arg3: (V) ⇒ CropMethods[V]): RDD[(K, BufferedTile[V])]

    Permalink

    Buffer the tiles of type V by a constant buffer size.

    Buffer the tiles of type V by a constant buffer size.

    This function will return each of the tiles with a buffer added to them by the contributions of adjacent, abutting tiles.

    K

    The key of this tile set RDD, requiring a spatial component.

    V

    The tile type, requires a Stitcher[V] and implicit conversion to CropMethods[V]

    includeKey

    A function indicating whether the tile corresponding to a key should be included in the output.

    getBufferSizes

    A function indicating the number of pixels to buffer the tile with. The tile will only be buffered by this amount on any side if there is an adjacent, abutting tile to contribute the border pixels.

  6. def apply[K, V <: CellGrid](layer: RDD[(K, V)], getBufferSizes: (K) ⇒ BufferSizes, partitioner: Option[Partitioner])(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: Stitcher[V], arg3: (V) ⇒ CropMethods[V]): RDD[(K, BufferedTile[V])]

    Permalink

    Buffer the tiles of type V by a constant buffer size.

    Buffer the tiles of type V by a constant buffer size.

    This function will return each of the tiles with a buffer added to them by the contributions of adjacent, abutting tiles.

    K

    The key of this tile set RDD, requiring a spatial component.

    V

    The tile type, requires a Stitcher[V] and implicit conversion to CropMethods[V]

    getBufferSizes

    A function indicating the number of pixels to buffer the tile with. The tile will only be buffered by this amount on any side if there is an adjacent, abutting tile to contribute the border pixels.

    partitioner

    The Partitioner to use when buffering over the tiles. If None, then the parent's Partitioner will be used. If that is also None then the resulting RDD will have a HashPartitioner.

  7. def apply[K, V <: CellGrid](layer: RDD[(K, V)], getBufferSizes: (K) ⇒ BufferSizes)(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: Stitcher[V], arg3: (V) ⇒ CropMethods[V]): RDD[(K, BufferedTile[V])]

    Permalink

    Buffer the tiles of type V by a constant buffer size.

    Buffer the tiles of type V by a constant buffer size.

    This function will return each of the tiles with a buffer added to them by the contributions of adjacent, abutting tiles.

    K

    The key of this tile set RDD, requiring a spatial component.

    V

    The tile type, requires a Stitcher[V] and implicit conversion to CropMethods[V]

    getBufferSizes

    A function indicating the number of pixels to buffer the tile with. The tile will only be buffered by this amount on any side if there is an adjacent, abutting tile to contribute the border pixels.

  8. def apply[K, V <: CellGrid](rdd: RDD[(K, V)], bufferSize: Int, layerBounds: GridBounds, partitioner: Option[Partitioner])(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: Stitcher[V], arg3: ClassTag[V], arg4: (V) ⇒ CropMethods[V]): RDD[(K, BufferedTile[V])]

    Permalink

    Buffer the tiles of type V by a constant buffer size.

    Buffer the tiles of type V by a constant buffer size.

    This function will return each of the tiles with a buffer added to them by the contributions of adjacent, abutting tiles.

    K

    The key of this tile set RDD, requiring a spatial component.

    V

    The tile type, requires a Stitcher[V] and implicit conversion to CropMethods[V]

    rdd

    The keyed tile rdd.

    bufferSize

    Number of pixels to buffer the tile with. The tile will only be buffered by this amount on any side if there is an adjacent, abutting tile to contribute the border pixels.

    layerBounds

    The boundries of the layer to consider for border pixel contribution. This avoids creating border cells from valid tiles that would be used by keys outside of the bounds (and therefore unused). any side if there is an adjacent, abutting tile to contribute the border pixels.

    partitioner

    The Partitioner to use when buffering over the tiles. If None, then the parent's Partitioner will be used. If that is also None then the resulting RDD will have a HashPartitioner.

  9. def apply[K, V <: CellGrid](rdd: RDD[(K, V)], bufferSize: Int, layerBounds: GridBounds)(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: Stitcher[V], arg3: ClassTag[V], arg4: (V) ⇒ CropMethods[V]): RDD[(K, BufferedTile[V])]

    Permalink

    Buffer the tiles of type V by a constant buffer size.

    Buffer the tiles of type V by a constant buffer size.

    This function will return each of the tiles with a buffer added to them by the contributions of adjacent, abutting tiles.

    K

    The key of this tile set RDD, requiring a spatial component.

    V

    The tile type, requires a Stitcher[V] and implicit conversion to CropMethods[V]

    rdd

    The keyed tile rdd.

    bufferSize

    Number of pixels to buffer the tile with. The tile will only be buffered by this amount on any side if there is an adjacent, abutting tile to contribute the border pixels.

    layerBounds

    The boundries of the layer to consider for border pixel contribution. This avoids creating border cells from valid tiles that would be used by keys outside of the bounds (and therefore unused).

  10. def apply[K, V <: CellGrid](rdd: RDD[(K, V)], bufferSize: Int, partitioner: Option[Partitioner])(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: Stitcher[V], arg3: ClassTag[V], arg4: (V) ⇒ CropMethods[V]): RDD[(K, BufferedTile[V])]

    Permalink

    Buffer the tiles of type V by a constant buffer size.

    Buffer the tiles of type V by a constant buffer size.

    This function will return each of the tiles with a buffer added to them by the contributions of adjacent, abutting tiles.

    K

    The key of this tile set RDD, requiring a spatial component.

    V

    The tile type, requires a Stitcher[V] and implicit conversion to CropMethods[V]

    rdd

    The keyed tile rdd.

    bufferSize

    Number of pixels to buffer the tile with. The tile will only be buffered by this amount on any side if there is an adjacent, abutting tile to contribute the border pixels.

    partitioner

    The Partitioner to use when buffering over the tiles. If None, then the parent's Partitioner will be used. If that is also None then the resulting RDD will have a HashPartitioner.

  11. def apply[K, V <: CellGrid](rdd: RDD[(K, V)], bufferSize: Int)(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: Stitcher[V], arg3: ClassTag[V], arg4: (V) ⇒ CropMethods[V]): RDD[(K, BufferedTile[V])]

    Permalink

    Buffer the tiles of type V by a constant buffer size.

    Buffer the tiles of type V by a constant buffer size.

    This function will return each of the tiles with a buffer added to them by the contributions of adjacent, abutting tiles.

    K

    The key of this tile set RDD, requiring a spatial component.

    V

    The tile type, requires a Stitcher[V] and implicit conversion to CropMethods[V]

    rdd

    The keyed tile rdd.

    bufferSize

    Number of pixels to buffer the tile with. The tile will only be buffered by this amount on any side if there is an adjacent, abutting tile to contribute the border pixels.

  12. def apply[K, V <: CellGrid](seq: Seq[(K, V)], bufferSize: Int, layerBounds: GridBounds)(implicit arg0: SpatialComponent[K], arg1: Stitcher[V], arg2: (V) ⇒ CropMethods[V]): Seq[(K, BufferedTile[V])]

    Permalink

    Buffer the tiles of type V by a constant buffer size.

    Buffer the tiles of type V by a constant buffer size.

    This function will return each of the tiles with a buffer added to them by the contributions of adjacent, abutting tiles.

    K

    The key of this tile set RDD, requiring a spatial component.

    V

    The tile type, requires a Stitcher[V] and implicit conversion to CropMethods[V]

    seq

    The keyed tile collection.

    bufferSize

    Number of pixels to buffer the tile with. The tile will only be buffered by this amount on any side if there is an adjacent, abutting tile to contribute the border pixels.

    layerBounds

    The boundries of the layer to consider for border pixel contribution. This avoids creating border cells from valid tiles that would be used by keys outside of the bounds (and therefore unused).

  13. def apply[K, V <: CellGrid](seq: Seq[(K, V)], bufferSizesPerKey: Seq[(K, BufferSizes)])(implicit arg0: SpatialComponent[K], arg1: Stitcher[V], arg2: (V) ⇒ CropMethods[V]): Seq[(K, BufferedTile[V])]

    Permalink

    Buffer the tiles of type V by a dynamic buffer size.

    Buffer the tiles of type V by a dynamic buffer size.

    This function will return each of the tiles with a buffer added to them by the contributions of adjacent, abutting tiles.

    K

    The key of this tile set Collection, requiring a spatial component.

    V

    The tile type, requires a Stitcher[V] and implicit conversion to CropMethods[V]

    seq

    The keyed tile rdd.

    bufferSizesPerKey

    A Collection that holds the BufferSizes to use for each key.

  14. def apply[K, V <: CellGrid](seq: Seq[(K, V)], getBufferSizes: (K) ⇒ BufferSizes)(implicit arg0: SpatialComponent[K], arg1: Stitcher[V], arg2: (V) ⇒ CropMethods[V]): Seq[(K, BufferedTile[V])]

    Permalink

    Buffer the tiles of type V by a dynamic buffer size.

    Buffer the tiles of type V by a dynamic buffer size.

    This function will return each of the tiles with a buffer added to them by the contributions of adjacent, abutting tiles.

    K

    The key of this tile set Collection, requiring a spatial component.

    V

    The tile type, requires a Stitcher[V] and implicit conversion to CropMethods[V]

    seq

    The keyed tile rdd.

    getBufferSizes

    A function which returns the BufferSizes that should be used for a tile at this Key.

  15. def apply[K, V <: CellGrid](rdd: Seq[(K, V)], bufferSize: Int)(implicit arg0: SpatialComponent[K], arg1: Stitcher[V], arg2: (V) ⇒ CropMethods[V]): Seq[(K, BufferedTile[V])]

    Permalink

    Buffer the tiles of type V by a constant buffer size.

    Buffer the tiles of type V by a constant buffer size.

    This function will return each of the tiles with a buffer added to them by the contributions of adjacent, abutting tiles.

    K

    The key of this tile set Collection, requiring a spatial component.

    V

    The tile type, requires a Stitcher[V] and implicit conversion to CropMethods[V]

    rdd

    The keyed tile rdd.

    bufferSize

    Number of pixels to buffer the tile with. The tile will only be buffered by this amount on any side if there is an adjacent, abutting tile to contribute the border pixels.

  16. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  17. def bufferWithNeighbors[K, V <: CellGrid](seq: Seq[(K, Seq[(Direction, V)])])(implicit arg0: SpatialComponent[K], arg1: Stitcher[V]): Seq[(K, BufferedTile[V])]

    Permalink
  18. def bufferWithNeighbors[K, V <: CellGrid](rdd: RDD[(K, Iterable[(Direction, V)])])(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: Stitcher[V], arg3: ClassTag[V]): RDD[(K, BufferedTile[V])]

    Permalink
  19. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. def collectWithTileNeighbors[K, V <: CellGrid](key: K, tile: V, includeKey: (SpatialKey) ⇒ Boolean, getBufferSizes: (SpatialKey) ⇒ BufferSizes)(implicit arg0: SpatialComponent[K], arg1: (V) ⇒ CropMethods[V]): Seq[(K, (Direction, V))]

    Permalink

    Collects tile neighbors by slicing the neighboring tiles to the given buffer size

  21. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  27. val logger: Logger

    Permalink
  28. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped