View Single Post
  #2  
Old September 5th 06, 01:13 AM posted to rec.aviation.piloting
J. Severyn
external usenet poster
 
Posts: 70
Default Latitude Longitude entry

Great Job Chris.

The is one of my pet peeves. Different maps, different users, etc do not
use consistent formats. My GPS will accept input in different formats, but
many times I've entered coordinates in one format when the GPS was set for
entry in a different format. I'm always pulling coordinates from topo maps
or other sources and I must not forget to do the conversion to make the
entries consistent. (or keep flipping the GPS to accept the different
formats)

The only comment I might make: It might be useful to catch a case of
mistaken mixed entry such as: 30.3 45 56 which results in a value
greater than 31 degrees. This would catch the improper entry before the
data is used, as once it is converted, might make finding the error
difficult.

Sure, I'd like to see the code if possible.

Remove the ".cutout" for my true email address.

Regards,
John Severyn
@KLVK

"Chris W" wrote in message
news:HAHKg.9416$JR5.1674@dukeread11...
This is off topic but something that I think pilots can appreciate.

I am working on a web site that will require the entry of latitude
longitude coordinates. As you probably know there area lot of different
ways to format latitude and longitude. I have done my best to make my
code work no mater what format you use. If you have some time and would
like to try it, I want to know if anyone can break it. If you do, please
send me the data you used to break it, so I can figure out why it broke
and fix it. Below is the URL for the test. The web site it is currently
on is not the web site it is for, that is just where I am doing the
testing until I get a server set up for the new site.

http://www.thewishzone.com/LatLonTest.php

P.S. If anyone wants a copy of the code I wrote to do this, let me know
and I will email it to you.


--
Chris W
KE5GIX

Gift Giving Made Easy
Get the gifts you want &
give the gifts they want
One stop wish list for any gift,
from anywhere, for any occasion!
http://thewishzone.com