This case class contains the various parameters one can set when reading RDDs from Hadoop using Spark.
This case class contains the various parameters one can set when reading RDDs from Hadoop using Spark.
Read all file with an extension contained in the given list.
Override CRS of the input files. If None, the reader will use the file's original CRS.
Name of tiff tag containing the timestamp for the tile.
Pattern for java.time.format.DateTimeFormatter to parse timeTag.
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 is broken into 256x256 tiles. If None, then the whole file will be read in. This option is incompatible with numPartitions and anything set to that parameter will be ignored.
How many partitions Spark should create when it repartitions the data.
Desired partition size in bytes, at least one item per partition will be assigned. If no size is specified, then partitions 128 Mb in size will be created by default. This option is incompatible with the numPartitions option. If both are set and maxTileSize isn't, then partitionBytes will be ignored in favor of numPartitions. However, if maxTileSize is set, then partitionBytes will be retained. If None and maxTileSize is defined, then the default partitionBytes' value will still be used. If maxTileSize is also None, then partitionBytes will remain None as well.
How many bytes should be read in at a time when reading a file. If None, then 65536 byte chunks will be read in at a time.
Creates a RDD[(K, V)] whose K and V depends on the type of the GeoTiff that is going to be read in.
Creates a RDD[(K, V)] whose K and V depends on the type of the GeoTiff that is going to be read in.
Hdfs GeoTiff path.
An instance of Options that contains any user defined or default settings.
Creates a RDD[(K, V)] whose K and V depends on the type of the GeoTiff that is going to be read in.
Creates a RDD[(K, V)] whose K and V depends on the type of the GeoTiff that is going to be read in.
This function has two modes of operation: When options.maxTileSize is set windows will be read from GeoTiffs and their size and count will be balanced among partitions using partitionBytes option. Resulting partitions will be grouped in relation to GeoTiff segment layout.
When maxTileSize is None the GeoTiffs will be read fully and balanced among partitions using either numPartitions or partitionBytes option.
HDFS GeoTiff path.
Function to transform input key basing on the URI information.
An instance of Options that contains any user defined or default settings.
An optional geometry to filter by. If this is provided, it is assumed that all GeoTiffs are in the same CRS, and that this geometry is in that CRS.
Creates RDDs with the [(K, V)] values where V is a MultibandTile.
Creates RDDs with the [(K, V)] values where V is a MultibandTile. It assumes that the provided files are MultibandGeoTiffs.
Hadoop path to recursively search for GeoTiffs.
An instance of Options that contains any user defined or default settings.
Creates RDDs with the [(K, V)] values where V is a MultibandTile.
Creates RDDs with the [(K, V)] values where V is a MultibandTile. It assumes that the provided files are MultibandGeoTiffs.
Hadoop path to recursively search for GeoTiffs.
function to transform input key basing on the URI information.
An instance of Options that contains any user defined or default settings.
Creates RDDs with the [(K, V)] values where V is a Tile.
Creates RDDs with the [(K, V)] values where V is a Tile. It assumes that the provided files are SinglebandGeoTiffs.
Hadoop path to recursively search for GeoTiffs.
An instance of Options that contains any user defined or default settings.
Creates RDDs with the [(K, V)] values where V is a Tile.
Creates RDDs with the [(K, V)] values where V is a Tile. It assumes that the provided files are SinglebandGeoTiffs.
Hadoop path to recursively search for GeoTiffs.
function to transform input key basing on the URI information.
An instance of Options that contains any user defined or default settings.
Creates RDDs with the [(K, V)] values being ProjectedExtent and Tile, respectively.
Creates RDDs with the [(K, V)] values being ProjectedExtent and Tile, respectively. It assumes that the provided files are SinglebandGeoTiffs.
Hadoop path to recursively search for GeoTiffs.
function to transform input key basing on the URI information.
An instance of Options that contains any user defined or default settings.
Creates RDDs with the [(K, V)] values being ProjectedExtent and Tile, respectively.
Creates RDDs with the [(K, V)] values being ProjectedExtent and Tile, respectively. It assumes that the provided files are SinglebandGeoTiffs.
Hadoop path to recursively search for GeoTiffs.
An instance of Options that contains any user defined or default settings.
Creates RDDs with the [(K, V)] values being ProjectedExtent and Tile, respectively.
Creates RDDs with the [(K, V)] values being ProjectedExtent and Tile, respectively. It assumes that the provided files are SinglebandGeoTiffs.
Hadoop path to recursively search for GeoTiffs.
Creates RDDs with the [(K, V)] values being ProjectedExtent and MultibandTile, respectively.
Creates RDDs with the [(K, V)] values being ProjectedExtent and MultibandTile, respectively. It assumes that the provided files are MultibandGeoTiffs.
Hadoop path to recursively search for GeoTiffs.
function to transform input key basing on the URI information.
An instance of Options that contains any user defined or default settings.
Creates RDDs with the [(K, V)] values being ProjectedExtent and MultibandTile, respectively.
Creates RDDs with the [(K, V)] values being ProjectedExtent and MultibandTile, respectively. It assumes that the provided files are MultibandGeoTiffs.
Hadoop path to recursively search for GeoTiffs.
An instance of Options that contains any user defined or default settings.
Creates RDDs with the [(K, V)] values being ProjectedExtent and MultibandTile, respectively.
Creates RDDs with the [(K, V)] values being ProjectedExtent and MultibandTile, respectively. It assumes that the provided files are MultibandGeoTiffs.
Hadoop path to recursively search for GeoTiffs.
Creates RDDs with the [(K, V)] values being TemporalProjectedExtent and Tile, respectively.
Creates RDDs with the [(K, V)] values being TemporalProjectedExtent and Tile, respectively. It assumes that the provided files are SinglebandGeoTiffs.
Hadoop path to recursively search for GeoTiffs.
function to transform input key basing on the URI information.
An instance of Options that contains any user defined or default settings.
Creates RDDs with the [(K, V)] values being TemporalProjectedExtent and Tile, respectively.
Creates RDDs with the [(K, V)] values being TemporalProjectedExtent and Tile, respectively. It assumes that the provided files are SinglebandGeoTiffs.
Hadoop path to recursively search for GeoTiffs.
An instance of Options that contains any user defined or default settings.
Creates RDDs with the [(K, V)] values being TemporalProjectedExtent and Tile, respectively.
Creates RDDs with the [(K, V)] values being TemporalProjectedExtent and Tile, respectively. It assumes that the provided files are SinglebandGeoTiffs.
Hadoop path to recursively search for GeoTiffs.
Creates RDDs with the [(K, V)] values being TemporalProjectedExtent and MultibandTile, respectively.
Creates RDDs with the [(K, V)] values being TemporalProjectedExtent and MultibandTile, respectively. It assumes that the provided files are MultibandGeoTiffs.
Hadoop path to recursively search for GeoTiffs.
function to transform input key basing on the URI information.
An instance of Options that contains any user defined or default settings.
Creates RDDs with the [(K, V)] values being TemporalProjectedExtent and MultibandTile, respectively.
Creates RDDs with the [(K, V)] values being TemporalProjectedExtent and MultibandTile, respectively. It assumes that the provided files are MultibandGeoTiffs.
Hadoop path to recursively search for GeoTiffs.
An instance of Options that contains any user defined or default settings.
Creates RDDs with the [(K, V)] values being TemporalProjectedExtent and MultibandTile, respectively.
Creates RDDs with the [(K, V)] values being TemporalProjectedExtent and MultibandTile, respectively. It assumes that the provided files are MultibandGeoTiffs.
Hadoop path to recursively search for GeoTiffs.
Allows for reading of whole or windowed GeoTiff as RDD[(K, V)]s through Hadoop FileSystem API.