Class/Object

geotrellis.spark.tiling

LayoutDefinition

Related Docs: object LayoutDefinition | package tiling

Permalink

case class LayoutDefinition(extent: Extent, tileLayout: TileLayout) extends Product with GridDefinition with Serializable

Defines tiled raster layout

extent

extent covered by the layout tiles, could be greater than extent of data in the layer

tileLayout

tile layout (tile cols, tile rows, tile pixel size)

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

Instance Constructors

  1. new LayoutDefinition(extent: Extent, tileLayout: TileLayout)

    Permalink

    extent

    extent covered by the layout tiles, could be greater than extent of data in the layer

    tileLayout

    tile layout (tile cols, tile rows, tile pixel size)

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 cellSize: CellSize

    Permalink
    Definition Classes
    GridDefinition
  6. val cellheight: Double

    Permalink
    Definition Classes
    LayoutDefinitionGridDefinition
  7. val cellwidth: Double

    Permalink
    Definition Classes
    LayoutDefinitionGridDefinition
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def createAlignedGridExtent(targetExtent: Extent): GridExtent

    Permalink

    Returns a GridExtent that lines up with this grid' resolution and grid layout.

    Returns a GridExtent that lines up with this grid' resolution and grid layout.

    For example, the resulting GridExtent will not have the given extent, but will have the smallest extent such that the whole of the given extent is covered, that lines up with the grid.

    Definition Classes
    GridDefinition
  10. def createAlignedRasterExtent(targetExtent: Extent): RasterExtent

    Permalink

    Returns a RasterExtent that lines up with this RasterExtent's resolution, and grid layout.

    Returns a RasterExtent that lines up with this RasterExtent's resolution, and grid layout.

    For example, the resulting RasterExtent will not have the given extent, but will have the smallest extent such that the whole of the given extent is covered, that lines up with the grid.

    Definition Classes
    GridDefinition
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. val extent: Extent

    Permalink

    extent covered by the layout tiles, could be greater than extent of data in the layer

    extent covered by the layout tiles, could be greater than extent of data in the layer

    Definition Classes
    LayoutDefinitionGridDefinition
  13. def extentFor(gridBounds: GridBounds, clamp: Boolean = true): Extent

    Permalink

    Gets the Extent that matches the grid bounds passed in, aligned with this RasterExtent.

    Gets the Extent that matches the grid bounds passed in, aligned with this RasterExtent.

    The 'clamp' parameter determines whether or not to clamp the Extent to the extent of this RasterExtent; defaults to true. If true, the returned extent will be contained by this RasterExtent's extent, if false, the Extent returned can be outside of this RasterExtent's extent.

    gridBounds

    The extent to get the grid bounds for

    clamp

    A boolean which controlls the clamping behvior

    Definition Classes
    GridDefinition
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Any
  17. def layoutCols: Int

    Permalink
  18. def layoutRows: Int

    Permalink
  19. lazy val mapTransform: MapKeyTransform

    Permalink
  20. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  24. def tileCols: Int

    Permalink
  25. val tileLayout: TileLayout

    Permalink

    tile layout (tile cols, tile rows, tile pixel size)

  26. def tileRows: Int

    Permalink
  27. def toGridExtent: GridExtent

    Permalink
    Definition Classes
    GridDefinition
  28. def toRasterExtent(): RasterExtent

    Permalink

    Creates a RasterExtent out of this GridExtent.

    Creates a RasterExtent out of this GridExtent.

    Definition Classes
    GridDefinition
    Note

    Use with caution: if the number of columns or rows are larger than Int.MaxValue, this will throw an exception. Also, if columns * rows > Int.MaxValue, this will create a RasterExtent for a raster that could not be backed by any of the Array-backed tile types.

  29. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from GridDefinition

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped