API Docs for: 2.0.0
Show:

GeoLocation Class

Module: ARGON

Encodes a geo location & provides LLA & UTM coordinate representations

Item Index

Properties

Methods

latLongToUTM

() Object

Converts the input lat, lon, alt to UTM

Returns:

Object: Object with easting, northing, zoneNumber, and zoneLetter properties

setGeoPosition

(
  • lat
  • lon
  • alt
)

Sets the GeoPosition, the GeoLocation object automatically converts & stores locations interally as UTM

Parameters:

  • lat Number

    latitude in degrees

  • lon Number

    longitude in degrees

  • alt Number

    altitude in meters

setGeoPositionUTM

(
  • east
  • north
  • alt
  • zoneLet
  • zoneNum
)

Sets the GeoPosition using the UTM representation.

Parameters:

  • east Number

    UTM Easting value in meters

  • north Number

    UTM Northing value in meters

  • alt Number

    Altitude in meters

  • zoneLet String

    UTM Zone Letter

  • zoneNum Number

    UTM Zone Number

Properties

lla

Object

WGS84 (Lat, Long, Alt) representation of this GeoLocation. Access the 'latitude', 'longitude' and 'altitude' properties of the returned object to obtain the values. Latitude/Longitude are in degrees, Altitude is in meters.

utm

Object

UTM representation of this GeoLocation. Access the 'easting', 'northing', 'zoneLetter', and 'zoneNumber' properties of the returned object. Easting / Northing are in meters. Argon uses UTM internally to do geo-positioning. See Universal Transverse Mercator