In Build 2135 we have continued the process of developing new file formats for our software – this time adding a file that didn’t exist before: .genx
. (See the previous post for details.)
DTM Generator was originally conceived as a tool to batch-process the DTM generation for multiple 3DM Analyst projects. As such, 3DM CalibCam would first create a bunch of .Vwr files and then launch DTM Generator, providing the list of .Vwr files on the commandline.
In this build we have given DTM Generator a file format of its own. This is not only tidier (avoids filling the folder with .Vwr files), it also allows us to record the provenance in a single place.
The intermediate DTMs are also stored in a separate folder with same name as the .genx
file plus the suffix “Intermediate DTMs”.
As before, the metadata.json
file contains a "provenance"
array contains the history of the data:
|
|
After that, it contains the units for the project, followed by an array of images, and an array of pairs to process together:
|
|
Each image in the array of images has its hash recorded so that DTM Generator can verify that the image it is loading is the same as the image that was originally processed by 3DM CalibCam. It also points to the name of the ori file associated with the image, which is stored in a separate ori_files folder within the .genx
archive.
Everything is nicely self-contained, and when DTM Generator generates DTMs, it stores the provenance taken from the .genx
file and adds it to the provenance of the individual .dtmx
files that it generates.