CoordinateParse(String, CartesianType, EagerLoad) Method
Parses a string into a Coordinate with a specified Cartesian system type and eager loading settings.
Namespace: CoordinateSharpAssembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
public static Coordinate Parse(
string value,
CartesianType cartesianType,
EagerLoad eagerLoad
)
- value String
- Coordinate string
- cartesianType CartesianType
- Cartesian Type
- eagerLoad EagerLoad
- Eager loading options
CoordinateCoordinate
The following example parses an ECEF formatted coordinate string.
Because this is an ECEF Cartesian type coordinate, we will specify the Cartesian system type.
Eager loading options have been specified for efficiency.
EagerLoad el = new EagerLoad(EagerLoadType.Cartesian);
Coordinate c = Coordinate.Parse("5242.097 km, 2444.43 km, 2679.074 km", CartesianType.Cartesian, el);