
geotrellis.spark.etl.hadoop.GeoTiffHadoopInput.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geotrellis-spark-etl_2.10 Show documentation
Show all versions of geotrellis-spark-etl_2.10 Show documentation
GeoTrellis is an open source geographic data processing engine for high performance applications.
The newest version!
package geotrellis.spark.etl.hadoop
import geotrellis.raster._
import geotrellis.spark._
import geotrellis.vector.ProjectedExtent
import geotrellis.spark.ingest._
import geotrellis.spark.merge._
import geotrellis.spark.io.hadoop._
import org.apache.spark.SparkContext
import org.apache.spark.rdd.RDD
class GeoTiffHadoopInput extends HadoopInput[ProjectedExtent, Tile]() {
val format = "geotiff"
def apply(props: Parameters)(implicit sc: SparkContext): RDD[(ProjectedExtent, Tile)] = sc.hadoopGeoTiffRDD(props("path"))
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy