Class GeometryDataProvider
This class provides a base implementation for all data processing class which handles geometries.
Inheritance
System.Object
GeometryDataProvider
Assembly: Mars.Common.dll
Syntax
public abstract class GeometryDataProvider : object
Constructors
GeometryDataProvider()
Declaration
protected GeometryDataProvider()
Fields
GeometryFactory
Declaration
protected readonly GeometryFactory GeometryFactory
Field Value
Type |
Description |
GeometryFactory |
|
GeometryFieldName
Declaration
protected const string GeometryFieldName = null
Field Value
Type |
Description |
System.String |
|
WktFieldName
Declaration
protected const string WktFieldName = null
Field Value
Type |
Description |
System.String |
|
WktReader
Declaration
protected readonly WKTReader WktReader
Field Value
Type |
Description |
WKTReader |
|
XCoordinateFieldName
Declaration
protected const string XCoordinateFieldName = null
Field Value
Type |
Description |
System.String |
|
YCoordinateFieldName
Declaration
protected const string YCoordinateFieldName = null
Field Value
Type |
Description |
System.String |
|
Methods
GetGeometry(String, Nullable<Int32>, Nullable<Int32>, IReadOnlyList<String>)
Declaration
protected Geometry GetGeometry(string source, int? xCoordOrGeometryIndex, int? yPointIndex, IReadOnlyList<string> row)
Parameters
Type |
Name |
Description |
System.String |
source |
|
System.Nullable<System.Int32> |
xCoordOrGeometryIndex |
|
System.Nullable<System.Int32> |
yPointIndex |
|
IReadOnlyList<System.String> |
row |
|
Returns
Type |
Description |
Geometry |
|
Declaration
protected static int? GetGeometryIndex(InputConfiguration config, IEnumerable<string> headers, out int? yIndex)
Parameters
Type |
Name |
Description |
InputConfiguration |
config |
|
IEnumerable<System.String> |
headers |
|
System.Nullable<System.Int32> |
yIndex |
|
Returns
Type |
Description |
System.Nullable<System.Int32> |
|
Extension Methods