[Qgis-user] passing parameters to QGIS Python-Script started via Command Line

2022-08-08 Thread Drexel Peter via Qgis-user
Hi everyone, My goal: I want to open QGIS using the Command-Line, load a specific project, select specific features and zoom to the selected features. What sounds rather difficult is actually mostly solvable using the following: "C:\Program Files\QGIS 3.16\bin\qgis-ltr-bin.exe" -p

Re: [Qgis-user] [QGIS-Developer] Memory Leak / Slowdown?

2020-04-20 Thread Drexel Peter
Hi Matthias, they both do not work… So I will make a Ticket I think… Thanks anyway Matthias for your great support! Best greetings Peter Von: Matthias Gesendet: Montag, 20. April 2020 17:21 An: Drexel Peter ; qgis-user@lists.osgeo.org; qgis-develo...@lists.osgeo.org Betreff: Re: AW: AW

Re: [Qgis-user] [QGIS-Developer] Memory Leak / Slowdown?

2020-04-20 Thread Drexel Peter
yer(vlayer) vlayer.saveSldStyle (sldpfad) #QgsProject.instance().clear() But besides my personal “success”: including the 2 Lines should not lead to rising time /memory consumption or am I wrong? Should I make a ticket? Peter Von: Matthias Gesendet: Montag, 20. April 2020 15:40 An: Drexel Peter ;

Re: [Qgis-user] [QGIS-Developer] Memory Leak / Slowdown?

2020-04-20 Thread Drexel Peter
6.1.3 QScintilla2-Version 2.10.8 Kompiliert mit PROJ 6.3.1 Läuft mit PROJ Rel. 6.3.1, February 10th, 2020 BS-Version Windows 10 (10.0) Aktive Python-Erweiterungen db_manager; MetaSearch; processing Von: Matthias Kuhn Gesendet: Montag, 20. April 2020 12:50 An: Drexel Peter

[Qgis-user] Memory Leak / Slowdown?

2020-04-20 Thread Drexel Peter
Hi, I use a Python-Script to load all shapefiles in a directory tree one by one and export the sld-files. It works fine, but slows down incredible after ~100 files. So I tried the following barebone script with just the essentials (load shapefile, add it to the map canvas, remove it again and

[Qgis-user] QGIS 3, Import a project into an existing / or the open project, Python

2018-06-11 Thread Drexel Peter
Hi, I need some advice on how to import an existing project into my open project using Python in Qgis 3. I am looking for something similar to https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/loadproject.html, but the script should add the content of a .qgs-File (the layers,

Re: [Qgis-user] QGIS3 Processing Clip

2018-03-23 Thread Drexel Peter
)5522/75482-6 Von: Andreas Neumann [mailto:a.neum...@carto.net] Gesendet: Freitag, 23. März 2018 12:53 An: Drexel Peter Cc: qgis-user@lists.osgeo.org Betreff: Re: [Qgis-user] QGIS3 Processing Clip Hi Peter, You can find this setting in "Settings" --> "Options" --> "

[Qgis-user] QGIS3 Processing Clip

2018-03-23 Thread Drexel Peter
Hi all, In QGIS 3.0 I use native:clip in processing to clip a Shapefile with another shapefile. The Import-Shapefile contains some invalid polygons so I get an error Processing algorithm... AlgorithmDialog Input parameters: { 'INPUT' :