Air traffic simulation and visualization platform.
|
Map Symbol Visualization
This module provides visualization of aeronautical symbols.
For example:
import _ossimPlanet
import _symbol
globe = _ossimPlanet.ossimPlanet()
# ... globe initialization
symbol = _symbol.symbol(globe)
symbol.setSymbolType("wpt")
symbol.setLocation(0, -90, (0,'AGL'))
symbol.setColor(1,1,0,1)
while not globe.renderDone():
globe.renderFrame()
Import of Navigation Database Data
Helper functions were implemented for automated import of X-Plane navigation
database.
Importing X-Plane Navaids
You may import the X-Plane database data available at http://data.x-plane.com.
For example:
import _ossimPlanet
globe = _ossimPlanet.ossimPlanet()
# ... globe initialization
import xp_fix
fix = xp_fix.load(globe, "share/data/fix.dat")
import xp_nav
nav = xp_nav.load(globe, "share/data/nav.dat")
while not globe.renderDone():
globe.renderFrame()
Please note that displaying all waypoints and navigation aids around the world
requires poweful visualization hardware.
-
xp_fix.load(globe, file)
- The xp_fix.load() function loads all fixed waypoints (Fixes) from the
X-Plane database file. Fixes file format 600 is expected.
-
xp_nav.load(globe, file)
- The xp_nav.load() function loads all navigation aids (Nav-aids) from
the X-Plane database file. Nav-aids file format 810 is expected.
|