Board index FlightGear Development AI Traffic

WED export to IACO groundnet.xml

Intelligent, computer controlled vehicles that drive/fly over the planet!

WED export to IACO groundnet.xml

Postby jtprophet » Fri Feb 17, 2017 6:05 pm

Happy Friday guys and gals!

I hope its ok to post this particular subject here if not I apologize up front and will post in the appropriate place.

I am trying to understand the process that it takes to take an x-plane scenery package and then export that package for use in Flightgear primarily for ai traffic. I read one forum that suggested using the wed program and then use the aptdat2pg.py script but I'm unfamiliar with the process, can someone shed some light on this please?

Thank-you

John
jtprophet
 
Posts: 205
Joined: Mon Apr 04, 2016 3:21 pm
Callsign: DAL1464

Re: WED export to IACO groundnet.xml

Postby pommesschranke » Fri Feb 17, 2017 7:58 pm

https://github.com/mherweg/d-laser-fgtools
https://github.com/mherweg/d-laser-fgto ... dnet-files

read more details in the comment at the beginning of the 2 python files

Step 0: change line 56 of aptdat2sqlite.py:
Code: Select all
input_filename = "KRDU.dat"

Step 1: aptdat2sqlite.py
Step 2: sqlite2xml.py

make_parkings.py is an older version of that tool. still ok, but it cannot handle 30000 airports and it does only parking, no other ground network.

Alternatively you can edit ground networks with taxidraw
pommesschranke
 
Posts: 1117
Joined: Sat Apr 27, 2013 8:58 pm
Location: EDLM & LJCE
Callsign: d-laser
IRC name: laserman
Version: git
OS: Linux Kubuntu 22.04

Re: WED export to IACO groundnet.xml

Postby jtprophet » Fri Feb 17, 2017 8:12 pm

Thank-you for the response, that would be my preferred method but for some reason I'm unable to see the airport layout or the runways and taxiways with the version I am using which is
taxidraw-win32-20100726; although based on the fact that I am using Widows 7 (64) bit might have something to do with it.

As soon as I import ai network it just shows me the objects and thats it.
jtprophet
 
Posts: 205
Joined: Mon Apr 04, 2016 3:21 pm
Callsign: DAL1464

Re: WED export to IACO groundnet.xml

Postby pommesschranke » Fri Feb 17, 2017 10:05 pm

most airports have the "850" file format
taxidraw can not show those taxiways (with bezier curves)

using a background image might work

I only use taxidraw to view and modify existing groundnet xml files.

which airport do you need ?

will you try aptdat2sqlite.py && sqlite2xml.py
on windows ?
I only use it on linux. no idea if or how good it works on windows.
btw, I am the author of those 2 python programs.
pommesschranke
 
Posts: 1117
Joined: Sat Apr 27, 2013 8:58 pm
Location: EDLM & LJCE
Callsign: d-laser
IRC name: laserman
Version: git
OS: Linux Kubuntu 22.04

Re: WED export to IACO groundnet.xml

Postby jtprophet » Fri Feb 17, 2017 10:30 pm

So this is where my confusion starts, when I open TaxiDraw I tell it to open an existing airport and the second line below that wants to know where to pull the apt.dat file from. Well the only way I can get it to show the taxiways and runways including the ai network is to point it to an x-plane Robin Peel dating back to the last time that it was published; I'm able to make changes there no issues.
So when I'm done and ready to export/save does the 2 pthon files you wrote export the apt.dat file to the xml format for use in flightgear?
jtprophet
 
Posts: 205
Joined: Mon Apr 04, 2016 3:21 pm
Callsign: DAL1464

Re: WED export to IACO groundnet.xml

Postby pommesschranke » Sat Feb 18, 2017 5:08 pm

when you do it with TaxiDraw then you do not need the python scripts. choose

File->export AI network

and save it to Airports/I/C/A/ICAO.groundnet.xml
pommesschranke
 
Posts: 1117
Joined: Sat Apr 27, 2013 8:58 pm
Location: EDLM & LJCE
Callsign: d-laser
IRC name: laserman
Version: git
OS: Linux Kubuntu 22.04

Re: WED export to IACO groundnet.xml

Postby jtprophet » Sat Feb 18, 2017 9:54 pm

ok I'll try that thank-you, at home I run Ubuntu 16.04 is it possible to run taxidraw with wine?
jtprophet
 
Posts: 205
Joined: Mon Apr 04, 2016 3:21 pm
Callsign: DAL1464


Return to AI Traffic

Who is online

Users browsing this forum: No registered users and 3 guests