Interface IRasterLayer
Represents a matrix based layer to classify raster-based input formats.
Inherited Members
System.IDisposable.Dispose()
Namespace: Mars.Interfaces.Layers
Assembly: Mars.Interfaces.dll
Syntax
public interface IRasterLayer : IDataLayer, IRaster<double>, IEnvelopDataLayer, IDataSet, IDisposable, IChangingLayer, ILayer, IModelObject
Properties
| Improve this Doc View SourceItem[Position]
Gets or sets the value on the current band, given a Position.
Declaration
[IgnoreMember]
double this[Position pos] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Position | pos | The position of a cell to get or set the data value. |
Property Value
Type | Description |
---|---|
System.Double |
Item[Double, Double]
Gets or sets the value on the current band, given a x and y index.
Declaration
double this[double x, double y] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | The x (longitude) coordinate of the cell |
System.Double | y | The y (latitude) coordinate of the cell |
Property Value
Type | Description |
---|---|
System.Double |
LowerLeft
The lower left corner as a geospatial Position.
Declaration
Position LowerLeft { get; }
Property Value
Type | Description |
---|---|
Position |
UpperRight
The upper right corner as a geospatial Position.
Declaration
Position UpperRight { get; }
Property Value
Type | Description |
---|---|
Position |
Methods
| Improve this Doc View SourceSerializeValueCells()
This method serializes all cells which are not equal to NoDataValue
Declaration
IEnumerable<string> SerializeValueCells()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | Creates an iterator returning cells in form of "[x_grid_coordinate,y_grid_coordinate,cell_value_double]" e.g., "[10,20,3.141]" for the raster coordinate (10,20) and the value 3.141. |