Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A whole lot of abstraction- given two longitude/latitude points given from a GPS, I'm using the Pythagorean distance formula to find the distance between them. What unit of length would the distance be? Kilometers? Miles?

share|improve this question
Take your pick: ... myself I would probably pick beard-seconds. So what's your real question? – blah238 Oct 4 '12 at 0:41
what do you mean, IF the earth was flat...... – Stephen Lead Oct 4 '12 at 3:14
Degrees min secs – Brad Nesom Oct 4 '12 at 4:04
@Brad, actually it would be whatever angular units the GPS unit was set to. Probably decimal degrees but could easily be a radian, gradian or mil. – blah238 Oct 4 '12 at 5:05
To the OP: Have you already considered why you are using the Pythagorean distance formula instead of a more suitable formula given that the earth is in fact not flat? – blah238 Oct 4 '12 at 5:14

Just like any other function, you will get out the same unit of measurement you put in. In this example you are using lat/long and so will therefore get the distance between your two points (the hypotenuse) in degrees. The number of kilometers/miles/inches/whatever that the output corresponds to depends entirely on where on the surface of the earth the hypotenuse lies.

Also, it does not really matter in this instance that you are "pretending" the earth is flat. Along that note, if the earth was flat we wouldn't use lat/long as, again, those are ellipsoidal (angular) measurements. This is why we have map projections with grid based (cartesian) coordinate systems.

share|improve this answer
+1 Re your remarks on projections: the question can be understood as asking how to compute the scale of a Plate Carree projection. – whuber Oct 4 '12 at 15:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.