org.locationtech.rasterframes.model
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
Combine two different FixedRasterExtents (which must have the same cellsizes).
Combine two different FixedRasterExtents (which must have the same cellsizes). The result is a new extent at the same resolution.
Gets the GridBounds aligned with this FixedRasterExtent that is the smallest subgrid of containing all points within the extent.
Gets the GridBounds aligned with this FixedRasterExtent 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 FixedRasterExtent for a discussion of grid and extent boundary concepts.
The 'clamp' flag determines whether or not to clamp the GridBounds to the FixedRasterExtent; defaults to true. If false, GridBounds can contain negative values, or values outside of this FixedRasterExtent's boundaries.
The extent to get the grid bounds for
A boolean
For a give column, find the corresponding x-coordinate in the grid of the present FixedRasterExtent.
For a give row, find the corresponding y-coordinate in the grid of the present FixedRasterExtent.
The map coordinate of a grid cell is the center point.
Convert a point to grid coordinates (col, row).
Convert map coordinate tuple (x, y) to grid coordinates (col, row).
Convert map coordinates (x, y) to grid coordinates (col, row).
Convert map coordinate x to grid coordinate column.
Convert map coordinate x to grid coordinate column.
Convert map coordinate y to grid coordinate row.
Convert map coordinate y to grid coordinate row.
Returns a new FixedRasterExtent which represents the GridBounds in relation to this FixedRasterExtent.
Returns a FixedRasterExtent with the same extent and the given number of columns and rows.
Returns a FixedRasterExtent 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.
This class is a copy of the GeoTrellis 2.x
RasterExtent
, with [GT 3.0 fixes](https://github.com/locationtech/geotrellis/pull/2953/files) incorporated into the newGridExtent[T]
class. This class should be removed after RasterFrames is upgraded to GT 3.x.