Well we have an SVG parser that reads the input svg file and extract
the polygons for the keywords buildings, runways & taxiways. The
vertices are then stored and duplicated to create the "roof". The side
polygons are computed by duplicating again 2 consecutive nodes that
form an edge.
The altitude is fetched from a running session of FlightGear via telnet for the location of the center of each building.
All the coordinates are then converted to meters using the 4 Lat/Long
lines present in the SVG file and then the Lat/Long coordinates of the
origin is obtained, this is needed in the .stg file.
That's pretty much it. I recently tried a new airport (Toronto, CYYZ)
given by Ampere, it looked pretty good besides the two problems
presented in the previous email.
- Re: [Flightgear-devel] svg2ac Julien Pierru
- Re: [Flightgear-devel] svg2ac Curtis L. Olson
- Re: [Flightgear-devel] svg2ac Ampere K. Hardraade
- Re: [Flightgear-devel] svg2ac Curtis L. Olson
- Re: [Flightgear-devel] svg2ac Julien Pierru

