Table of Contents

Class GridDefinition

Namespace
ThinkGeo.Core
Assembly
ThinkGeo.Core.dll
public class GridDefinition
Inheritance
GridDefinition
Inherited Members

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>

Properties

CellSize

public double CellSize { get; set; }

Property Value

double

DataPoints

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

Property Value

Dictionary<PointShape, double>

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

NoDataValue

public double NoDataValue { get; set; }

Property Value

double