o

geotrellis.spark.reproject

TileRDDReproject

object TileRDDReproject

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

Value Members

  1. def apply[K, V <: CellGrid[Int]](rdd: RDD[(K, V)] with Metadata[TileLayerMetadata[K]], destCrs: CRS, targetLayout: Either[LayoutScheme, LayoutDefinition], bufferSize: Int, options: Options, partitioner: Option[Partitioner])(implicit arg0: SpatialComponent[K], arg1: Boundable[K], arg2: ClassTag[K], arg3: ClassTag[V], arg4: RasterRegionReproject[V], arg5: Stitcher[V], arg6: (V) ⇒ CropMethods[V], arg7: (V) ⇒ TileMergeMethods[V], arg8: (V) ⇒ TilePrototypeMethods[V]): (Int, RDD[(K, V)] with Metadata[TileLayerMetadata[K]])

    Reproject this keyed tile RDD, using a constant border size for the operation.

    Reproject this keyed tile RDD, using a constant border size for the operation.

    K

    Key type; requires spatial component.

    V

    Tile type; requires the ability to stitch, crop, reproject, merge, and create.

    rdd

    The keyed tile RDD.

    destCrs

    The CRS to reproject to.

    targetLayout

    The layout scheme to use when re-keying the reprojected layers.

    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.

    options

    Reprojection options.

    returns

    The new zoom level and the reprojected keyed tile RDD.

    Note

    This is faster than computing the correct border size per key, so if you know that a specific border size will be sufficient to be accurate, e.g. if the CRS's are not very different and so the rasters will not skew heavily, then this method can be used for performance benefit.

  2. def apply[K, V <: CellGrid[Int]](rdd: RDD[(K, V)] with Metadata[TileLayerMetadata[K]], destCrs: CRS, targetLayout: Either[LayoutScheme, LayoutDefinition], options: Options, partitioner: Option[Partitioner])(implicit arg0: SpatialComponent[K], arg1: Boundable[K], arg2: ClassTag[K], arg3: ClassTag[V], arg4: RasterRegionReproject[V], arg5: Stitcher[V], arg6: (V) ⇒ CropMethods[V], arg7: (V) ⇒ TileMergeMethods[V], arg8: (V) ⇒ TilePrototypeMethods[V]): (Int, RDD[(K, V)] with Metadata[TileLayerMetadata[K]])

    Reproject a keyed tile RDD.

    Reproject a keyed tile RDD.

    K

    Key type; requires spatial component.

    V

    Tile type; requires the ability to stitch, crop, reproject, merge, and create.

    rdd

    The keyed tile RDD.

    destCrs

    The CRS to reproject to.

    targetLayout

    The layout scheme to use when re-keying the reprojected layers.

    options

    Reprojection options.

    returns

    The new zoom level and the reprojected keyed tile RDD.

  3. def apply[K, V <: CellGrid[Int]](bufferedTiles: RDD[(K, BufferedTile[V])], metadata: TileLayerMetadata[K], destCrs: CRS, targetLayout: Either[LayoutScheme, LayoutDefinition], options: Options, partitioner: Option[Partitioner])(implicit arg0: SpatialComponent[K], arg1: Boundable[K], arg2: ClassTag[K], arg3: ClassTag[V], arg4: RasterRegionReproject[V], arg5: (V) ⇒ TileMergeMethods[V], arg6: (V) ⇒ TilePrototypeMethods[V]): (Int, RDD[(K, V)] with Metadata[TileLayerMetadata[K]])

    Reproject a set of buffered

    Reproject a set of buffered

    K

    Key type; requires spatial component.

    V

    Tile type; requires the ability to stitch, crop, reproject, merge, and create.

    bufferedTiles

    An RDD of buffered tiles, created using the BufferTiles operation.

    metadata

    The raster metadata for this keyed tile set.

    destCrs

    The CRS to reproject to.

    targetLayout

    Either the layout scheme or layout definition to use when re-keying the reprojected layers.

    options

    Reprojection options.

    returns

    The new zoom level and the reprojected keyed tile RDD.