Opened 15 years ago

Closed 15 years ago

#48 closed defect (fixed)

Request to Add Grid Square Position Parameter to MGRS

Reported by: Norm Olsen Owned by: Norm Olsen
Priority: minor Milestone:
Component: Dictionaries Version:
Keywords: MGRS Cc:

Description

Currently, conversion of MGRS strings to Lat/Long always returns the position of the center of the designated cell. The request is to enhance the MGRS API to include a parameter which would select one of the eight other possible positions on the boundary of the grid cell.

Change History (1)

comment:1 by Norm Olsen, 15 years ago

Resolution: fixed
Status: newclosed

A new function has been added to the CS-MAP MGRS API: CScalcLlFromMgrsEx. This function operates exactly as CScalcLlFromMgrs has always operated, but accepts an additional parameter which indicates which of the 8 positions on the boundary of the MGRS grid square whose position is to be returned.

The functionality of all existsing function remains unchanged. The Console Test module was updated to include a small subset oif tests exercising the new feature.

Note: See TracTickets for help on using tickets.