Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
Lat Long Coordinates System (Read 242 times)
Apr 3rd, 2004 at 9:47pm

Auriga   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 20
*****
 
I have a question about working with the coordinates system (and I hope I'm explaining this coherently). Basically, I need to make sure that I am properly calculating the exact distance between two Lat/Long points so that I can figure out the point that is exactly half way between the two points. First, I am converting to the decimal system to make the calculations easier. Therefore, the point (Lat N*41 52.0399  Long W87*16.4099) would be (Lat 41.8973 Long -87.2735) in decimal format.

Given the two points of (Lat 41.8673 Long -87.2735) and (Lat 41.8673 Long -87.2599) I believe that the exact midway point would be (Lat 41.8673 Long 87.2667). Since the Lat values are the same, the midway point between the two Long values would represent the midway point between the two coordinates.

How would I figure out the midway point between (Lat 41.9665 Long -87.2664) and (Lat 41.9650 Long -87.2508) . In this case, neither the Lat nor Long tracks match up.

The longitude values are negative numbers since this is the western hemisphere, but is it OK to disregard the sign?

Thank you very much;
Christine
 
IP Logged
 
Reply #1 - Apr 5th, 2004 at 1:14am

raz   Offline
Colonel
Evansville WI

Gender: male
Posts: 230
*****
 
Okay, there will be two equations (a+b)/2),  so you plug in the two sets of #'s keeping Lat. and Long. in separate equations.  Think of it as a right triangle

A      Mlong.  B

     
````Mt       Mlat.


``````````C

A and C are your two coordinates.  See how the total midpoint(Mt) lines up with the two lat. and long. midpoints?  Therefore if you find both midpoints, you can use those as your new midpoint coordinate.  

As for the negatives, yes as long as they are both negative #'s you can disregard the sign.  Just remember to put the negative back into the answer (I learned that the hard way many times).
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print