Jump to content

Converting Coordinates To Distance


Followers 1

Recommended Posts

Does anyone know of a website that would allow one to input two sets of coordinates and then compute the distance between those two sets of coordinates? I can use Geocaching.com website's to give me the distance between one set of coordinates and the coordinates of a cache but I want to be able to compute the distance between ANY two sets of coordinates Thanks, in advance

Link to comment

These are all great resources, but what I am wondering is what method is GC.com using to come up with the WP and distances between those WP for travel bugs... (IE GCHE4M, GCA6F3) - I suspect that the are not using this, but the actual lat/lon numbers, but I am wondering...

 

Any ideas?

Link to comment

Waypoints are locations - a set of coordinates containing lat/lon. GCHE4M and GCA6F3 are waypoint names - unique identifiers for the particular caches in the database, and have nothing to do with the actual location.

 

When Geocaching.com says "Use this Waypoint: GCHE4M" it's giving you a suggested name for the set of coordinates on a GPS.

 

Read more about it here.

 

Here's another calculator for the distance between two sets of coordinates.

Link to comment

If the coordinates are more or less in the same part of the world, you could convert to UTM coordinates which would let you find the difference in the northings and eastings. That gives you two sides of a right triangle. Square both numbers, add them, and take the square root. That gives you the hypotenuse, or the straight line distance between the two points.

Link to comment
Waypoints are locations - a set of coordinates containing lat/lon.  GCHE4M and GCA6F3 are waypoint names - unique identifiers for the particular caches in the database, and have nothing to do with the actual location.

 

When Geocaching.com says "Use this Waypoint: GCHE4M" it's giving you a suggested name for the set of coordinates on a GPS.

 

Read more about it here.

 

Here's another calculator for the distance between two sets of coordinates.

Markwell - that link was what I needed. For the last day or so, I have been trying to figure out the formulas that are being used for the Great Circle equations. I am trying to add distance measuring capability to my site for my signature item. The only other thing I need to do now, is to figure out how to retrieve the lat/lon number for a given WP (IE GCHE4M) for the GC system. Once I have that figured out I now can go forward.

 

I have tried to emulate the CG.com TB logging system which I have written in PHP. So far, so good. But I would like to expand it this last step.

 

Last 10 Vacman Geocoins Movements

Link to comment

Well - I no w have the calcs... my biggest problem is that I have no real stable way of retrieving the lat/lon coords from the GC system. I did try a fetch routine that copies the page (using the WP IE GCHE4M) from the gc site. my code will then parse the page and retrieve the coords from it. The problem, is that there is an inconsistant page layout! I never realized it, but sometimes the pages display slightly different. The coords are sometimes 3 or more characters off on the layout. What I really need is a routine that would retireve only the coords from the site.....

 

oh well, will keep coding along. I will figure something out.

Link to comment
Here is another one.

 

This one has the advantage that it is geocaching-aware. You can enter a GC-number in one of the boxes, and it will scan that cache page and give you the distance from your coords to ALL the coords on the cache page.

 

This is excellent for determining if that object you found has already been logged on a locationless.

Nice! I e-mailed Fizzy to see if he could look at my code. Thanks for pointing me there.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Followers 1
×
×
  • Create New...