As we learned in the lecture, computer software uses decimal degrees (DD), as they are much easier to handle in complex algorithms for various mapping applications.  Your task is to convert Lat-Long from DMS to DD and vice versa.  Remember: when using DD, the cardinal direction are replaced by positive and negative numbers .  The "+" sign is omitted (it is implied) and only the minus sign "--" is mandatory . (See lecture)   Washington Monument in DC has the following coordinates, in DMS:  LAT: 38 deg 53 min 22 sec North ; LONG: 77 deg 02 min 19 sec West.  Use an online converter (such as https://www.latlong.net/degrees-minutes-seconds-to-decimal-degreesLinks to an external site.) and find the coordinates in decimal degrees.  Choose the correct coordinates in DD for the Washington Monument: 38.88944444 , 77.03861111 38.88944444 , --77.03861111 --38.88944444 , 77.03861111 --38.88944444 , --77.03861111

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter18: Stacks And Queues
Section: Chapter Questions
Problem 11SA
icon
Related questions
Question

As we learned in the lecture, computer software uses decimal degrees (DD), as they are much easier to handle in complex algorithms for various mapping applications.  Your task is to convert Lat-Long from DMS to DD and vice versa.  Remember: when using DD, the cardinal direction are replaced by positive and negative numbers .  The "+" sign is omitted (it is implied) and only the minus sign "--" is mandatory . (See lecture)

 

Washington Monument in DC has the following coordinates, in DMS: 

LAT: 38 deg 53 min 22 sec North ; LONG: 77 deg 02 min 19 sec West. 

Use an online converter (such as https://www.latlong.net/degrees-minutes-seconds-to-decimal-degreesLinks to an external site.) and find the coordinates in decimal degrees. 

Choose the correct coordinates in DD for the Washington Monument:


38.88944444 , 77.03861111
38.88944444 , --77.03861111
--38.88944444 , 77.03861111
--38.88944444 , --77.03861111
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Processes of 3D Graphics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning