Skip to content

CLC 2024 metadata guide

Jiří Kadlec edited this page Dec 15, 2025 · 14 revisions

CLC 2024 Metadata guide

README — Generate CLC2024 XML Metadata

This script generates XML metadata for your national CLC2024 dataset, ready to upload to the QC Tool.

1) What you need:

Python 3.x installed

Internet access (only to install Python packages once)

2) Prepare your folder

Put the script into the same folder as your input data:

Possible inputs: clc2024_xx.gpkg (GeoPackage) or clc2024_xx.gdb (File Geodatabase)

If both exist, the script prefers GPKG.

The folder name can be anything — the script does not depend on the folder name.

Example:

YourFolderName/ CLC2024_GenerateMetadata.py clc2024_xx.gpkg (or) clc2024_xx.gdb

3) Install required Python packages

Open a terminal/command prompt in the folder and run:

python -m pip install fiona pyproj

(Use exactly what your script imports.)

  1. Run the script

In the same folder, run:

python clc2024_generate_metadata.py

5) What happens next

The script detects the input dataset in the folder (GPKG preferred over GDB).

You will be asked to enter a contact e-mail address.

The script writes the generated XML metadata into the same folder as the script.

The XML is then ready for upload to the QC Tool.

Troubleshooting (quick)

No XML created: make sure the folder contains a valid *.gpkg or *.gdb.

Package/import error: re-run step 3 (install packages).

Contact support e-mail: clc24delivery@gisat.cz

Clone this wiki locally