object ToSpatial
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ToSpatial
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[K, V, M[_]](seq: Seq[(K, V)] with Metadata[M[K]])(implicit arg0: SpatialComponent[K], arg1: TemporalComponent[K], arg2: Component[M[K], Bounds[K]], arg3: Functor[M]): Seq[(SpatialKey, V)] with Metadata[M[SpatialKey]]
- def apply[K, V, M[_]](seq: Seq[(K, V)] with Metadata[M[K]], mergeFun: Option[(V, V) ⇒ V])(implicit arg0: SpatialComponent[K], arg1: TemporalComponent[K], arg2: Component[M[K], Bounds[K]], arg3: Functor[M]): Seq[(SpatialKey, V)] with Metadata[M[SpatialKey]]
-
def
apply[K, V, M[_]](seq: Seq[(K, V)] with Metadata[M[K]], instant: Long)(implicit arg0: SpatialComponent[K], arg1: TemporalComponent[K], arg2: Component[M[K], Bounds[K]], arg3: Functor[M]): Seq[(SpatialKey, V)] with Metadata[M[SpatialKey]]
Restrict a tile layer and its metadata to two spatial dimensions.
Restrict a tile layer and its metadata to two spatial dimensions.
To project not only Tiles, but also Metadata (M) information and to get a consistent result type, it is possible to define additional constraints on Metadata. M should depend on a K type (M[K]), and two type classes should be provided: geotrellis.util.Component, to extract key bounds from M[K], and cats.Functor to map M[K] to M[SpatialKey].
For those reading the source code directly,
K: λ[α => Component[M[α], Bounds[α]]
is further syntax sugar on top of the usual
K: ...
pattern. It expands into the following Scala implicit evidences:
ev0: Component[M[K], Bounds[K]]
K: ... }}} It expands into the following Scala implicit evidences:
ev0: Component[M[K], Bounds[K]]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()