Converting DMS to decimal degrees


PurposeThis sample shows how to use the Defense Solutions Coordinate API to convert a DMS coordinate string into a normalized DMS string, DD string, and x, y values.

How to use

If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.

  1. Build the project.
  2. Run the program by typing 'DMStoDD'.

DMStoDD.cpp Main implementation file
Makefile Unix Makefile
NMakefile.mak Windows Makefile
Download the CPP files

Download the files for all languages




Development licensing Deployment licensing
Engine Developer Kit: Military Analyst Engine Runtime: Military Analyst