Position Class
Comprises the geo-coordinates of a station.
Constructor
Position
()
Item Index
Methods
- angle_to_dir static
- clone
- dir_to_angle static
- getUTMZone static
Methods
angle_to_dir
(
String
static
-
angle
Convert angle to direction
Parameters:
-
angle
Number[0; 360]
Returns:
String:
intercardinal or cardinal direction
dir_to_angle
(
Number
static
-
intercardinal
Convert direction to angle
Parameters:
-
intercardinal
Stringor cardinal direction
Returns:
Number:
Angle [0; 360]
getUTMZone
(
String
static
-
i_latitude
-
i_longitude
This routine determines the correct UTM letter designator for the given latitudeā UTM limits its coverage to [80S , 84N], outside of this, returns Y/Z/A/B for the zone Copied from MeteoIO: dataClasses/CoordsAlgorithms.cc
Returns:
String:
concat zone number + zone letter