Class GeoPoint
Handling of a geographical point
Implements
Inherited Members
Namespace: FpAssistantCore.Geographical
Assembly: FpAssistantCoreScl.dll
Syntax
public class GeoPoint : GeoMapElement, IGeoMapElement
Constructors
View SourceGeoPoint(GeoCoordinate)
Constructor to initalise the GeoPoint with a coordinate
Declaration
public GeoPoint(GeoCoordinate geoCoordinate)
Parameters
Type | Name | Description |
---|---|---|
GeoCoordinate | geoCoordinate | geographical coordinate of the geographical point |
Properties
View SourceCoordinate
GeoCoordinate of the geographical point
Declaration
public GeoCoordinate Coordinate { get; set; }
Property Value
Type | Description |
---|---|
GeoCoordinate | Point of the geographical point |
Methods
View SourceAsGeography()
Creates a geography type POINT()
Declaration
public string AsGeography()
Returns
Type | Description |
---|---|
System.String | String of the geography |
AsGmlPos(GmlDimension)
Creates a value for GML pos element
Declaration
public string AsGmlPos(GmlDimension gmlDimension)
Parameters
Type | Name | Description |
---|---|---|
GmlDimension | gmlDimension | Controls if 2D or 3D is required for GML pos |
Returns
Type | Description |
---|---|
System.String | String of the GML pos element value |