Class GeometryDataProvider
This class provides a base implementation for all data processing class which handles geometries.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Common.Data.Providers
Assembly: Mars.Common.dll
Syntax
public abstract class GeometryDataProvider
Constructors
| Improve this Doc View SourceGeometryDataProvider()
This class provides a base implementation for all data processing class which handles geometries.
Declaration
protected GeometryDataProvider()
Fields
| Improve this Doc View SourceGeometryFactory
This class provides a base implementation for all data processing class which handles geometries.
Declaration
protected readonly GeometryFactory GeometryFactory
Field Value
Type | Description |
---|---|
NetTopologySuite.Geometries.GeometryFactory |
GeometryFieldName
This class provides a base implementation for all data processing class which handles geometries.
Declaration
protected const string GeometryFieldName = "GEOMETRY"
Field Value
Type | Description |
---|---|
System.String |
WktFieldName
This class provides a base implementation for all data processing class which handles geometries.
Declaration
protected const string WktFieldName = "WKT"
Field Value
Type | Description |
---|---|
System.String |
WktReader
This class provides a base implementation for all data processing class which handles geometries.
Declaration
protected readonly WKTReader WktReader
Field Value
Type | Description |
---|---|
NetTopologySuite.IO.WKTReader |
XCoordinateFieldName
This class provides a base implementation for all data processing class which handles geometries.
Declaration
protected const string XCoordinateFieldName = "X"
Field Value
Type | Description |
---|---|
System.String |
YCoordinateFieldName
This class provides a base implementation for all data processing class which handles geometries.
Declaration
protected const string YCoordinateFieldName = "Y"
Field Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceGetGeometry(String, Nullable<Int32>, Nullable<Int32>, IReadOnlyList<String>)
This class provides a base implementation for all data processing class which handles geometries.
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 | |
System.Collections.Generic.IReadOnlyList<System.String> | row |
Returns
Type | Description |
---|---|
NetTopologySuite.Geometries.Geometry |
GetGeometryIndex(InputConfiguration, IEnumerable<String>, out Nullable<Int32>)
This class provides a base implementation for all data processing class which handles geometries.
Declaration
protected static int? GetGeometryIndex(InputConfiguration config, IEnumerable<string> headers, out int? yIndex)
Parameters
Type | Name | Description |
---|---|---|
InputConfiguration | config | |
System.Collections.Generic.IEnumerable<System.String> | headers | |
System.Nullable<System.Int32> | yIndex |
Returns
Type | Description |
---|---|
System.Nullable<System.Int32> |