Class/Object

geotrellis.spark.io.s3.S3GeoTiffRDD

Options

Related Docs: object Options | package S3GeoTiffRDD

Permalink

case class Options(tiffExtensions: Seq[String] = ..., crs: Option[CRS] = None, timeTag: String = GEOTIFF_TIME_TAG_DEFAULT, timeFormat: String = GEOTIFF_TIME_FORMAT_DEFAULT, maxTileSize: Option[Int] = Some(DefaultMaxTileSize), numPartitions: Option[Int] = None, partitionBytes: Option[Long] = Some(DefaultPartitionBytes), chunkSize: Option[Int] = None, delimiter: Option[String] = None, getS3Client: () ⇒ S3Client = () => S3Client.DEFAULT) extends RasterReader.Options with Product with Serializable

This case class contains the various parameters one can set when reading RDDs from S3 using Spark.

TODO: Add persistLevel option

tiffExtensions

Read all file with an extension contained in the given list.

crs

Override CRS of the input files. If None, the reader will use the file's original CRS.

timeTag

Name of tiff tag containing the timestamp for the tile.

timeFormat

Pattern for java.time.format.DateTimeFormatter to parse timeTag.

maxTileSize

Maximum allowed size of each tiles in output RDD. May result in a one input GeoTiff being split amongst multiple records if it exceeds this size. If no maximum tile size is specific, then each file file is read fully. 1024 by defaut.

numPartitions

How many partitions Spark should create when it repartitions the data.

partitionBytes

Desired partition size in bytes, at least one item per partition will be assigned. This option is incompatible with the maxTileSize option. 128 Mb by default.

chunkSize

How many bytes should be read in at a time.

delimiter

Delimiter to use for S3 objet listings. See

getS3Client

A function to instantiate an S3Client. Must be serializable.

Linear Supertypes
Serializable, Serializable, Product, Equals, RasterReader.Options, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Options
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Options
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Options(tiffExtensions: Seq[String] = ..., crs: Option[CRS] = None, timeTag: String = GEOTIFF_TIME_TAG_DEFAULT, timeFormat: String = GEOTIFF_TIME_FORMAT_DEFAULT, maxTileSize: Option[Int] = Some(DefaultMaxTileSize), numPartitions: Option[Int] = None, partitionBytes: Option[Long] = Some(DefaultPartitionBytes), chunkSize: Option[Int] = None, delimiter: Option[String] = None, getS3Client: () ⇒ S3Client = () => S3Client.DEFAULT)

    Permalink

    tiffExtensions

    Read all file with an extension contained in the given list.

    crs

    Override CRS of the input files. If None, the reader will use the file's original CRS.

    timeTag

    Name of tiff tag containing the timestamp for the tile.

    timeFormat

    Pattern for java.time.format.DateTimeFormatter to parse timeTag.

    maxTileSize

    Maximum allowed size of each tiles in output RDD. May result in a one input GeoTiff being split amongst multiple records if it exceeds this size. If no maximum tile size is specific, then each file file is read fully. 1024 by defaut.

    numPartitions

    How many partitions Spark should create when it repartitions the data.

    partitionBytes

    Desired partition size in bytes, at least one item per partition will be assigned. This option is incompatible with the maxTileSize option. 128 Mb by default.

    chunkSize

    How many bytes should be read in at a time.

    delimiter

    Delimiter to use for S3 objet listings. See

    getS3Client

    A function to instantiate an S3Client. Must be serializable.

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val chunkSize: Option[Int]

    Permalink

    How many bytes should be read in at a time.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val crs: Option[CRS]

    Permalink

    Override CRS of the input files.

    Override CRS of the input files. If None, the reader will use the file's original CRS.

    Definition Classes
    OptionsOptions
  8. val delimiter: Option[String]

    Permalink

    Delimiter to use for S3 objet listings.

    Delimiter to use for S3 objet listings. See

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

    Permalink
    Definition Classes
    AnyRef
  10. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. val getS3Client: () ⇒ S3Client

    Permalink

    A function to instantiate an S3Client.

    A function to instantiate an S3Client. Must be serializable.

  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val maxTileSize: Option[Int]

    Permalink

    Maximum allowed size of each tiles in output RDD.

    Maximum allowed size of each tiles in output RDD. May result in a one input GeoTiff being split amongst multiple records if it exceeds this size. If no maximum tile size is specific, then each file file is read fully. 1024 by defaut.

  15. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  18. val numPartitions: Option[Int]

    Permalink

    How many partitions Spark should create when it repartitions the data.

  19. def parseTime(tags: Tags): ZonedDateTime

    Permalink
    Definition Classes
    Options
  20. val partitionBytes: Option[Long]

    Permalink

    Desired partition size in bytes, at least one item per partition will be assigned.

    Desired partition size in bytes, at least one item per partition will be assigned. This option is incompatible with the maxTileSize option. 128 Mb by default.

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. val tiffExtensions: Seq[String]

    Permalink

    Read all file with an extension contained in the given list.

  23. val timeFormat: String

    Permalink

    Pattern for java.time.format.DateTimeFormatter to parse timeTag.

    Pattern for java.time.format.DateTimeFormatter to parse timeTag.

    Definition Classes
    OptionsOptions
  24. lazy val timeFormatter: DateTimeFormatter

    Permalink
    Definition Classes
    Options
  25. val timeTag: String

    Permalink

    Name of tiff tag containing the timestamp for the tile.

    Name of tiff tag containing the timestamp for the tile.

    Definition Classes
    OptionsOptions
  26. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from RasterReader.Options

Inherited from AnyRef

Inherited from Any

Ungrouped