Packages

class S3COGLayerReader extends COGLayerReader[LayerId]

Handles reading raster RDDs and their metadata from S3.

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

Instance Constructors

  1. new S3COGLayerReader(attributeStore: AttributeStore, s3Client: ⇒ S3Client = S3ClientProducer.get(), runtime: ⇒ IORuntime = IORuntimeTransient.IORuntime)(implicit sc: SparkContext)

    attributeStore

    AttributeStore that contains metadata for corresponding LayerId

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. val attributeStore: AttributeStore
    Definition Classes
    S3COGLayerReaderCOGLayerReader
  6. 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: (LayerId) ⇒ LayerId): RDD[(K, V)] with Metadata[TileLayerMetadata[K]]
    Definition Classes
    COGLayerReader
  7. 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: (LayerId) ⇒ LayerId): RDD[(K, Array[Option[Tile]])] with Metadata[TileLayerMetadata[K]]
    Definition Classes
    COGLayerReader
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. val defaultNumPartitions: Int
    Definition Classes
    S3COGLayerReaderCOGLayerReader
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def fullPath(path: String): URI
    Definition Classes
    S3COGLayerReaderCOGLayerReader
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def getHeader(id: LayerId): S3LayerHeader
    Definition Classes
    S3COGLayerReaderCOGLayerReader
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. implicit lazy val ioRuntime: IORuntime
    Definition Classes
    S3COGLayerReaderCOGLayerReader
    Annotations
    @transient()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def pathExists(path: String): Boolean
    Definition Classes
    S3COGLayerReaderCOGLayerReader
  23. def produceGetKeyPath(id: LayerId): (ZoomRange, Int) ⇒ (BigInt) ⇒ String
    Definition Classes
    S3COGLayerReaderCOGLayerReader
  24. def query[K, V <: CellGrid[Int]](layerId: LayerId, 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]]]
    Definition Classes
    COGLayerReader
  25. def query[K, V <: CellGrid[Int]](layerId: LayerId)(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]]]
    Definition Classes
    COGLayerReader
  26. def querySubsetBands[K](layerId: LayerId, 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]]]
    Definition Classes
    COGLayerReader
  27. def querySubsetBands[K](layerId: LayerId, 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]]]
    Definition Classes
    COGLayerReader
  28. def read[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]): 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

    numPartitions

    The desired number of partitions in the resulting RDD.

    Definition Classes
    S3COGLayerReaderCOGLayerReader
  29. def read[K, V <: CellGrid[Int]](id: LayerId)(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]]
    Definition Classes
    COGLayerReader
  30. def read[K, V <: CellGrid[Int]](id: LayerId, 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]]
    Definition Classes
    COGLayerReader
  31. def read[K, V <: CellGrid[Int]](id: LayerId, 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]]
    Definition Classes
    COGLayerReader
  32. def readSubsetBands[K](id: LayerId, 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.

    Definition Classes
    S3COGLayerReaderCOGLayerReader
  33. def readSubsetBands[K](id: LayerId, 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]]
    Definition Classes
    COGLayerReader
  34. def readSubsetBands[K](id: LayerId, 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]]
    Definition Classes
    COGLayerReader
  35. def readSubsetBands[K](id: LayerId, 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]]
    Definition Classes
    COGLayerReader
  36. 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[LayerId, RDD[(K, V)] with Metadata[TileLayerMetadata[K]]]
    Definition Classes
    COGLayerReader
  37. implicit val sc: SparkContext
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from COGLayerReader[LayerId]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped