First install libbaglib from the conda-forge.
Then install the following additional conda-forge packages:
conda install -c conda-forge ninja gcc gxx
Finally, build BAG examples (make sure you are in the examples
sub-directory
when running these commands:
export CC=gcc # Windows: set CC=gcc
export CXX=g++ # Windows: set GXX=g++
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -B build -S .
cmake --build build
Contains a sample XML file and a prebuild BAG file as trivial examples.
A sample reading of a Bag file. See the readme.txt file inside the sample-data directory for more information to test this program.
Creates a sample 10x10 row/column BAG file. See the readme.txt file inside the sample-data directory for more information on how to test this program.
Creates and reads a GeorefMetadataLayer.
Creates a variable resolution BAG.
Reads a variable resolution BAG.