The ArrayMultibandTile type.
ArrayTile provides access and update to the grid data of a tile.
ArrayTile provides access and update to the grid data of a tile. Designed to be a near drop-in replacement for Array in many cases.
ArrayTile based on an Array[Byte] as a bitmask; values are 0 and 1.
ArrayTile based on an Array[Byte] as a bitmask; values are 0 and 1. Thus, there are 8 boolean (0 / 1) values per byte in the array. For example, Array(11, 9) corresponds to (0 0 0 0 1 0 1 1), (0 0 0 0 1 0 0 1) which means that we have 5 cells set to 1 and 11 cells set to 0.
Note that unlike the other array-based raster data objects we need to be explicitly told our size, since length=7 and length=8 will both need to allocate an Array[Byte] with length=1.
The BitConstantTile type.
ArrayTile based on Array[Byte] (each cell as a Byte).
A ByteConstantNoDataArrayTile, created from the given array, with the given number of columns and rows.
A ByteConstantNoDataArrayTile, created from the given array, with the given number of columns and rows.
The array of bytes from which to initialize the tile
The number of columns
The number of rows
The ByteConstantTile type.
A ByteRawArrayTile, created from the given array, with the given number of columns and rows.
A ByteRawArrayTile, created from the given array, with the given number of columns and rows.
The array of bytes from which to initialize the tile
The number of columns
The number of rows
A ByteUserDefinedNoDataArrayTile, created from the given array, with the given number of columns and rows.
A ByteUserDefinedNoDataArrayTile, created from the given array, with the given number of columns and rows.
The array of bytes from which to initialize the tile
The number of columns
The number of rows
The cellType whose NODATA value is to be used
Type class to convert a raster into features of cell geometries
A grid composed of cells with specific value types
A lighweight wrapper around performing foreach calculations on a set of cell coordinates
A case class containing the width and height of a cell.
A case class containing the width and height of a cell.
The width of a cell
The height of a cell
The CompositeTile type.
An encoding of the connectivity of vector tiles.
The ConstantNoData type, derived from NoDataHandling.
The trait underlying constant tile types.
The CroppedTile type.
The DataType type.
[DelayedConversionTile]] represents a tile that wraps an inner tile, and for any operation that returns a Tile, returns an ArrayTile with a cell type of the target cell type.
[DelayedConversionTile]] represents a tile that wraps an inner tile, and for any operation that returns a Tile, returns an ArrayTile with a cell type of the target cell type.
[DelayedConversionTile]] represents a tile that wraps an inner tile, and for any operation that returns a Tile, returns an ArrayTile with a cell type of the target cell type.
get and getDouble don't do what you think you do.
A tile that wraps another tile.
A tile that wraps another tile. Originally intended for delayed reading, but useful in other special use cases.
8/22/18
ArrayTile based on Array[Double] (each cell as a Double).
The DoubleCells type, derived from DataType
The DoubleConstantNoDataArrayTile, derived from DoubleArrayTile.
The DoubleConstantTile type.
The DoubleRawArrayTile, derived from DoubleArrayTile.
The DoubleUserDefinedNoDataArrayTile, derived from DoubleArrayTile.
Base trait for encoding CellTypes with fixed or no NoData values.
ArrayTile based on Array[Float] (each cell as a Float).
The FloatConstantNoDataArrayTile derived from FloatArrayTile.
The FloatConstantTile type.
The FloatRawArrayTile derived from FloatArrayTile.
The FloatUserDefinedNoDataArrayTile derived from FloatArrayTile.
GeoAttrsError exception.
Represents grid coordinates of a subsection of a RasterExtent.
Represents grid coordinates of a subsection of a RasterExtent. These coordinates are inclusive.
Represents an abstract grid over geographic extent.
Represents an abstract grid over geographic extent. Critically while the number of cell rows and columns is implied by the constructor arguments, they are intentionally not expressed to avoid Int overflow for large grids.
The constructor will throw java.lang.IllegalArgumentException if the provided extent and cell size do not match the provided cols and rows (dimensions).
Base trait for all cell type having a NoData
value
ArrayTile based on Array[Int] (each cell as an Int).
The IntConstantNoDataArrayTile derived from IntArrayTile.
The IntConstantTile type.
The IntRawArrayTile derived from IntArrayTile.
The IntUserDefinedNoDataArrayTile derived from IntArrayTile.
Trait to supply foreach(|Double) methods.
The MappableTile trait.
Single threaded instance of a reader for reading windows out of collections of rasters
MutableArrayTile is an ArrayTile whose cells can be written to (mutated).
Base trait for all cell types associated with handling NoData
values or not.
Base trait for all "raw" cell types, not having a NoData
value.
This Tile type allows for an ArrayTile that contains pixel values as a pixel interleaved set (meaning each column has one value for each band in a row) to be viewed as a Tile for a specific band.
The base class for the two concrete PixelSampleTypes.
The ProjectedRaster type.
Conformance interface for entities that are tile-like with a projected extent.
The Raster type.
RasterExtent objects represent the geographic extent (envelope) of a raster.
RasterExtent objects represent the geographic extent (envelope) of a raster.
The Raster extent has two coordinate concepts involved: map coordinates and grid coordinates. Map coordinates are what the Extent class uses, and specifies points using an X coordinate and a Y coordinate. The X coordinate is oriented along west to east such that the larger the X coordinate, the more eastern the point. The Y coordinate is along south to north such that the larger the Y coordinate, the more Northern the point.
This contrasts with the grid coordinate system. The grid coordinate system does not actually reference points on the map, but instead a cell of the raster that represents values for some square area of the map. The column axis is similar in that the number gets larger as one goes from west to east; however, the row axis is inverted from map coordinates: as the row number increases, the cell is heading south. The top row is labeled as 0, and the next 1, so that the highest indexed row is the southern most row of the raster. A cell has a height and a width that is in terms of map units. You can think of it as each cell is itself an extent, with width cellwidth and height cellheight. When a cell needs to be represented or thought of as a point, the center of the cell will be used. So when gridToMap is called, what is returned is the center point, in map coordinates.
Map points are considered to be 'inside' the cell based on these rules:
Note that based on these rules, the eastern and southern borders of an Extent are not actually considered to be part of the RasterExtent.
Reference to a pixel region in a RasterSource that may be read at a later time.
Single threaded instance of a reader that is able to read windows from larger raster.
Single threaded instance of a reader that is able to read windows from larger raster. Some initilization step is expected to provide metadata about source raster
A strategy to use when constructing a grid that will be used during resampling
A strategy to use when constructing a grid that will be used during resampling
Various tradeoffs exist when attempting to resize an image. Subclasses of ResampleTarget encode these various tradeoffs in terms of the proportions/alignment desired at the end of resampling. E.g. TargetCellSize tells any resampling function to resample in such a way as to approximately match the specified CellSize in any resulting operations.
This trait is how subclasses define the necessary pieces that allow us to abstract over each of the combine functions
ArrayTile based on Array[Short] (each cell as a Short).
The ShortCells type, derived from DataType
ShortConstantNoDataArrayTile derived from ShortArrayTile.
The ShortConstantTile type.
ShortRawArrayTile derived from ShortArrayTile.
ShortUserDefinedNoDataArrayTile derived from ShortArrayTile.
Represents the path to data or name of the data that is to be read.
Represents the path to data that is to be read.
On-demand cell type encoding for specific user defined no data values.
Snap to a target grid - useful prior to comparison between rasters as a means of ensuring clear correspondence between underlying cell values
Resample, aiming for a grid which has the provided CellSize
Resample, aiming for a grid which has the provided CellSize
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.
Resample, aiming for a specific number of cell columns/rows
Resample, sampling values into a user-supplied GridExtent
Base trait for a Tile.
The TileExtents type.
The TileFeature Type.
The TileFeature Type. This is used for packaging a CellGrid (a Tile or MultibandTile) together with some metadata.
The CellGrid-derived tile
The additional metadata
number of columns in the layout, East to West
number of rows in the layout grid, North to South
number of pixel columns in each tile, East to West
number of pixel rows in each tile, North to South
ArrayTile based on Array[Byte] (each cell as a Byte).
The UByteCells type, derived from DataType
UByteConstantNoDataArrayTile derived from UByteArrayTile.
The UByteConstantTile type.
UByteRawArrayTile derived from UByteArrayTile.
UByteUserDefinedNoDataArrayTile derived from UByteArrayTile.
ArrayTile based on Array[Short] (each cell as a Short).
The UShortCells type, derived from DataType
UShortConstantNoDataArrayTile derived from UShortArrayTile.
The UShortConstantTile type.
UShortRawArrayTile derived from UShortArrayTile.
UShortUserDefinedNoDataArrayTile derived from UShortArrayTile.
The UserDefinedNoData type, derived from NoDataHandling.
Base trait for encoding CellTypes with user defined NoData values.
NoData stored as a Double
NoData value stored as an Int.
Container for NoData value using wider word size than declared to handled unsigned number rollover.
The companion object for the ArrayMultibandTile type.
An object housing apply methods which produce ArrayTiles.
The companion object for the BitArrayTile type.
The BitCellType type, derived from BitCells and NoNoData.
The companion object for the BitConstantTile type.
The companion object for the ByteArrayTile type.
The companion object for the CellSize type.
Enumeration of tokens used to represent the different types of cell encodings and their associated no-data values in GeoTrellis.
Enumeration of tokens used to represent the different types of cell encodings and their associated no-data values in GeoTrellis. Used primarily for serialization to/from String, and pattern-matching operations.
The companion object for the CompositeTile type.
The companion object for the CroppedTile type.
The default resample target is used during reprojection.
The default resample target is used during reprojection. A heuristic will be used to determine the best target proportions
If used as target of resample operation it acts as identity operation.
The companion object for the DoubleArrayTile type.
Eight-way connectivity.
The companion object for the FloatArrayTile type.
Four-way connectivity.
The companion object for the GridBounds type.
The companion object for the IntArray type.
Type encoding the fact that pixels should be treated as suitably-tiny extents.
Type encoding the fact that pixels should be treated as points.
The companion object for the ProjectedRaster type.
The companion object for the Raster type.
The companion object for the RasterExtent type.
An object housing apply methods which produce RawArrayTiles.
The companion object associated with the ShortArrayTile type.
The companion object associated with the TileLayout type.
The companion object for the UByteArrayTile type.
The companion object associated with the UShortArrayTile type.