[Qgis-user] Is there any CLI to create and manage a QGIS project

Adam Nielsen a.nielsen at shikadi.net
Thu Jan 18 09:48:09 PST 2024


> I would like to create a project and then, for example, given a list of
> files, put all those whose names begin with "OC" in the ocean group, and
> all others in the root of the project, and finally sort them
> programmatically, according to values I have in a list of my own.
> 
> I know it is an XML file and I can use an XML cli utility.
> 
> Here I am asking if there is anything already dedicated to QGIS project.

There is quite extensive support for working with QGIS projects via
Python.  You could write a Python script and run it from the CLI.

Cheers,
Adam.


More information about the QGIS-User mailing list