geotrellis.feature.rasterize

Rasterizer

object Rasterizer

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Rasterizer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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 aggregrateCellsByPoint[D, Z](p: Point[D], r: Raster, start: Z)(f: (Int, D, Z) ⇒ Z): Z

    Calculate value from raster cell under a point feature using provided function.

    Calculate value from raster cell under a point feature using provided function.

    This method follows the general pattern of the feature aggregation methods, even though a point only covers a single raster cell.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def foreachCellByFeature[G[_] <: Geometry[_], D](feature: G[D], re: RasterExtent)(f: Callback[G, D])(implicit arg0: Manifest[D]): Unit

    Perform a zonal summary by invoking a function on each cell under provided features.

    Perform a zonal summary by invoking a function on each cell under provided features.

    This function is a closure that returns Unit; all results are a side effect of this function.

    Note: the function f should modify a mutable variable as a side effect. While not ideal, this avoids the unavoidable boxing that occurs when a Function3 returns a primitive value.

    feature

    Feature for calculation

    re

    RasterExtent to use for iterating through cells

    f

    A function that takes (col:Int, row:Int, rasterValue:Int, feature:Feature)

  13. def foreachCellByLineString[D](p: LineString[D], re: RasterExtent)(f: Callback[LineString, D]): Unit

    lines

  14. def foreachCellByMultiLineString[D](g: MultiLineString[D], re: RasterExtent)(f: Callback[LineString, D]): Unit

    Apply function f to every cell contained within MultiLineString.

    Apply function f to every cell contained within MultiLineString.

    g

    MultiLineString used to define zone

    re

    RasterExtent used to determine cols and rows

    f

    Function to apply: f(cols,row,feature)

  15. def foreachCellByMultiPoint[D](p: MultiPoint[D], re: RasterExtent)(f: Callback[Point, D]): Unit

  16. def foreachCellByMultiPolygon[D](p: MultiPolygon[D], re: RasterExtent)(f: Callback[Polygon, D]): Unit

    Apply function f to every cell contained with MultiPolygon.

    Apply function f to every cell contained with MultiPolygon.

    p

    MultiPolygon used to define zone

    re

    RasterExtent used to determine cols and rows

    f

    Function to apply: f(cols,row,feature)

  17. def foreachCellByPoint[D](p: Point[D], re: RasterExtent)(f: Callback[Point, D]): Unit

    Invoke a function on raster cells under a point feature.

    Invoke a function on raster cells under a point feature.

    The function f is a closure that should alter a mutable variable by side effect (to avoid boxing).

  18. def foreachCellByPointSeq[D](pSet: Seq[Point[D]], re: RasterExtent)(f: Callback[Point, D]): Unit

    Invoke a function on each point in a sequences of Points.

  19. def foreachCellByPolygon[D](p: Polygon[D], re: RasterExtent)(f: Callback[Polygon, D]): Unit

    Apply function f(col,row,feature) to every cell contained within polygon.

    Apply function f(col,row,feature) to every cell contained within polygon.

    p

    Polygon used to define zone

    re

    RasterExtent used to determine cols and rows

    f

    Function to apply: f(cols,row,feature)

  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  24. final def notify(): Unit

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

    Definition Classes
    AnyRef
  26. def rasterize[D](feature: Geometry[D], rasterExtent: RasterExtent)(f: Transformer[Geometry, D, Int])(implicit arg0: Manifest[D]): Raster

    Create a raster from a geometry feature.

    Create a raster from a geometry feature.

    feature

    Feature to rasterize

    rasterExtent

    Definition of raster to create

    f

    Function that takes col, row, feature and returns value to burn

  27. def rasterizeWithValue[D](feature: Geometry[D], rasterExtent: RasterExtent)(f: (D) ⇒ Int)(implicit arg0: Manifest[D]): Raster

    Create a raster from a geometry feature.

    Create a raster from a geometry feature.

    feature

    Feature to rasterize

    rasterExtent

    Definition of raster to create

    f

    Function that returns single value to burn

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped