Airport coordinates
#1
Posted 19 June 2006 - 04:20 PM
So how to get it?
#2
Posted 19 June 2006 - 04:50 PM
Antimod, on Jun 19 2006, 05:20 PM, said:
So how to get it?
Be sure you're adding AF2_xxxx.BGL files. AFCAD .txt files are for FS2002 and will not work in FS2004.
Edited by sarge, 19 June 2006 - 04:52 PM.
#3
Posted 19 June 2006 - 05:04 PM
BGL files are all right, but the reference point does not match with the thing needed in the uncompressed txt file! That's my problem!
#4
Posted 19 June 2006 - 05:24 PM
#5
Posted 19 June 2006 - 05:45 PM
#6
Posted 19 June 2006 - 09:11 PM
Antimod, on Jun 19 2006, 06:04 PM, said:
BGL files are all right, but the reference point does not match with the thing needed in the uncompressed txt file! That's my problem!
In the airports.txt file, the coordinates for your airport are:
Nxx.xx Wxx.xx
(or similar)
and in the AFCAD the coordinates are:
Nxx.xxxx
Wxx.xxxx
(or similar)
Is that the problem? If so, it's because FS9 uses only two decimal places in some places and four in others. Look at your aircraft's position in the map view -- only 2 decimal places -- then look at your aircraft's position by pressing Shift-Z twice -- 4 decimal places; whereas AFCAD uses 4 decimal places in all cases. As long as the first two decimal places are the same, no problem.
Edited by sarge, 19 June 2006 - 09:11 PM.
#7
Posted 20 June 2006 - 02:55 AM
I put in LKHO in Airports.txt and sent a DC-3 there (easily can land on that rwy), and I created a parking place in AFCAD. Still no traffic shows up there.
Just to show it. Let's see a random airport, which isn't modified (AFCAD says stock):
Reference point:
N49* 41.7675',E18* 06.6508'
coordinates seen in the aircraft.txt:
N49* 41.64',E18* 6.53',843
#8
Posted 20 June 2006 - 06:29 AM
Antimod, on Jun 20 2006, 03:55 AM, said:
Reference point:
N49* 41.7675',E18* 06.6508'
Antimod, on Jun 20 2006, 03:55 AM, said:
N49* 41.64',E18* 6.53',843
That's straight from FS9/Scenery/EURW/Scenery/AP952140.bgl (the original, FS9 BGL containing LKHO). The data you're showing is 23' too far north and 30' too far east. Forget the decimal places, your whole minutes are out of whack.
#9
Posted 20 June 2006 - 06:53 AM
The coords I gave are from LKMT.
But I that yours are quite the same for LKHO not as mine.
But TTools is collecting airport data from AP952140.bgl, right? That's strange.
edit.: So if I can decode that bgl file, I can get detail for every airport in FS?
Edited by Antimod, 20 June 2006 - 06:55 AM.
#10
Posted 20 June 2006 - 08:01 AM
Antimod, on Jun 20 2006, 07:53 AM, said:
Just checked LKMT ..... default AFCAD shows N49 41.76xx E18 6.65xx and the airports.txt file shows N49 41.76 E18 6.65 (the 843 is field elevation). Off-hand, I'd guess that someone has been ing with your airports.txt file; that's the only way you'd get E18 6.53 instead of E18 6.65.
Your statement is correct -- the airports.txt data is taken directly from the dominant AFCAD (either the stock or the latest modified); TTools ONLY reads airport data from AFCADs. If the data in airports.txt doesn't match the AFCAD data, it's been manually manipulated.
#11
Posted 25 June 2006 - 06:48 AM
The traffic started its route in time: then I followed the plane in slew mode (after I realized it hasn't done the touch and go at its destination airfield). The aircraft positioned itself to the given coordinates (collected from the AFCAD), but didn't find the airport, just flew straight out of the country with its gears out.
So it seems that proper coordinates are a must. How can I decompile that bgl (which contains all the airports in FS2004)?
Edited by Antimod, 25 June 2006 - 06:49 AM.
#12
Posted 25 June 2006 - 09:24 AM
Antimod, on Jun 25 2006, 07:48 AM, said:
The traffic started its route in time: then I followed the plane in slew mode (after I realized it hasn't done the touch and go at its destination airfield). The aircraft positioned itself to the given coordinates (collected from the AFCAD), but didn't find the airport, just flew straight out of the country with its gears out.
So it seems that proper coordinates are a must. How can I decompile that bgl (which contains all the airports in FS2004)?
Just out of curiosity: which airport did you want the AI traffic to do touch-and-go's at? Give me the flightplan you are using for the AI aircraft you followed in slew mode.
#13
Posted 25 June 2006 - 10:58 AM
Where is that bgl? Isn't it the FS9/Scenery/EURW/Scenery/AP952140.bgl ?
How can I decompile it? Because TTools can't do it. First of all, just doesn't find it, since there isn't the word Traffic in the filename. I renamed it, then tried to decode, it quit with an error message. I don't see any options in the program that would do it. Or am I using an old version of TTools? (2.0.2)
#14
Posted 25 June 2006 - 12:36 PM
Antimod, on Jun 25 2006, 11:58 AM, said:
Where is that bgl? Isn't it the FS9/Scenery/EURW/Scenery/AP952140.bgl ?
Again, however; that file does NOT contain all the airports in FS2004. It only contains a FEW of the airports in a small part of Western Europe. There is no single BGL in FS2004 that contains ALL of the airports, except the airports.txt file that is used to compile the traffic BGL. If such a file DID exist, it would decompile to a .txt file several gigabytes in size and you wouldn't be able to open it to view it.
Antimod, on Jun 25 2006, 11:58 AM, said:
Edited by sarge, 25 June 2006 - 12:39 PM.
#15
Posted 25 June 2006 - 01:08 PM
#16
Posted 25 June 2006 - 04:58 PM
Antimod, on Jun 25 2006, 02:08 PM, said: