Skip to content

gajgeospatial/osgearth_cdb

Repository files navigation

osgearth_cdb

Common Database Drivers for osgEarth. This repository contains source code for an open-source implementation of Common Database (CDB) drivers for osgEarth. The source code for the drivers resides under the src directory that accompanies this file. There are two drivers for incorporating CDB into osgEarth. The driver in the src\cdb directory handles imagery and elevation while the driver in src\cdb_features handles both geospecific and geotypical features. To date development has been toward the CDB 3.0 specification with the exception that some support has been added to the features driver to support some 3.2 capabilities that Presagis has included in its Camp Pendleton example CDB dataset. (I.E. the utilization of geotypical textures on supposedly geospecific models.) The terrain driver should function in osgEarth versions from 2.4 upward without modifications to the osgEarth libraries however the feature driver does require some modifications to the feature loading path of osgEarth to support the nature of CDB OpenFlight models. The files that need modification in osgEarth to support the feature driver are located in the osgEarth-2.6 directory. The OpenSceneGraph directory contains an update to the OpenFlight plugin for osg that is needed to load textures for CDB geospecific models that use the CDB 3.0 specification. In this case the model textures are found in a .zip file and require re-pathing of the texture names from the highest lod directory structure that a model may be represented in to the current lod being loaded. (See the CDB 3.0 specification for details on this) The modified OpenFlight plugin supports this if the optional parameters are present,

The tests directory contains an example earthfile that exercises the CDB drivers.

Questions or comments to glen.johnson@gaj-geospatial.com

About

Common Database Drivers for osgEarth.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages