Packages

case class Feature[+G <: vector.Geometry, +D](geom: G, data: D) extends Product with Serializable

A case class which represents a geometry with some metadata

G

A subtype of Geometry

D

The type of any provided metadata

geom

An instance of G

data

An instance of D

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Feature
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Feature(geom: G, data: D)

    geom

    An instance of G

    data

    An instance of D

Value Members

  1. val data: D
  2. val geom: G
  3. def mapData[T](f: (D) ⇒ T): Feature[G, T]

    Method for manipulating this class' data

    Method for manipulating this class' data

    T

    The type of the data expected

    f

    A function from D to T

  4. def mapGeom[T <: Geometry](f: (G) ⇒ T): Feature[T, D]

    Method for manipulating this class' geom

    Method for manipulating this class' geom

    T

    A subtype of Geometry

    f

    A function from G to T