Splitting Datasets into Individual MetaFlight files
Our tools work on one Geometry Grid Dataset (GGDS) at a time. Some MetaFlight files contain multiple GGDSs, so each one has to be moved into its own file. It is your responsibility to understand the syntax of the MetaFlight file and to know whether or not you need to split up datasets.
To split datasets:
- Create a copy of the original file for each dataset. Give each a name that will identify which dataset it contains.
- Open each copy of the original file in a text editor.
- In each file, delete all of the
<GeometryGridDataset>XML element blocks except the one for the dataset you want to have in this file.
When you are finished, each MetaFlight file will have only one GGDS and possibly one or more Virtual Texture Datasets (VTDS).