All Downloads are FREE. Search and download functionalities are using the official Maven repository.

geotrellis.spark.etl.s3.MultibandGeoTiffS3Input.scala Maven / Gradle / Ivy

Go to download

GeoTrellis is an open source geographic data processing engine for high performance applications.

The newest version!
package geotrellis.spark.etl.s3

import geotrellis.raster.MultibandTile
import geotrellis.spark.io.s3.MultibandGeoTiffS3InputFormat
import geotrellis.vector.ProjectedExtent
import org.apache.spark.SparkContext
import org.apache.spark.rdd.RDD


class MultibandGeoTiffS3Input extends S3Input[ProjectedExtent, MultibandTile] {
  val format = "multiband-geotiff"
  def apply(props: Parameters)(implicit sc: SparkContext): RDD[(ProjectedExtent, MultibandTile)] =
    sc.newAPIHadoopRDD(
      configuration(props), classOf[MultibandGeoTiffS3InputFormat], classOf[ProjectedExtent], classOf[MultibandTile]
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy