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

geotrellis.spark.LayerId.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

/** Identifies a Layer by it's name and zoom level */
case class LayerId(name: String, zoom: Int) {
  override
  def toString: String = 
    s"""Layer(name = "$name", zoom = $zoom)"""
}

object LayerId{
  implicit def fromTuple(tup: (String, Int)) = LayerId(tup._1, tup._2)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy