LatLonFormat
Description
Defines flags for formatting LatLon values.
Public / Constants
AccuracyMask
Bitmask for format flags related to accuracy.
Using 32-bit floating-point values with full precision (see FormatFlags.Precision9) results in an accuracy of approximately 1.5 cm. For the reduced precision (see FormatFlags.Precision7), the accuracy drops to roughly 8.6 cm.
AccuracyDegrees
Formatting will have accuracy up to degrees.
With this precision setting, LatLon values on Earth will produce geocentric coordinates (see GeodeticDatum.WGS84) with an accuracy of approximately 78.29 km.
Example: 12°N 123°E
- See also
AccuracyMinutes
Formatting will have accuracy up to minutes.
With this precision setting, LatLon values on Earth will produce geocentric coordinates (see GeodeticDatum.WGS84) with an accuracy of approximately 1.304 km.
Example: 12°34’N 123°45’E
- See also
AccuracySeconds
Formatting will have accuracy up to seconds.
With this precision setting, LatLon values on Earth will produce geocentric coordinates (see GeodeticDatum.WGS84) with an accuracy of approximately 21.76 m.
Example: 12°34'56"N 123°45'57"E
- See also
AccuracyMillis
Formatting will have accuracy up to milliseconds.
With this precision setting, LatLon values on Earth will produce geocentric coordinates (see GeodeticDatum.WGS84) with an accuracy of approximately 2.2 cm.
Example: 12°34'56.789"N 123°45'57.891"E
- See also