Packages

c

geotrellis.raster

TargetCellSize

case class TargetCellSize(cellSize: CellSize) extends ResampleTarget with Product with Serializable

Resample, aiming for a grid which has the provided CellSize

Note

Targetting a specific size for each cell in the grid has consequences for the Extent because e.g. an extent's width *must* be evenly divisible by the width of the cells within it. Consequently, we have two options: either modify the resolution to accomodate the output extent or modify the overall extent to preserve the desired output resolution. Fine grained constraints on both resolution and extent will currently need to be managed manually.

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

Instance Constructors

  1. new TargetCellSize(cellSize: CellSize)

Value Members

  1. def apply[N](source: ⇒ GridExtent[N])(implicit arg0: Integral[N]): GridExtent[N]

    Provided a gridextent, construct a new GridExtent that satisfies target constraint(s)

    Provided a gridextent, construct a new GridExtent that satisfies target constraint(s)

    source

    a grid extent to be reshaped; call by name as it does not need to be called in all cases

    Definition Classes
    TargetCellSizeResampleTarget
  2. val cellSize: CellSize