Computer Science, asked by Rayanna3119, 11 months ago

Advantage sof providing latitude and longitude in metadata

Answers

Answered by Anonymous
1

I have a program that prints a pictures longitude and latitude. The program prints both of them into a format of: Degrees, minutes, seconds.

As I want to generate a KML file for GoogleEarth and GoogleEarth only supports decimal degrees, I need to think of a way of converting the coordinates.

Everytime I do the maths paper based, I get an incorrect answer. Could someone point out to me where Im going wrong.

I have the coordinates -  

+51° 26' 13.57", -2° 34' 38.55"

I've been told to calculate it like this. Add 51 plus 26/60 plus 13.57/3600.

The correct answer should be -  

51.437103, -2.577375

My next issue would be breaking down the string into the different segments as the metadata library I use prints the coordinates out as one individual string.

These are the advantages.

Similar questions