Packages

abstract class COGLayerReader[ID] extends Serializable

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

Instance Constructors

  1. new COGLayerReader()

Abstract Value Members

  1. abstract val attributeStore: AttributeStore
  2. abstract def defaultNumPartitions: Int
  3. implicit abstract val ioRuntime: IORuntime
  4. abstract def read[K, V <: CellGrid[Int]](id: ID, rasterQuery: LayerQuery[K, TileLayerMetadata[K]], numPartitions: Int)(implicit arg0: SpatialComponent[K], arg1: Boundable[K], arg2: Decoder[K], arg3: ClassTag[K], arg4: GeoTiffReader[V], arg5: ClassTag[V]): RDD[(K, V)] with Metadata[TileLayerMetadata[K]]

    read

    read

    This function will read an RDD layer based on a query.

    K

    Type of RDD Key (ex: SpatialKey)

    V

    Type of RDD Value (ex: Tile or MultibandTile )

    id

    The ID of the layer to be read

    rasterQuery

    The query that will specify the filter for this read.

    numPartitions

    The desired number of partitions in the resulting RDD.

  5. abstract def readSubsetBands[K](id: ID, targetBands: Seq[Int], rasterQuery: LayerQuery[K, TileLayerMetadata[K]], numPartitions: Int)(implicit arg0: SpatialComponent[K], arg1: Boundable[K], arg2: Decoder[K], arg3: ClassTag[K]): RDD[(K, Array[Option[Tile]])] with Metadata[TileLayerMetadata[K]]

    This method will read in an RDD layer whose value will only contain the desired bands in their given order.

    This method will read in an RDD layer whose value will only contain the desired bands in their given order. This value is represented as an: Array[Option[Tile]]. Where Some(tile) represents a single band and None represents a band that could not be accessed.

    K

    Type of RDD Key (ex: SpatialKey)

    id

    The ID of the layer to be read

    targetBands

    The desired set of bands the output layer should have.

    rasterQuery

    The query that will specify the filter for this read.

    numPartitions

    The desired number of partitions in the resulting RDD.

Concrete Value Members

  1. def baseReadAllBands[K, V <: CellGrid[Int]](id: LayerId, tileQuery: LayerQuery[K, TileLayerMetadata[K]], numPartitions: Int)(implicit arg0: SpatialComponent[K], arg1: Boundable[K], arg2: Decoder[K], arg3: ClassTag[K], arg4: GeoTiffReader[V], arg5: ClassTag[V], sc: SparkContext, idToLayerId: (ID) ⇒ LayerId): RDD[(K, V)] with Metadata[TileLayerMetadata[K]]
  2. def baseReadSubsetBands[K](id: LayerId, targetBands: Seq[Int], tileQuery: LayerQuery[K, TileLayerMetadata[K]], numPartitions: Int)(implicit arg0: SpatialComponent[K], arg1: Boundable[K], arg2: Decoder[K], arg3: ClassTag[K], sc: SparkContext, idToLayerId: (ID) ⇒ LayerId): RDD[(K, Array[Option[Tile]])] with Metadata[TileLayerMetadata[K]]
  3. def query[K, V <: CellGrid[Int]](layerId: ID, numPartitions: Int)(implicit arg0: SpatialComponent[K], arg1: Boundable[K], arg2: Decoder[K], arg3: ClassTag[K], arg4: GeoTiffReader[V], arg5: ClassTag[V]): BoundLayerQuery[K, TileLayerMetadata[K], RDD[(K, V)] with Metadata[TileLayerMetadata[K]]]
  4. def query[K, V <: CellGrid[Int]](layerId: ID)(implicit arg0: SpatialComponent[K], arg1: Boundable[K], arg2: Decoder[K], arg3: ClassTag[K], arg4: GeoTiffReader[V], arg5: ClassTag[V]): BoundLayerQuery[K, TileLayerMetadata[K], RDD[(K, V)] with Metadata[TileLayerMetadata[K]]]
  5. def querySubsetBands[K](layerId: ID, targetBands: Seq[Int], numPartitions: Int)(implicit arg0: SpatialComponent[K], arg1: Boundable[K], arg2: Decoder[K], arg3: ClassTag[K]): BoundLayerQuery[K, TileLayerMetadata[K], RDD[(K, Array[Option[Tile]])] with Metadata[TileLayerMetadata[K]]]
  6. def querySubsetBands[K](layerId: ID, targetBands: Seq[Int])(implicit arg0: SpatialComponent[K], arg1: Boundable[K], arg2: Decoder[K], arg3: ClassTag[K]): BoundLayerQuery[K, TileLayerMetadata[K], RDD[(K, Array[Option[Tile]])] with Metadata[TileLayerMetadata[K]]]
  7. def read[K, V <: CellGrid[Int]](id: ID)(implicit arg0: SpatialComponent[K], arg1: Boundable[K], arg2: Decoder[K], arg3: ClassTag[K], arg4: GeoTiffReader[V], arg5: ClassTag[V]): RDD[(K, V)] with Metadata[TileLayerMetadata[K]]
  8. def read[K, V <: CellGrid[Int]](id: ID, numPartitions: Int)(implicit arg0: SpatialComponent[K], arg1: Boundable[K], arg2: Decoder[K], arg3: ClassTag[K], arg4: GeoTiffReader[V], arg5: ClassTag[V]): RDD[(K, V)] with Metadata[TileLayerMetadata[K]]
  9. def read[K, V <: CellGrid[Int]](id: ID, rasterQuery: LayerQuery[K, TileLayerMetadata[K]])(implicit arg0: SpatialComponent[K], arg1: Boundable[K], arg2: Decoder[K], arg3: ClassTag[K], arg4: GeoTiffReader[V], arg5: ClassTag[V]): RDD[(K, V)] with Metadata[TileLayerMetadata[K]]
  10. def readSubsetBands[K](id: ID, targetBands: Seq[Int])(implicit arg0: SpatialComponent[K], arg1: Boundable[K], arg2: Decoder[K], arg3: ClassTag[K]): RDD[(K, Array[Option[Tile]])] with Metadata[TileLayerMetadata[K]]
  11. def readSubsetBands[K](id: ID, targetBands: Seq[Int], numPartitions: Int)(implicit arg0: SpatialComponent[K], arg1: Boundable[K], arg2: Decoder[K], arg3: ClassTag[K]): RDD[(K, Array[Option[Tile]])] with Metadata[TileLayerMetadata[K]]
  12. def readSubsetBands[K](id: ID, targetBands: Seq[Int], rasterQuery: LayerQuery[K, TileLayerMetadata[K]])(implicit arg0: SpatialComponent[K], arg1: Boundable[K], arg2: Decoder[K], arg3: ClassTag[K]): RDD[(K, Array[Option[Tile]])] with Metadata[TileLayerMetadata[K]]
  13. def reader[K, V <: CellGrid[Int]](implicit arg0: SpatialComponent[K], arg1: Boundable[K], arg2: Decoder[K], arg3: ClassTag[K], arg4: GeoTiffReader[V], arg5: ClassTag[V]): Reader[ID, RDD[(K, V)] with Metadata[TileLayerMetadata[K]]]