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

2024-01-18 Thread Alexei via QGIS-User
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 
 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@lists.osgeo.org
>List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


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

2024-01-18 Thread Adam Nielsen via QGIS-User
> 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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


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

2024-01-18 Thread andy via QGIS-User
Hello,
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.

Thank you

-- 
___

Andrea Borruso
website: https://medium.com/tantotanto
38° 7' 48" N, 13° 21' 9" E, EPSG:4326
___

"cercare e saper riconoscere chi e cosa,
 in mezzo all’inferno, non è inferno,
e farlo durare, e dargli spazio"

Italo Calvino
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user