Class/Object

geotrellis.raster

ProjectedRasterExtent

Related Docs: object ProjectedRasterExtent | package raster

Permalink

class ProjectedRasterExtent extends RasterExtent

Linear Supertypes
RasterExtent, Product, Equals, Grid, GridExtent, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProjectedRasterExtent
  2. RasterExtent
  3. Product
  4. Equals
  5. Grid
  6. GridExtent
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProjectedRasterExtent(projectedExtent: ProjectedExtent, cellwidth: Double, cellheight: Double, cols: Int, rows: Int)

    Permalink

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. def adjustTo(tileLayout: TileLayout): RasterExtent

    Permalink

    Adjusts a raster extent so that it can encompass the tile layout.

    Adjusts a raster extent so that it can encompass the tile layout. Will resample the extent, but keep the resolution, and preserve north and west borders

    Definition Classes
    RasterExtent
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def cellSize: CellSize

    Permalink
    Definition Classes
    GridExtent
  7. val cellheight: Double

    Permalink
    Definition Classes
    ProjectedRasterExtentRasterExtentGridExtent
  8. val cellwidth: Double

    Permalink
    Definition Classes
    ProjectedRasterExtentRasterExtentGridExtent
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val cols: Int

    Permalink
    Definition Classes
    RasterExtentGrid
  11. def combine(that: RasterExtent): RasterExtent

    Permalink

    Combine two different RasterExtents (which must have the same cellsizes).

    Combine two different RasterExtents (which must have the same cellsizes). The result is a new extent at the same resolution.

    Definition Classes
    RasterExtent
  12. 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
    GridExtent
  13. 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
    GridExtent
  14. val crs: CRS

    Permalink
  15. def dimensions: (Int, Int)

    Permalink
    Definition Classes
    Grid
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(o: Any): Boolean

    Permalink
    Definition Classes
    GridExtent → AnyRef → Any
  18. val extent: Extent

    Permalink
    Definition Classes
    RasterExtentGridExtent
  19. 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
    GridExtent
  20. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. def gridBounds: GridBounds

    Permalink
    Definition Classes
    Grid
  23. def gridBoundsFor(subExtent: Extent, clamp: Boolean = true): GridBounds

    Permalink

    Gets the GridBounds aligned with this RasterExtent that is the smallest subgrid of containing all points within the extent.

    Gets the GridBounds aligned with this RasterExtent that is the smallest subgrid of containing all points within the extent. The extent is considered inclusive on it's north and west borders, exclusive on it's east and south borders. See RasterExtent for a discussion of grid and extent boundary concepts.

    The 'clamp' flag determines whether or not to clamp the GridBounds to the RasterExtent; defaults to true. If false, GridBounds can contain negative values, or values outside of this RasterExtent's boundaries.

    subExtent

    The extent to get the grid bounds for

    clamp

    A boolean

    Definition Classes
    RasterExtent
  24. final def gridColToMap(col: Int): Double

    Permalink

    For a give column, find the corresponding x-coordinate in the grid of the present RasterExtent.

    For a give column, find the corresponding x-coordinate in the grid of the present RasterExtent.

    Definition Classes
    RasterExtent
  25. final def gridRowToMap(row: Int): Double

    Permalink

    For a give row, find the corresponding y-coordinate in the grid of the present RasterExtent.

    For a give row, find the corresponding y-coordinate in the grid of the present RasterExtent.

    Definition Classes
    RasterExtent
  26. final def gridToMap(col: Int, row: Int): (Double, Double)

    Permalink

    The map coordinate of a grid cell is the center point.

    The map coordinate of a grid cell is the center point.

    Definition Classes
    RasterExtent
  27. def hashCode(): Int

    Permalink
    Definition Classes
    GridExtent → AnyRef → Any
  28. def isGridExtentAlligned(): Boolean

    Permalink

    Tests if the grid is aligned to the extent.

    Tests if the grid is aligned to the extent. This is true when the extent is evenly divided by cellheight and cellwidth.

    Definition Classes
    GridExtent
  29. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  30. final def mapToGrid(p: Point): (Int, Int)

    Permalink

    Convert a point to grid coordinates (col, row).

    Convert a point to grid coordinates (col, row).

    Definition Classes
    RasterExtent
  31. final def mapToGrid(mapCoord: (Double, Double)): (Int, Int)

    Permalink

    Convert map coordinate tuple (x, y) to grid coordinates (col, row).

    Convert map coordinate tuple (x, y) to grid coordinates (col, row).

    Definition Classes
    RasterExtent
  32. final def mapToGrid(x: Double, y: Double): (Int, Int)

    Permalink

    Convert map coordinates (x, y) to grid coordinates (col, row).

    Convert map coordinates (x, y) to grid coordinates (col, row).

    Definition Classes
    RasterExtent
  33. final def mapXToGrid(x: Double): Int

    Permalink

    Convert map coordinate x to grid coordinate column.

    Convert map coordinate x to grid coordinate column.

    Definition Classes
    RasterExtent
  34. final def mapXToGridDouble(x: Double): Double

    Permalink

    Convert map coordinate x to grid coordinate column.

    Convert map coordinate x to grid coordinate column.

    Definition Classes
    RasterExtent
  35. final def mapYToGrid(y: Double): Int

    Permalink

    Convert map coordinate y to grid coordinate row.

    Convert map coordinate y to grid coordinate row.

    Definition Classes
    RasterExtent
  36. final def mapYToGridDouble(y: Double): Double

    Permalink

    Convert map coordinate y to grid coordinate row.

    Convert map coordinate y to grid coordinate row.

    Definition Classes
    RasterExtent
  37. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  40. val projectedExtent: ProjectedExtent

    Permalink
  41. def rasterExtentFor(gridBounds: GridBounds): RasterExtent

    Permalink

    Returns a new RasterExtent which represents the GridBounds in relation to this RasterExtent.

    Returns a new RasterExtent which represents the GridBounds in relation to this RasterExtent.

    Definition Classes
    RasterExtent
  42. val rows: Int

    Permalink
    Definition Classes
    RasterExtentGrid
  43. def size: Int

    Permalink

    The size of the grid, e.g.

    The size of the grid, e.g. cols * rows.

    Definition Classes
    Grid
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  45. def toRasterExtent(): RasterExtent

    Permalink

    Creates a RasterExtent out of this GridExtent.

    Creates a RasterExtent out of this GridExtent.

    Definition Classes
    GridExtent
    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.

  46. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. def withDimensions(targetCols: Int, targetRows: Int): RasterExtent

    Permalink

    Returns a RasterExtent with the same extent and the given number of columns and rows.

    Returns a RasterExtent with the same extent and the given number of columns and rows.

    Definition Classes
    RasterExtent
  51. def withResolution(cellSize: CellSize): RasterExtent

    Permalink

    Returns a RasterExtent with the same extent, but a modified number of columns and rows based on the given cell height and width.

    Returns a RasterExtent with the same extent, but a modified number of columns and rows based on the given cell height and width.

    Definition Classes
    RasterExtent
  52. def withResolution(targetCellWidth: Double, targetCellHeight: Double): RasterExtent

    Permalink

    Returns a RasterExtent with the same extent, but a modified number of columns and rows based on the given cell height and width.

    Returns a RasterExtent with the same extent, but a modified number of columns and rows based on the given cell height and width.

    Definition Classes
    RasterExtent

Inherited from RasterExtent

Inherited from Product

Inherited from Equals

Inherited from Grid

Inherited from GridExtent

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped