Skip to content

Latest commit

 

History

History
108 lines (82 loc) · 3.05 KB

File metadata and controls

108 lines (82 loc) · 3.05 KB

Miscellaneous

.. only:: html

   .. contents::
      :local:
      :depth: 1
      :class: toc-columns


Dataset Identification

Added in 4.0

Reports the name of GDAL drivers that can open files contained in a folder, with optional additional details, and write the result into an output vector layer.

This algorithm is derived from the GDAL dataset identify utility.

Attention!

Running this algorithm requires QGIS installed with GDAL >= 3.13.0 (see :menuselection:`Help --> About` menu).

Parameters

Label Name Type Description
Input folder INPUT [folder] Folder containing datasets to identify.
Perform recursive exploration of the input folder RECURSIVE

[boolean]

Default: True

If checked, the algorithm will scan subfolders recursively to identify datasets in the entire directory tree.
Add details about identified datasets in the output DETAILS

[boolean]

Default: True

If checked, additional details about each identified dataset will be added to the output vector layer.
Output file OUTPUT

[vector: any]

Default: [Save to temporary file]

Specification of the output vector layer. :ref:`One of <output_parameter_widget>`:

Outputs

Label Name Type Description
Output file OUTPUT [vector: any]

Vector layer containing the identification fields:

  • filename: name of the file.
  • driver: name of the GDAL driver that can open the file.
  • Additional fields if the Add details about identified datasets in the output option is checked:
    • layout: specifies the internal layout of the dataset, indicating how and where the different components of a TIFF file are stored. Currently, the only supported value (when set) is COG (Cloud Optimized GeoTIFF).
    • file_list: side-car files (files that store extra data) associated with the dataset.
    • has_crs: whether the dataset has a coordinate reference system defined.
    • has_geotransform: whether the dataset defines a geotransform that maps image (pixel–line) coordinates to georeferenced coordinates (projected or geographic coordinates).
    • has_overview: whether the dataset has overview.

Python code

Algorithm ID: gdal:dataset_identify