This repository contains the specification of BAG data format and the necessary library code and examples required to build and work with data in the BAG format:
- api - This is the primary API directory and contains the source for the Bathymetric Attributed Grid format (BAG).
- configdata - Required XML support files. You must have an environment variable called BAG_HOME mapped to this directory in order to run the API functions.
- docs - Miscellaneous and historical documentation resides here
- examples - Contains programs to demonstrate some of the API functionality. In particular bag_create and bag_read are good starting points.
- python - Contains Python units tests and examples that make use of the SWIG interface.
- tests - Contains C++ tests.
The BAG specification and library are produced by the Open Navigation Surface project.
Documentation for the BAG specification and library can be found here, in particular:
Comprehensive build instructions can be found here.
For a Quick Start using make
to build C++ applications on Linux, see QUICKSTART.MD.