- Messages
- 34,759
- Country
-
I've started a new thread with this question as the one related to BGLAnalyzeX is becoming very long.
I think I was up too late last night and my brain is not working very well today
In Winfried's document on BGL format he gives formulas for converting the lat/lon values:
I seem to see missing brackets and also these do not produce any sensible numbers for me - could some kind soul take pity and give me the Math 101 on this please?
Also I noted the dicussion on AirportTestRadius - am I correct in that this is used by the compiler but the information is not stored in the bgl? If not where is that information in the record? Second is TrafficScalar new and again where is it in the airport record please?
thanks guys
I think I was up too late last night and my brain is not working very well today
In Winfried's document on BGL format he gives formulas for converting the lat/lon values:
(double) Lon = (DWORD) Lon * (360.0 / (3 * 0x10000000) – 180.0
(double) Lat = 90.0 - (DWORD) Lat * (180.0 / (2 * 0x10000000)
I seem to see missing brackets and also these do not produce any sensible numbers for me - could some kind soul take pity and give me the Math 101 on this please?
Also I noted the dicussion on AirportTestRadius - am I correct in that this is used by the compiler but the information is not stored in the bgl? If not where is that information in the record? Second is TrafficScalar new and again where is it in the airport record please?
thanks guys