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

geotrellis.spark.io.index.RowMajorKeyIndexMethod.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.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