Difference between revisions of "DCS func MGRStoLL"

From DCS World Wiki - Hoggitworld.com
Line 10: Line 10:
  
 
|desc= Returns multiple values of a given in MGRS coordinates and converts it to latitude, longitude, and altitude
 
|desc= Returns multiple values of a given in MGRS coordinates and converts it to latitude, longitude, and altitude
 +
MGRS Table:
 +
MGRS = {
 +
  UTMZone = string,
 +
  MGRSDigraph = string,
 +
  Easting = number,
 +
  Northing = number
 +
}
  
 
|rtnType= latitude, longitude, altitude
 
|rtnType= latitude, longitude, altitude
Line 34: Line 41:
  
 
|optType2=
 
|optType2=
 +
  
  

Revision as of 09:07, 2 August 2022

Scripting Root

Envrioment: Mission Scripting
Function: MGRStoLL Added with: 1.2.0
Member Of: coord
Syntax: latitude, longitude, altitude coord.MGRStoLL(table MGRS )
Description: Returns multiple values of a given in MGRS coordinates and converts it to latitude, longitude, and altitude

MGRS Table:

MGRS = {
  UTMZone = string,
  MGRSDigraph = string,
  Easting = number,
  Northing = number
}


Return Value: latitude, longitude, altitude
Return Example:
Examples:
Related Functions: Coord Functions: LLtoLO, LOtoLL, LLtoMGRS, MGRStoLL
Notes: