LatLonFormat

Description

[Flags]
enum Tinman.Terrain.Georef.LatLonFormat

Defines flags for formatting LatLon values.

Public / Constants

AccuracyMask

public constant AccuracyMask → (3:int32)

Bitmask for format flags related to accuracy.

AccuracyDegrees

public constant AccuracyDegrees → (0:int32)

Formatting will have accuracy up to degrees.

With this precision setting, LatLon values on Earth will produce geocentric coordinates (see Geocentric.WGS84) with an accuracy of approximately 78.29 km.

Example: 12°N 123°E

AccuracyMinutes

public constant AccuracyMinutes → (1:int32)

Formatting will have accuracy up to minutes.

With this precision setting, LatLon values on Earth will produce geocentric coordinates (see Geocentric.WGS84) with an accuracy of approximately 1.304 km.

Example: 12°34’N 123°45’E

AccuracySeconds

public constant AccuracySeconds → (2:int32)

Formatting will have accuracy up to seconds.

With this precision setting, LatLon values on Earth will produce geocentric coordinates (see Geocentric.WGS84) with an accuracy of approximately 21.76 m.

Example: 12°34'56"N 123°45'57"E

AccuracyMillis

public constant AccuracyMillis → (3:int32)

Formatting will have accuracy up to milliseconds.

With this precision setting, LatLon values on Earth will produce geocentric coordinates (see Geocentric.WGS84) with an accuracy of approximately 2.2 cm.

Example: 12°34'56.789"N 123°45'57.891"E

OptionMask

public constant OptionMask → (12:int32)

Bitmask for format flags related to other options.

OptionOmitIfZero

public constant OptionOmitIfZero → (4:int32)

Leave out part for minutes/seconds/milliseconds if zero?

OptionLeadingChar

public constant OptionLeadingChar → (8:int32)

Put the NSWE character at the beginning?

Default

public constant Default → (7:int32)

The default format options.

All

public constant All → (15:int32)

All flags.