Jump to content

Distances


CrashGordon

Recommended Posts

I just imported some routes, and it would appear that the calculated distances are a bit excessive.

For example the distance from PHNL to RJAA is 3886 miles, but the system is calculating  17944.  It looks like the problem occurs as one crosses the international date line.

OMG103 PHNL (07:00 UTC) RKPK (16:30 UTC) M T W R F S  B767-300ER (OMG763) 17318.1 0 P (0/1000)   

OMG102 PHNL (07:00 UTC) RJGG (15:00>UTC) M T W R F S  B767-300ER (OMG763) 17825.3 0 P (0/800)   

OMG101 PHNL (07:00 EST) RJOO (15:30 EST) M T W R F S  B767-300ER (OMG763) 17750.4 0 P (0/900)   

OMG100 PHNL (07:00 EST) MMMX (14:30 EST) M T W R F S  B767-300ER (OMG763) 3812.58 0 P (0/900)   

OMG99 PHNL (07:00 EST) RPLL (15:00 EST) M T W R F S  B767-300ER (OMG763) 18304.6 0 P (0/950)   

OMG98 PHNL (07:00 EST) PGSN (17:42 EST) M T W R F S  B767-300ER (OMG763) 19896.4 0 P (0/1200)   

OMG97 PHNL (07:00 EST) PGUM (15:00 EST) M T W R F S  B767-300ER (OMG763) 19910.9 0 P (0/1300)   

OMG96 PHNL (07:00 EST) VHHH (16:00 EST) M T W R F S  B767-300ER (OMG763) 17433.3 0 P (0/825)   

OMG95 PHNL (07:00 EST) YSSY (16:00 EST) M T W R F S  B767-300ER (OMG763) 19155.1 0 P (0/900)   

OMG94 PHNL (07:00 EST) RJAA (15:30 EST) M T W R F S  B767-300ER (OMG763) 17944.2 0 P (0/850)   

OMG93 PHNL (07:00 EST) RCTP (16:30 EST) M T W R F S  B767-300ER (OMG763) 17715.5 0 P (0/1000)   

OMG92 PHNL (07:00 EST) RKSI (15:00 EST) M T W R F S  B767-300ER (OMG763) 16928.5 0 P (0/800)   

OMG111 PGUM (07:00 UTC) PHNL (15:30 UTC) M T W R F S  B767-300ER (OMG763) 19910.9 0 P (0/900)   

OMG112 PGSN (09:00 UTC) PHNL (12:00 UTC) M T W R F S  B767-300ER (OMG763) 19896.4 0 P (0/500)   

OMG130 PANC () UHWW () M T W R F S  AN-124 (OMG124) 11601.2 0 C (0/20)   

OMG119 PANC (15:00 UTC) PHNL (17:30 UTC) M T W R F S  B767-300ER (OMG763) 2777.58 0 P (0/425)   

Link to comment
Share on other sites

That depends on how far I can dig into a web site that provides distances between airports. ;D  The algorithm only fails where east meets west.  Then, it appears to provide the distance going back all the way around the world.

It's not the end of the world since it can be edited, but I thought you should be aware of it.

BTW, I really like how the "import schedule from csv" feature works.  I hadn't realized that if the airport wan't already entered, it would take care of that, as well.

Link to comment
Share on other sites

  • Administrators

Yup, but try not to rely on that for obscure airports, and I'd add in the major ones at least. The script could hang up depending on your script execution time, but since it will overwrite existing schedules, you can keep mashing F5 until it finishes.

The other is an interesting problem. I will have to research that. Thanks!

Link to comment
Share on other sites

I keep the lists I'm loading reasonably short.  I only learned of that feature when I did one of my (in)famous,"What happens it I do this?", routines. :o ::) ;D

I had already added most of the airports we'll be using for the near future.

I'm working on a spreadsheet that allows me to enter the aircraft's cruising speed and the distance route generation produces to provide the flight time, and (if I enter the departure time), the arrival time.  that last part is still being ironed out.  Time/speed/distance is a simple equation, but adding a fudge factor for 250 kts. below 10,000 ft and time awaiting takeoff, etc. is proving interesting. ::)

Link to comment
Share on other sites

The CSV file is very helpful when I want to create  a lot of routes quickly that use different aircraft at different times of the day, but doing the same route.  It is very easy to switch aircraft and change times.

I can create 20 routes from one hub to 20 destinations using aE170 at 9AM, a B738 and noon and an A321 at 3PM, just by cutting and pasting.the flight numbers, aircarft and times.  I added about 500 routes that way.  Different pilots like different a/c so even if they are going to the same place, they get to fly what they like.

Of course, when I want to get creative, I do them one at a time. ;D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...
×
×
  • Create New...