geotrellis.feature.op.geometry

KernelDensity

case class KernelDensity[D](points: Op[Seq[Point[D]]], transform: Op[(D) ⇒ Int], kernel: Op[Kernel], rasterExtent: Op[RasterExtent]) extends Op4[Seq[Point[D]], (D) ⇒ Int, Kernel, RasterExtent, Raster] with Product with Serializable

Computes a Density raster based on the Kernel and set of points provided.

points

Sequence of point features who's values will be used to compute the density.

transform

Function that transforms the point feature's data into an Int value.

kernel

Kernel to be used in the computation.

rasterExtent

Raster extent of the resulting raster.

Note

KernelDensity does not currently support Double raster data. If you use a Raster with a Double RasterType (TypeFloat,TypeDouble) the data values will be rounded to integers.

Linear Supertypes
Op4[Seq[Point[D]], (D) ⇒ Int, Kernel, RasterExtent, Raster], Operation[Raster], Serializable, Serializable, Product, scala.Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. KernelDensity
  2. Op4
  3. Operation
  4. Serializable
  5. Serializable
  6. Product
  7. Equals
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KernelDensity(points: Op[Seq[Point[D]]], transform: Op[(D) ⇒ Int], kernel: Op[Kernel], rasterExtent: Op[RasterExtent])

    points

    Sequence of point features who's values will be used to compute the density.

    transform

    Function that transforms the point feature's data into an Int value.

    kernel

    Kernel to be used in the computation.

    rasterExtent

    Raster extent of the resulting raster.

Type Members

  1. type Args = List[Any]

    Definition Classes
    Operation
  2. type Steps = PartialFunction[Any, StepOutput[Raster]]

    Definition Classes
    Operation

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def _run(): StepOutput[Raster]

    Definition Classes
    Op4Operation
  7. def andThen[U](f: (Raster) ⇒ Op[U]): Operation[U]

    Definition Classes
    Operation
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def canEqual(other: Any): Boolean

    Definition Classes
    Op4 → Equals
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val debug: Boolean

    Definition Classes
    Operation
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def filter(f: (Raster) ⇒ Boolean): Operation[Raster]

    Definition Classes
    Operation
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def flatMap[U](f: (Raster) ⇒ Operation[U]): Operation[U]

    Create a new operation with a function that takes the result of this operation and returns a new operation.

    Create a new operation with a function that takes the result of this operation and returns a new operation.

    Definition Classes
    Operation
  16. def flatten[B](implicit f: (Raster) ⇒ Op[B]): Operation[B]

    Definition Classes
    Operation
  17. def foreach[U](f: (Raster) ⇒ U): Unit

    Create an operation that applies the function f to the result of this operation, but returns nothing.

    Create an operation that applies the function f to the result of this operation, but returns nothing.

    Definition Classes
    Operation
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def into[U](f: (Operation[Raster]) ⇒ U): U

    Call the given function with this operation as its argument.

    Call the given function with this operation as its argument.

    This is primarily useful for code readability.

    Definition Classes
    Operation
    See also

    http://debasishg.blogspot.com/2009/09/thrush-combinator-in-scala.html

  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. val kernel: Op[Kernel]

    Kernel to be used in the computation.

  22. def map[U](f: (Raster) ⇒ U): Operation[U]

    Create a new operation that returns the result of the provided function that takes this operation's result as its argument.

    Create a new operation that returns the result of the provided function that takes this operation's result as its argument.

    Definition Classes
    Operation
  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. val nextSteps: Steps

    Definition Classes
    Op4Operation
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def opId: String

    Definition Classes
    Operation
  28. val points: Op[Seq[Point[D]]]

    Sequence of point features who's values will be used to compute the density.

  29. def prettyString: String

    Definition Classes
    Operation
  30. def processNextSteps(args: Args): StepOutput[Raster]

    Definition Classes
    Operation
  31. def productArity: Int

    Definition Classes
    Op4 → Product
  32. def productElement(n: Int): Any

    Definition Classes
    Op4 → Product
  33. val rasterExtent: Op[RasterExtent]

    Raster extent of the resulting raster.

  34. def run(): StepOutput[Raster]

    Execute this operation and return the result.

    Execute this operation and return the result.

    Definition Classes
    Operation
  35. def runAsync(args: Args): StepOutput[Raster]

    Definition Classes
    Operation
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. val transform: Op[(D) ⇒ Int]

    Function that transforms the point feature's data into an Int value.

  38. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def withFilter(f: (Raster) ⇒ Boolean): Operation[Raster]

    Definition Classes
    Operation
  42. def withName(n: String): Operation[Raster]

    Definition Classes
    Operation
  43. def withResult[U](f: (Raster) ⇒ Operation[U]): Operation[U]

    Create a new operation with a function that takes the result of this operation and returns a new operation.

    Create a new operation with a function that takes the result of this operation and returns a new operation.

    Same as flatMap.

    Definition Classes
    Operation

Inherited from Op4[Seq[Point[D]], (D) ⇒ Int, Kernel, RasterExtent, Raster]

Inherited from Operation[Raster]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from scala.Equals

Inherited from AnyRef

Inherited from Any

Ungrouped