Click or drag to resize

CoordinateParse Method (String, DateTime, EagerLoad)

Parses a string into a Coordinate with a specified date and eager loading settings.

Namespace:  CoordinateSharp
Assembly:  CoordinateSharp (in CoordinateSharp.dll) Version: 2.12.1.1
Syntax
C#
public static Coordinate Parse(
	string value,
	DateTime geoDate,
	EagerLoad eagerLoad
)

Parameters

value
Type: SystemString
Coordinate string
geoDate
Type: SystemDateTime
GeoDate
eagerLoad
Type: CoordinateSharpEagerLoad
Eager loading options

Return Value

Type: Coordinate
Coordinate
Examples
The following example parses a decimal degree formatted geodetic coordinate string with a provided GeoDate. Eager loading is set to load celestial calculations only.
EagerLoad el = new EagerLoad(EagerLoadType.Celestial);
Coordinate c = Coordinate.Parse("N 32.891º W 64.872º", new DateTime(2018,7,7), el);
See Also