Delta Virtual Airlines
Water Cooler

  • Water Cooler
    • All Posts
    • Channels
    • Search
  • Our Airline
    • Home
    • Login
    • Logged In Users
    • Our Partners
    • Issue Tracker
  • Pilot's Lounge
    • Online Events
    • Flight Tours
  • ACARS
    • Live ACARS Map
    • Google Earth
    • ACARS Flights
    • Dispatch Schedule
    • Top Dispatchers
  • Statistics
    • Airline Totals
    • Flight Statistics
    • Online Statistics
    • Simulator Versions
    • Passenger Statistics
    • Landing Statistics
    • Optimal Landings
    • Server Statistics
  • Contact Us
    • Corporate Offices
    • Our Staff
    • Password Reset
    • Privacy Policy
    • Career Opportunities
Delta Virtual Airlines Water Cooler | Airline Operations | Web Site Update
DVA043
Senior Captain, MD-11
OLP

Joined on June 10 2001
Event Half Century Club
Online Double Century Club
50 State Club
DVA Twenty-Year Anniversary
Everett 1500 Club
Bi-Millennium Club
Four Million Mile Club

"Col. Panic"
Marietta, GA

2,347 legs, 9,466.0 hours
240 legs, 553.9 hours online
2,005 legs, 8,259.1 hours ACARS
75 legs, 196.3 hours event
2,383 legs, 9,600.9 hours total
91 legs dispatched, 66.4 hours
Posted onPost created on February 01 2004 17:36 ET by Luke Kolin
Here's some interesting code:

// Get the lattitude and longitude values
double latS = StrictMath.toRadians(aS.getLatitude());
double latD = StrictMath.toRadians(aD.getLatitude());
double lngDiff = StrictMath.toRadians(StrictMath.abs(aS.getLongitude() - aD.getLongitude()));

// Do the math - this makes my head hurt
double p1 = StrictMath.sin(latS) * StrictMath.sin(latD);
double p2 = StrictMath.cos(latS) * StrictMath.cos(latD) * StrictMath.cos(lngDiff);
double distD = StrictMath.toDegrees(StrictMath.acos(p1 + p2));

// Convert to miles
int distance = StrictMath.round(distD * 69.16);

Basically, given the latitude and longitude of any two places on the Earth in degrees, you can calculate the length of the Great Circle route between those two points. We know can calculate the length of the flights flown for all 38,000+ PIREPs. Check the statistics to see how many frequent flier miles you have!

Cheers!

Luke

Luke Kolin

Senior Captain, MD-11
DVA1271
Senior Captain, MD-11

Joined on June 27 2003
Double Century Club

Central America

234 legs, 910.2 hours
Posted onPost created on February 01 2004 17:52 ET by Rolando Alvarado-Scott
me like!!! lol.. it sounds good to think i've flown for over 300000 miles!!!!!!!!! jaja.. :o] good job luke..

pura vida



DVA018
Senior Captain, MD-11
E-MAIL

Joined on June 15 2001
Six Century Club

"Keep yer wheels off the ground"
Spokane, WA USA

984 legs, 1,958.5 hours
20 legs, 35.1 hours online
227 legs, 397.6 hours ACARS
Posted onPost created on February 01 2004 20:45 ET by Larry Hart
Although that bit of code is a bit over my head, it is really interesting, and I can see the point.


DVA803
Senior Captain, CRJ-200
E-MAIL

Joined on August 22 2002
Online Century Club
Double Century Club

Midwestern United States

210 legs, 339.3 hours
199 legs, 324.4 hours online
2 legs, 4.9 hours event
Posted onPost created on February 02 2004 11:00 ET by Matt Moak
Yay 75,900 for me. Nice feature Luke!

Matt



Progress Spinner


Delta Virtual Airlines 2006 (Golgotha v12.3) Copyright © 2004 - 2025 Global Virtual Airlines Group. All Rights Reserved. (Build 971)
For flight simulation purposes only. Not a commercial website. In no way are we affiliated with Delta Air Lines, its affiliates, or any other airline. All logos, images, and trademarks remain the property of their respective owners. Delta Virtual Airlines is a non-profit entity engaged in providing an avenue for flight simulation enthusiasts.