Struct GeoPosition
A latitude/longitude position in the WGS-84 (EPSG:4326) coordinate reference system used throughout the S-100 framework.
public readonly record struct GeoPosition : IEquatable<GeoPosition>
- Implements
- Inherited Members
Remarks
Coordinates are expressed in decimal degrees. Per S-100 Part 10b §6.2,
GML coordinate ordering for EPSG:4326 is (lat, lon) — readers
must place latitude first when parsing gml:pos / gml:posList.
Constructors
GeoPosition(double, double)
A latitude/longitude position in the WGS-84 (EPSG:4326) coordinate reference system used throughout the S-100 framework.
public GeoPosition(double Latitude, double Longitude)
Parameters
LatitudedoubleLatitude in decimal degrees, positive north.
LongitudedoubleLongitude in decimal degrees, positive east.
Remarks
Coordinates are expressed in decimal degrees. Per S-100 Part 10b §6.2,
GML coordinate ordering for EPSG:4326 is (lat, lon) — readers
must place latitude first when parsing gml:pos / gml:posList.
Properties
Latitude
Latitude in decimal degrees, positive north.
public double Latitude { get; init; }
Property Value
Longitude
Longitude in decimal degrees, positive east.
public double Longitude { get; init; }