Skip to content

GridDefinition

Namespace: ThinkGeo.Core

public class GridDefinition

Inheritance ObjectGridDefinition

Properties

DataPointsFeatureSource

In addition to DataPoints, we can also define point data using DataPointsFeatureSource and DataPointsFeatureSourceColumnName, which typically generate grids with much better performance when spatial indexing is enabled, especially for InverseDistanceWeightedGridInterpolationModel.

public FeatureSource DataPointsFeatureSource { get; set; }

Property Value

FeatureSource

DataPointsFeatureSourceColumnName

In addition to DataPoints, we can also define point data using DataPointsFeatureSource and DataPointsFeatureSourceColumnName, which typically generate grids with much better performance when spatial indexing is enabled, especially for InverseDistanceWeightedGridInterpolationModel.

public string DataPointsFeatureSourceColumnName { get; set; }

Property Value

String

GridExtent

public RectangleShape GridExtent { get; set; }

Property Value

RectangleShape

DataPoints

public Dictionary<PointShape, double> DataPoints { get; }

Property Value

Dictionary<PointShape, Double>

CellSize

public double CellSize { get; set; }

Property Value

Double

NoDataValue

public double NoDataValue { get; set; }

Property Value

Double

Constructors

GridDefinition()

public GridDefinition()

GridDefinition(RectangleShape, Double, Double, Dictionary<PointShape, Double>)

public GridDefinition(RectangleShape gridExtent, double cellSize, double noDataValue, Dictionary<PointShape, double> dataPoints)

Parameters

gridExtent RectangleShape

cellSize Double

noDataValue Double

dataPoints Dictionary<PointShape, Double>