CBA_fnc_mapGridToPos

Description

Converts a 2, 4, 6, 8, or 10 digit grid reference into a Position.

Parameters

_posThe position, either an array of strings for the northing & easting or a string.
_doOffSetIf true, return the center of the gridsquare, if false return upper left.  Default false.

Returns

Position in internal gridspace.

Examples

_pos = ["024","015"] call CBA_fnc_mapGridToPos;
_pos = [["024","015"], true] call CBA_fnc_mapGridToPos;
_pos = "024015" call CBA_fnc_mapGridToPos;

Author

Nou

Close