NiVO / BY TECHNOGISGermany · Indonesia
Raster package interpretation

Multi-page TIFFs in Drone Mapping: Select the Dataset Before Its Bands

Inspect GDAL TIFF subdataset names and review each selected image before interpreting band counts or accepting a drone raster package.

Multi-page TIFFs in Drone Mapping: Select the Dataset Before Its Bands

Identify which image the application opened

A TIFF delivery can contain more than one image, while a receiving application displays only the selected one. If an analyst compares that display with a summary of another image in the same file, the apparent band count or raster dimensions can become confusing. Begin a NiVO raster review by identifying the dataset actually opened. This tutorial concerns multi-page TIFF interpretation through GDAL. It supplies no project raster, processes no observations and does not claim that a particular NiVO payload produces such a package. Preserve the received file and the actual reader report before deciding that a band or image is missing.

Record the complete delivery identity, producing software, receiving application and intended analytical role. Ask whether the recipient selected an image through a dataset dialog or opened the file through an automated workflow. Keep that selection with the report. A screenshot without the selected dataset name can conceal a genuine difference in scope. A filename identifies the container but may not fully identify the image being reviewed. Establish this relationship before proposing a conversion, because an export that silently selects one image can create a plausible derivative while omitting other contents that the delivery contract expected the recipient to retain.

Separate subdatasets from bands and internal structures

The GDAL GeoTIFF driver documents multi-page TIFF images as subdatasets. Its GTIFF_DIR dataset syntax uses an index beginning at one. GDAL also documents a SUBDATASETS metadata domain containing child dataset names and descriptions; the name is intended for opening the child, while the description is a readable label. Use the actual reported name when selecting an image. Do not assume the index is a band number. A band belongs to the dataset being examined, so a page selection and a band selection answer different questions about the package and should remain distinguishable in the review.

Do not construct an image inventory by counting every internal TIFF directory with an improvised parser. A TIFF can also carry structures associated with masks or overviews, and the driver has specific rules for interpreting them. Use the reader exposure appropriate to the actual file and software build. The driver documentation describes read-only support for certain subdataset overviews and masks through parent references; that does not make every internal structure an independent analytical image. Preserve the reported relationship rather than turning an internal-directory count into an unsupported claim about the number of delivered maps, channels or acquisition products.

NiVO VTOL V7 with a white fuselage, lift rotors, and yellow wing tips
NiVO VTOL V7 with a white fuselage, lift rotors, and yellow wing tips.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.

Capture the container report and reported child names

The illustrative commands below request the installed GDAL version and a JSON information report including the SUBDATASETS domain. Run them on an identified working copy if the actual environment supports the input. Retain the full report and diagnostics outside the received folder. No command execution on a real raster is claimed here. Read the returned names and descriptions without shortening away the part that selects the child image. If no child list is exposed, record that observation with the tool version and input identity rather than inventing pages because the delivery was described informally as a multi-image TIFF.

The second inspection command illustrates a child named GTIFF_DIR:2:accepted.tif. Use it only when the real report and intended selection support that name; the example does not promise that every TIFF has a second page. Quoting keeps the dataset string together at the command line. Preserve the actual selected string in the resulting review record. A successful open means that the reader returned information for the selected dataset, not that every image in the container was inspected or that the chosen page is the accepted analytical source. Confirm that scope before comparing the report with another application.

# Illustrative local filename; information reports only.
gdalinfo --version
gdalinfo -json -mdd SUBDATASETS accepted.tif
# Only after identifying this child in the actual package:
gdalinfo -json "GTIFF_DIR:2:accepted.tif"

Trace a constructed two-image band inventory

Imagine a fictional TIFF whose first selected image reports three bands and whose second reports one band. That is not, by itself, evidence of one four-band raster. It is an inventory of two separately selected images with their own reported contents. The example assigns no spectral meaning, resolution, reference definition or relationship between the images. A single-band image could serve many different purposes, so its role cannot be inferred from the count. Obtain the producer description and inspect the actual selected image before calling it a mask, an elevation model or a particular sensor channel.

Build a review table with one row per intended selected dataset. Record dimensions, band count, data types, interpretation metadata, validity information and the available reference evidence. Populate those fields from actual reports rather than copying them from the first page. If two images are meant to be used together, document the relationship and check the relevant geometry and sample semantics with suitable tools. Shared storage in one file is not proof of aligned cells or compatible analytical meaning. The constructed inventory teaches selection scope only; it does not establish that a real package is complete or ready for stacking into another product.

Test the intended receiving workflow explicitly

Open the agreed child image in the actual receiving application and compare its identity with the GDAL report. Inspect whether the workflow selects the intended image consistently when the package is reopened or used by a script. Record any selection limitations or unsupported features. If a recipient needs a separate analytical export, ask the responsible producer to create a clearly identified candidate through suitable tooling, preserving the received original. Avoid silently rewriting the sole delivery merely to simplify a viewer dialog. The export decision should follow the accepted product requirements and retain any information needed to understand the candidate relationship.

Review a candidate export with its own complete checks rather than relying on its appearance. Confirm the intended image content, band meanings, validity information, reference definition and relevant spatial acceptance evidence. A quick preview can look correct while referring to another page or losing a needed dependency. If the contract requires all images, show how each expected one is represented in the recipient package. If it requires only one, state which one and why. Keep a missing or unresolved selection as a finding instead of describing a partially examined container as fully accepted because one page opened without an error.

Deliver an image-specific acceptance record

A reproducible handoff identifies the container revision, reader build, selected dataset name, observed bands and intended role. Include the actual reports, receiving-test context and unresolved limitations. Another analyst should be able to open the same child image without relying on a remembered dialog selection. This is especially useful when two applications show different summaries for what appears to be the same filename. The record can establish whether the disagreement concerns selection scope before a reviewer investigates a genuine content, reference or compatibility problem. An unexecuted information command remains a method example and must not be presented as a completed project audit.

For NiVO mapping workflows, this turns a vague TIFF band complaint into a concrete question about which image was selected and what it contains. It complements BigTIFF container-size and sidecar-reference reviews while addressing a different issue. Keep the original package and the accepted selection record together through delivery. A recipient then has a clear account of what was inspected, how the selected image relates to the container and what additional evidence is needed for analytical use. The value is a precise and repeatable interpretation, without inventing a sensor schema or assuming that one filename guarantees one raster dataset.

Technical references

  1. GDAL GeoTIFF driver: subdatasets and related structures ↗
  2. GDAL raster data model: SUBDATASETS domain ↗
  3. GDAL gdalinfo information reporting ↗
← All articles

Related articles

All articles ↗
LET’S TAKE FLIGHT

Your next mission
starts with a conversation.

Talk to our team