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

Alexei alexei at fastmail.net
Thu Jan 18 09:53:38 PST 2024


You might find something useful in this QGIS deployment script:

https://www.northrivergeographic.com/qgis-deployment-cli/

Alexei

On January 18, 2024 5:48:09 PM GMT, Adam Nielsen via QGIS-User <qgis-user at lists.osgeo.org> wrote:
>> 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.
>_______________________________________________
>QGIS-User mailing list
>QGIS-User at lists.osgeo.org
>List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240118/721fc13f/attachment.htm>


More information about the QGIS-User mailing list