0

I'm working on a project that use Google maps and i want to know: Giving 2 points with same latitude but with different longitudes, how can i calculate the distance between them in terms of longitude degrees?

For example, how can we calculate how far point 1 from point 2 in longitude degrees, the latitude degrees will be 0 since they are at the same latitude line.

I know how to calculate distance in kilometers, meters.

PolyGeo
65.5k29 gold badges115 silver badges353 bronze badges
asked Mar 4, 2018 at 4:35
1
  • Do you have Web Mercator coordinates (with y1 = y2) and want to calculate the two lat-lon coordinates of the points? Commented Mar 4, 2018 at 16:55

1 Answer 1

4

If the two points are at the same latitude then the "distance" between them in "longitude degrees" will be the number of degrees between their longitudes.

This will be true no matter which software or Geographic Coordinate System you are using, as long as both points are specified using the same Geographic Coordinate System.

As commented by @Jon, if your longitudes are in degrees, minutes and seconds (DMS) then the formula for converting them to decimal degrees (DD) is:

decimal_degrees = degrees + minutes/60 + seconds/3600
answered Mar 4, 2018 at 4:55
0

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.