BIS fnc posDegToUTM: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(Page update)
Line 1: Line 1:
{{Function|= Comments
{{Function|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| TKOH |= Game name
| tkoh |Game name=


|1.00|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Generate an UTM Zone, Easting and Northing from lat and long fields. It uses NAD83 constants. |= Description
| Generate a [https://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system#UTM_zone UTM Zone], Easting and Northing from lat and long fields.
It uses [https://en.wikipedia.org/wiki/North_American_Datum NAD83 constants]. |Description=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [latitude,longtitude] call BIS_fnc_posDegToUTM; |= Syntax
| [longitude, latitude'', zone''] call [[BIS_fnc_posDegToUTM]] |Syntax=


|p1= latitude: [[Number]] |= Parameter 1
|p1= longitude: [[Number]] |Parameter 1=


|p2= longtitude - [[Number]] |= Parameter 2
|p2= latitude: [[Number]] |Parameter 2=


| [[Array]] - [northing,easting,zone] |= Return value
|p3= zone: [[Number]] - (Optional, default {{Inline code|31 + [[floor]] (''longitude'' / 6)}}) |Parameter 3=
 
| [[Array]] of [[Number|Numbers]] - format [easting, northing, zone] |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________
 
 
|x1= <code>[47.63959,-122.127249] call BIS_fnc_posDegToUTM;</code> |= Example 1
|x1= <code>_utmZone = [47.608013, -122.335167] [[call]] [[BIS_fnc_posDegToUTM]];</code> |Example 1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[BIS_fnc_posDegToWorld]], [[BIS_fnc_posUTMToDeg]] |See also=
 
}}
}}


Line 34: Line 36:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Functions|{{uc:posDegtoUTM}}]]
[[Category:Take_On_Helicopters:_Functions|posDegToUTM]]
[[Category:Function Group: Map|{{uc:posDegtoUTM}}]]
[[Category:Function Group: Map|posDegToUTM]]
[[Category:{{Name|tkoh}}: Functions|{{uc:posDegtoUTM}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:posDegtoUTM}}]]

Revision as of 23:19, 4 June 2018

Hover & click on the images for description

Description

Description:
Generate a UTM Zone, Easting and Northing from lat and long fields. It uses NAD83 constants.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[longitude, latitude, zone] call BIS_fnc_posDegToUTM
Parameters:
longitude: Number
latitude: Number
zone: Number - (Optional, default 31 + floor (longitude / 6))
Return Value:
Array of Numbers - format [easting, northing, zone]

Examples

Example 1:
_utmZone = [47.608013, -122.335167] call BIS_fnc_posDegToUTM;

Additional Information

See also:
BIS_fnc_posDegToWorldBIS_fnc_posUTMToDeg

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section