Re: Required software to convert BTG to any standard file format
Hamish <[email protected]> Wed, 17 Nov 2004 19:34:18 +1300
| Newsgroups | gmane.games.flightgear.terragear.devel |
|---|---|
| Message-ID | <[email protected]> |
> What I did was use write_bin() and write_ascii() (in SimGear) for a > guide line on how the data is formatted and just wrote the code to > output in the format I needed (SPX-200). I'm looking into a way to > convert the .btg files into something Plib can understand (maybe a > write_ssg()). This would possibly give us the ability to output stuff > in many different output formats. I've just started looking into this > and don't know if it'll work yet. Maybe use something more than Plib? e.g. GDAL/OGR, supports many many input/output formats anyone would want, BSD license I think.. http://gdal.org/ http://gdal.org/ogr/ (GDAL for grids; OGR for TINs [triangles]) perhaps "OGC Simple Feature" format? http://gdal.maptools.org/ogr/ http://www.opengeospatial.org/ > Is there any specific format you need? Are you interested in .. > 1) terrain, see above, or use SRTM directly? > 2) airports, easy enough to parse from the input file? > 3) objects/building Need to use a 3D vector model, e.g. GRASS 5.7: http://grass.ibiblio.org/grass57/index.html or DXF-3D (proprietary, maybe with non-libre OpenDWG toolkit) regards, Hamish _______________________________________________ Terragear-devel mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/terragear-devel 2f585eeea02e2c79d7b1d8c4963bae2d