Difference between revisions of "BIS fnc posDegToUTM"
Jump to navigation
Jump to search
Str_bi_wiki (talk | contribs) m |
Lou Montana (talk | contribs) (Page update) |
||
Line 1: | Line 1: | ||
− | {{Function|= | + | {{Function|Comments= |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | | + | | tkoh |Game name= |
− | |1.00| | + | |1.00|Game version= |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | Generate | + | | 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, | + | | [longitude, latitude'', zone''] call [[BIS_fnc_posDegToUTM]] |Syntax= |
− | |p1= | + | |p1= longitude: [[Number]] |Parameter 1= |
− | |p2= | + | |p2= latitude: [[Number]] |Parameter 2= |
− | | [[Array]] - [northing | + | |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. | + | |x1= <code>_utmZone = [47.608013, -122.335167] [[call]] [[BIS_fnc_posDegToUTM]];</code> |Example 1= |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | | | + | | [[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: | + | [[Category:Function Group: Map|{{uc:posDegtoUTM}}]] |
− | [[Category:Function Group: Map| | + | [[Category:{{Name|tkoh}}: Functions|{{uc:posDegtoUTM}}]] |
+ | [[Category:{{Name|arma3}}: Functions|{{uc:posDegtoUTM}}]] |
Revision as of 00:19, 5 June 2018
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