Back in 2005 Jon Stockill did some visualisation of OSM data in FlightGear, but there are also more recent developments.
Rivers, railway lines, and all other features (except roads for this version) are built from VMAP0 data. The roads were produced by converting the output of the protocol interfaces map command to the input format used by the tguserdef processor from TerraGear. Scenery tiles and the street data from 2005 took around an hour to build on a 1-GHz Athlon about 30 times as slow as the standard tiles. This required modification of the FlighGear construct utility to either remove, or vastly increase the resource limits it imposes on itself.
Buildings, aerials, etc. are placed according to obstructions data etc. See the FlightGear Scenery Object Database for some examples.
Despite the time taken to build the scenery the increased number of polys seems not to affect the frame rate to any great extent.
Obvious errors and future improvements
- Once road segments are joined together as roads the problem of the visible breaks on the outside edge of corners should be solved
- The key/value system will provide the means to generate roads with a more appropriate width (currently everything is 10m wide)
- The key/value system will also allow roads to be selected or discarded according to their classification — so a simplified road network can be used which should greatly improve processing time, and allow the scenery to be used on a greater range of systems.
- Currently the Thames doesn't fit between the roads that run along its banks — this is due to the inaccuracy of VMAP0 data.
elmaxo sceneries of France
A French user of FlightGear made, in 2009, scenaries for France with data from OSM.
Les scènes sont basées sur
- des informations d'altitude détaillées de Jonathan de Ferranti pour les alpes (http://www.viewfinderpanoramas.org/dem3.html),
- la base de données d'occupation des terres Corine 2006 (http://www.ifen.fr/index.php?id=88),
- OpenStreetMap pour les tracés de routes et voies ferrées (http://www.openstreetmap.org/).
The scenes are based on :
- detailed elevation information for the Alpes from Jonathan de Ferranti
- land use from Corine Land Cover
- railways and highways from OSM
As the FlightGear licence is not compatible with CC-by-SA, the result can't be integrated in the distribution.
The file is available at http://www.mguillaud.net/fg/custom-scenery-france-v1.tgz (781Mo)
The buildings as mapped in OSM can be turned into 3D models for use in FlightGear scenery. This is done with a custom written perl script. Current efforts are focused at generating textured and more realistic (roof shapes, actual height etc.) models.
More information at the FlightGear wiki.
- http://wiki.flightgear.org/index.php/Terragear_Corine - Howto about Building Europe scenery with SRTM v4, Corine landclass and OpenStreetMap data
- http://flightgear.org/forums/viewtopic.php?f=5&t=9737 - Forum topic about building from OSM data
- (fr) http://fr.flightgear.tuxfamily.org/forum/viewtopic.php?id=901 - Some technical explanations
- http://www.flightgear.org/forums/viewtopic.php?f=5&t=5631 Improved scenery for France