
geotrellis.spark.io.index.RowMajorKeyIndexMethod.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geotrellis-spark_2.11 Show documentation
Show all versions of geotrellis-spark_2.11 Show documentation
GeoTrellis is an open source geographic data processing engine for high performance applications.
The newest version!
package geotrellis.spark.io.index
import geotrellis.spark._
import geotrellis.spark.io.index.rowmajor._
import com.github.nscala_time.time.Imports._
private[index] trait RowMajorKeyIndexMethod
object RowMajorKeyIndexMethod extends RowMajorKeyIndexMethod {
implicit def spatialKeyIndexMethod(m: RowMajorKeyIndexMethod): KeyIndexMethod[SpatialKey] =
new KeyIndexMethod[SpatialKey] {
def createIndex(keyBounds: KeyBounds[SpatialKey]): KeyIndex[SpatialKey] =
new RowMajorSpatialKeyIndex(keyBounds)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy