NiVO / BY TECHNOGISGermany · Indonesia
Geospatial Delivery

Preserve QGIS Auxiliary Storage in a Drone Map Handover

Inspect QGZ project members, retain QGD auxiliary state and stable feature keys, and test the actual data dependencies behind a drone survey map.

Preserve QGIS Auxiliary Storage in a Drone Map Handover

Identify the project and its presentation state

A drone survey map can lose carefully positioned labels or other feature-specific presentation settings even when its main vector layer still opens. In QGIS, some of that state may belong to auxiliary storage associated with the project rather than to ordinary fields in the source layer. Before handing over a NiVO mapping package, identify what the project contains and what it references. This tutorial concerns a known local QGIS project copy. It does not inspect a real customer project or claim that a compressed project alone includes every observation, raster or linked document needed by the map.

Record the project revision, QGIS version, intended opening workflow and the accepted versions of its source layers. Distinguish source attributes used for analysis from presentation choices made while preparing a map. A label moved for readability is not a new surveyed position for the mapped object. Keep a reference view of important map areas so the recipient can compare the intended appearance. The handover should preserve useful presentation work while also explaining its role, rather than letting a visual adjustment be confused with a change to the underlying geospatial evidence.

Separate QGS, QGZ and QGD roles

The QGIS documentation describes QGS as the XML project definition and QGZ as a compressed ZIP archive containing the project and its associated QGD auxiliary database. It also explains that a QGS file saved without that compressed wrapper uses a companion QGD file alongside it when auxiliary storage is involved. Treat these roles explicitly when reviewing a package. Copying only the obvious XML file can omit associated state, while assuming that an archive extension guarantees a complete data delivery can conceal missing external dependencies. Inspect what was actually saved rather than relying on the size or name of one file.

The QGIS project-format documentation describes layers as links to their underlying datasets, with project properties such as styles and joins. A QGZ file is therefore not a universal promise that every referenced dataset has been embedded. Some workflows can add other members or attachments, so inventory the actual contents and references instead of imposing an assumed two-file layout. An empty auxiliary database can also be legitimate when no auxiliary data exist. The audit question is whether the intended state and required dependencies are retained, not whether every project has an identical member count.

Alternative NiVO V7 airframe with green markings, fixed wing, and vertical-lift rotors
Alternative NiVO V7 airframe with green markings, fixed wing, and vertical-lift rotors.Source: NiVO / TechnoGIS catalogue materials supplied by the site owner · Catalogue photo
Product context only; this photograph does not depict the constructed examples in this article.

List and check the archive without extracting it

For an identified QGZ working copy, the Python standard-library example below lists member names and uncompressed sizes, then performs the ZIP integrity check. It opens the archive in read mode and does not extract files or edit the project. Replace survey.qgz with the local project copy. Keep the report with the package inventory and its byte digest. Confirm that the expected project definition and auxiliary state are represented in the saved archive. If the archive cannot be opened, preserve the original and investigate the saved-file history before attempting an undocumented repair.

Python documents testzip as checking member CRCs and file headers, returning the first problematic member name or None. Interpret that result narrowly. A successful ZIP check does not validate project XML meaning, database relationships, source availability or the accuracy of the map. It also reads archive members, so plan the check for the known package size and available resources. The example is a documented inspection procedure; no real QGIS project was tested during article preparation, and no successful archive result or list of actual customer files is fabricated.

from zipfile import ZipFile

with ZipFile("survey.qgz", "r") as z:
    for item in z.infolist():
        print(item.filename)
        print("bytes:", item.file_size)
    first_bad = z.testzip()
    print("First bad:", first_bad)

Check the key that connects auxiliary values

QGIS describes auxiliary fields as a way to store data-defined presentation properties, including labels, symbols and diagrams, through an associated SQLite database and editable joins. The auxiliary layer uses a selected primary key to identify source features. Inspect that key in the actual project and source layer before accepting the handover. A layer that looks equivalent after an export may have different identifiers, so an apparently intact QGD file alone cannot establish that its stored properties still attach to the intended features. Preserve a stable and appropriate feature identity through any deliberate source-layer revision.

In the project's layer properties, inspect the auxiliary storage information and the relevant data-defined overrides. Compare a small set of known features whose presentation was customized. Check both the visible result and which source feature receives the auxiliary value. Do not clear or delete auxiliary storage merely to make a copied project open without a warning; those operations can remove the customization being preserved. If source identities legitimately changed, document and verify a migration in a new project revision. Retain the accepted original rather than treating a convenient rejoin as an invisible maintenance step.

Test actual dependencies from the destination copy

Open the proposed delivery from its destination folder using the intended QGIS environment. Verify the required source layers, rasters, joins, auxiliary properties and any relevant attachments. A project opened on the processing workstation may still resolve missing files through paths that the recipient does not possess. Inventory the actual references and supply the agreed data or documented access arrangement. Keep local package dependencies distinct from online resources whose availability is conditional. A working archive and an accessible vector layer are necessary evidence for some tasks, but neither proves that every map element can be reproduced after transfer.

Review important map extents and layouts against the recorded reference views. Confirm that customized labels still refer to the intended features and that source dates, coordinate references and analytical meanings remain clear. Preserve any intended distinction between the main survey dataset and a lighter presentation layer. If a source is replaced or relocated, repeat the key and appearance checks after saving the revised project. Do not accept a similar-looking overview as proof that auxiliary properties, joins and all source references survived. The destination test should exercise the specific presentation and data relationships the recipient is expected to use.

Keep the acceptance result traceable

Deliver a package index naming the project revision, its actual archive members or companion files, required datasets and relevant software environment. Retain the source-layer identities and the auxiliary join key in the technical notes. Record the ZIP inspection result separately from the destination opening and map checks. If auxiliary data are not used, state that finding rather than inventing a missing-file problem. If an appearance difference remains unresolved, identify the affected feature or layout and the next check needed to explain it. A recipient should be able to reproduce the same review without the original map author present.

In a NiVO survey handover, auxiliary-state preservation helps retain the work that makes a map readable while leaving the analytical evidence identifiable. The final conclusion should remain bounded: the supplied project retains the intended presentation state, resolves the agreed dependencies and links auxiliary values to the correct source features in the tested environment. It does not turn label positions into surveyed coordinates or make the project file a replacement for quality records and master data. Keeping those roles clear produces a map that is easier to use, maintain and assess after the original processing session has ended.

Technical references

  1. QGIS 3.44: working with QGS/QGZ project files ↗
  2. QGIS 3.44: project file format and linked data sources ↗
  3. QGIS 3.44: auxiliary storage, feature keys and QGD database ↗
  4. Python: ZIP member inspection and integrity checking ↗
← All articles

Related articles

All articles ↗
LET’S TAKE FLIGHT

Your next mission
starts with a conversation.

Talk to our team