TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

enum LatLonFormat in Tinman.Terrain.Georef

Defines flags for formatting LatLon values.

[Flags]
enum LatLonFormat  

Items

AccuracyMask = 0x03

Bitmask for format flags related to accuracy.

AccuracyDegrees = 0

Formatting will have accuracy up to degrees.

Remarks:

Example: 12°N 123°E

AccuracyMinutes = 0x01

Formatting will have accuracy up to minutes.

Remarks:

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

AccuracySeconds = 0x02

Formatting will have accuracy up to seconds.

Remarks:

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

AccuracyMillis = 0x03

Formatting will have accuracy up to milliseconds.

Remarks:

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

OptionMask = 0x0C

Bitmask for format flags related to other options.

OptionOmitIfZero = 0x04

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

OptionLeadingChar = 0x08

Put the NSWE character at the beginning?

Default = 0x07

The default format options.