24.2.1. Miscellaneous
24.2.1.1. Dataset Identification
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.
Attention
Running this algorithm requires QGIS installed with GDAL >= 3.13.0 (see menu).
Parameters
Label |
Name |
Type |
Description |
|---|---|---|---|
Input folder |
|
[folder] |
Folder containing datasets to identify. |
Perform recursive exploration of the input folder |
|
[boolean] Default: |
If checked, the algorithm will scan subfolders recursively to identify datasets in the entire directory tree. |
Add details about identified datasets in the output |
|
[boolean] Default: |
If checked, additional details about each identified dataset will be added to the output vector layer. |
Output file |
|
[vector: any] Default: |
Specification of the output vector layer. One of:
|
Outputs
Label |
Name |
Type |
Description |
|---|---|---|---|
Output file |
|
[vector: any] |
Vector layer containing the identification fields:
|
Python code
Algorithm ID: gdal:dataset_identify
import processing
processing.run("algorithm_id", {parameter_dictionary})
The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.