A aviation & planes forum. AviationBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » AviationBanter forum » rec.aviation newsgroups » Piloting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Latitude Longitude entry



 
 
Thread Tools Display Modes
  #1  
Old September 8th 06, 05:09 AM posted to rec.aviation.piloting
Chris W
external usenet poster
 
Posts: 69
Default Latitude Longitude entry

Grumman-581 wrote:
"Chris W" wrote in message
news:HAHKg.9416$JR5.1674@dukeread11...

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.



n234521.123
w954521.123

using the ddmmss.sss format for the longitude, it chokes on two digit
longitudes... It does work if you put a leading zero on the longitude or if
it is a 3-digit one...



Well let's think about this.

What if it is 5degrees do you want to do it like this..... dmm.mmmmm?
How do could the system possibly distinguish that from ddd.ddddd?
Obviously it can not. Then what about say 1 degree 3 minutes dm.mmmm?
Just move evidence of why that can't be done. If you want a format with
out any kind of separator between the degrees minutes and seconds all
fields have to be of fixed width and since longitude goes from -180 to +
180 you need to have it be dddmmss.sss or dddmmm.mmmm And since
Latitude is -90 to +90 ddmmss.ss or ddmm.mmmm is the only way to go. It
is my understanding the ddmmss.ss or ddmm.mmmmm for Latitude and
dddmmss.ss or dddmm.mmmm for longitude are standard formats in the GIS
software industry. However I would think since the web site this code
is for is not targeted at GIS professionals, most users will have
something separating the degrees minutes and seconds like dd mm ss.ss


--
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
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Air Force One Had to Intercept Some Inadvertent Flyers / How? Rick Umali Piloting 29 February 15th 06 04:40 AM
Nearly had my life terminated today Michelle P Piloting 11 September 3rd 05 02:37 AM
On the lighter side Soar Stanton MN Soaring 0 April 20th 05 12:52 AM
Displaced AFSS "controllers" heading for BIL and GRB Chip Jones Instrument Flight Rules 12 April 10th 05 09:22 PM
Parachute fails to save SR-22 Capt.Doug Piloting 72 February 10th 05 05:14 AM


All times are GMT +1. The time now is 10:39 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 AviationBanter.
The comments are property of their posters.