object BufferTilesRDD extends BufferTiles
- Alphabetic
- By Inheritance
- BufferTilesRDD
- BufferTiles
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply[K, V <: CellGrid[Int]](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])]
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.
-
def
apply[K, V <: CellGrid[Int]](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])]
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.
-
def
apply[K, V <: CellGrid[Int]](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])]
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.
-
def
apply[K, V <: CellGrid[Int]](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])]
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.
-
def
apply[K, V <: CellGrid[Int]](rdd: RDD[(K, V)], bufferSize: Int, layerBounds: TileBounds, partitioner: Option[Partitioner])(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: Stitcher[V], arg3: ClassTag[V], arg4: (V) ⇒ CropMethods[V]): RDD[(K, BufferedTile[V])]
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.
-
def
apply[K, V <: CellGrid[Int]](rdd: RDD[(K, V)], bufferSize: Int, layerBounds: TileBounds)(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: Stitcher[V], arg3: ClassTag[V], arg4: (V) ⇒ CropMethods[V]): RDD[(K, BufferedTile[V])]
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).
-
def
apply[K, V <: CellGrid[Int]](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])]
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.
-
def
apply[K, V <: CellGrid[Int]](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])]
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.
-
def
apply[K, V <: CellGrid[Int]](seq: Seq[(K, V)], bufferSize: Int, layerBounds: TileBounds)(implicit arg0: SpatialComponent[K], arg1: Stitcher[V], arg2: (V) ⇒ CropMethods[V]): Seq[(K, BufferedTile[V])]
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).
- Definition Classes
- BufferTiles
-
def
apply[K, V <: CellGrid[Int]](seq: Seq[(K, V)], bufferSizesPerKey: Seq[(K, BufferSizes)])(implicit arg0: SpatialComponent[K], arg1: Stitcher[V], arg2: (V) ⇒ CropMethods[V]): Seq[(K, BufferedTile[V])]
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.
- Definition Classes
- BufferTiles
-
def
apply[K, V <: CellGrid[Int]](seq: Seq[(K, V)], getBufferSizes: (K) ⇒ BufferSizes)(implicit arg0: SpatialComponent[K], arg1: Stitcher[V], arg2: (V) ⇒ CropMethods[V]): Seq[(K, BufferedTile[V])]
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.
- Definition Classes
- BufferTiles
-
def
apply[K, V <: CellGrid[Int]](seq: Seq[(K, V)], bufferSize: Int)(implicit arg0: SpatialComponent[K], arg1: Stitcher[V], arg2: (V) ⇒ CropMethods[V]): Seq[(K, BufferedTile[V])]
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]
- 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.
- Definition Classes
- BufferTiles
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bufferWithNeighbors[K, V <: CellGrid[Int]](rdd: RDD[(K, Iterable[(Direction, V)])])(implicit arg0: SpatialComponent[K], arg1: ClassTag[K], arg2: Stitcher[V], arg3: ClassTag[V]): RDD[(K, BufferedTile[V])]
-
def
bufferWithNeighbors[K, V <: CellGrid[Int]](seq: Seq[(K, Seq[(Direction, V)])])(implicit arg0: SpatialComponent[K], arg1: Stitcher[V]): Seq[(K, BufferedTile[V])]
- Definition Classes
- BufferTiles
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
collectWithTileNeighbors[K, V <: CellGrid[Int]](key: K, tile: V, includeKey: (SpatialKey) ⇒ Boolean, getBufferSizes: (SpatialKey) ⇒ BufferSizes)(implicit arg0: SpatialComponent[K], arg1: (V) ⇒ CropMethods[V]): Seq[(K, (Direction, V))]
Collects tile neighbors by slicing the neighboring tiles to the given buffer size
Collects tile neighbors by slicing the neighboring tiles to the given buffer size
- Definition Classes
- BufferTiles
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()