Class/Object

geotrellis.engine

RasterLayer

Related Docs: object RasterLayer | package engine

Permalink

abstract class RasterLayer extends AnyRef

Represents a Raster Layer that can give detailed information about the Raster it represents, cache the raster, and get the raster cropped to an extent or at a different resolution.

This represents a layer in a bound Context, not an abstract representation of the Raster. In other words, if you are holding one of these objects, then the code that uses it should only execute on the machine that the RasterLayer is from. If you pass around RasterLayers, you will be passing around the cache as well, which is not ideal.

To implement a new RasterLayer, inherit from this class, implement the cache(c: Cache) method for caching the raster layer, and implement the getRaster() (for getting a Raster with it's native RasterExtent) and getRaster(rasterExtent: RasterExtent) (for getting a Raster at a different extent\resolution). Optionally you can override getRaster(extent: Extent), which by default just creates a RasterExtent with that extent snapped to the raster's native resolution.

Annotations
@deprecated
Deprecated

(Since version Geotrellis Version 0.10) geotrellis-engine has been deprecated

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RasterLayer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RasterLayer(info: RasterLayerInfo)

    Permalink

Abstract Value Members

  1. abstract def cache(c: Cache[String]): Unit

    Permalink
    Attributes
    protected
  2. abstract def getRaster(targetExtent: Option[RasterExtent]): Tile

    Permalink
  3. abstract def getTile(tileCol: Int, tileRow: Int, targetExtent: Option[RasterExtent]): Tile

    Permalink

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def cache(): Unit

    Permalink
  6. def clone(): AnyRef

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def getCache: Cache[String]

    Permalink
    Attributes
    protected
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getRaster(extent: Extent): Tile

    Permalink
  13. def getRaster(): Tile

    Permalink
  14. def getTile(tileCol: Int, tileRow: Int): Tile

    Permalink
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. val info: RasterLayerInfo

    Permalink
  17. def isCached: Boolean

    Permalink
  18. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def setCache(c: Option[Cache[String]]): Unit

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

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped