Table of Contents

Class GeoPoint

Namespace
EncDotNet.S100.Datasets.Pipelines.Geometry
Assembly
EncDotNet.S100.Datasets.Pipelines.dll

A single geographic point in WGS-84, expressed as decimal degrees.

public sealed record GeoPoint : IEquatable<GeoPoint>
Inheritance
GeoPoint
Implements
Inherited Members

Remarks

Per S-100 Part 10b §6.2 the canonical coordinate order in GML gml:pos for EPSG:4326 is lat lon. This type matches that convention. Tool requests that accept a GeoPoint validate both components on the way in.

Constructors

GeoPoint(double, double)

A single geographic point in WGS-84, expressed as decimal degrees.

public GeoPoint(double Latitude, double Longitude)

Parameters

Latitude double

Latitude in degrees; valid range [-90, 90].

Longitude double

Longitude in degrees; valid range [-180, 180].

Remarks

Per S-100 Part 10b §6.2 the canonical coordinate order in GML gml:pos for EPSG:4326 is lat lon. This type matches that convention. Tool requests that accept a GeoPoint validate both components on the way in.

Properties

Latitude

Latitude in degrees; valid range [-90, 90].

public double Latitude { get; init; }

Property Value

double

Longitude

Longitude in degrees; valid range [-180, 180].

public double Longitude { get; init; }

Property Value

double