Large Image Support
DIVE supports large image datasets (GeoTIFF/TIFF) through tiled pyramid access.
Requirement: Internal Overviews
Large images must include internal overview levels (reduced-resolution pyramid levels) for tile rendering. Files without internal overviews can fail to load in the large-image viewer.
If a file is missing overviews, convert it before import.
Check a File
Run:
1 | |
Confirm that the output includes overview entries and record the min/max stats for each band. You will use those values for scaling during conversion.
Convert to a Pyramidal COG
Use gdal_translate with COG output, internal overviews, and explicit scaling:
1 2 3 4 5 6 7 8 9 10 11 12 | |
Replace <min> and <max> with the values from gdalinfo --stats (per band as needed).
Notes
- If your data is RGB, use per-band scaling options (
-scale_1,-scale_2,-scale_3) when channels need different ranges. - Re-import the converted
*_cog_scaled.tiffile into DIVE.