[QGIS-Developer] Using a Geodatabase as processing feature sink with Python

2024-06-14 Thread Simon Gröchenig via QGIS-Developer
GDB in the processing dialog. Simon ___ Vermessungskanzlei Neumayr Simon Gröchenig - Geoinformation [cid:7719df28-e360-455f-9e12-48f82517bd3f] Albin Egger-Str. 10 9900 Lienz Tel: +43 4852 68568 31 Mobil: +43 664 1544804 Email: groeche...@zt-gis.at<mailto:groeche

[QGIS-Developer] Short freezes during panning map

2024-01-01 Thread Simon Gröchenig via QGIS-Developer
Hi developers, happy New Year! A customer is working with a QGIS project (which I cannot share in public) with many layers. Panning/Moving to an location outside the current extent triggers short (0,5-1 sec) freezes. Using the project with the old 3.16 version is working without freezes du

Re: [QGIS-Developer] Reading current measurement with python

2023-10-09 Thread Simon Gröchenig via QGIS-Developer
023 15:00 An: qgis-developer@lists.osgeo.org Cc: Simon Gröchenig Betreff: Re: [QGIS-Developer] Reading current measurement with python Hi Simon, Ok, I understand your question now. Unfortunately, the measurement tool is not accessible with the python API. As I don't have the context explaining why

Re: [QGIS-Developer] Reading current measurement with python

2023-10-04 Thread Simon Gröchenig via QGIS-Developer
Hi Jacky, thanks for your help and for pointing me to this code snippet. However, I see that the measurement tools are instances of QgsMapTool with an QAction (and not QgsMapToolDigitizeFeature) and therefore mapTool().pointsZM() is not available. Now I wonder if I can utilize the QgsRubberBan

[QGIS-Developer] Reading current measurement with python

2023-10-01 Thread Simon Gröchenig via QGIS-Developer
Hi list, is it possible to get the current line/area measurement with Python? Simon ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/m

[QGIS-Developer] Blocknames in DXF export

2023-06-21 Thread Simon Gröchenig via QGIS-Developer
Hi list, I am trying to use tthe native:dxfexport algorithm in a python plugin and I am looking for a way to modify the blockname from symbolLayer0 (and counting) to a custom name. I identified that these blocknames are created for layers with categorized renderers. Is this somehow possible wi

[QGIS-Developer] Active theme with Python

2023-03-09 Thread Simon Gröchenig via QGIS-Developer
Hi all, how can I get the active map theme (or None) with Python? Until now, I can only read all themes and apply one using QgsMapThemeCollection. Thanks, Simon___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.

[QGIS-Developer] Using QgsProfilePlotRenderer in processing algorithm

2022-12-05 Thread Simon Gröchenig via QGIS-Developer
Hi all, I have created a simple python script that generates and renders a series of profile plots. It works fine. Now I would like to transform the script into a processing algorithm in order to create a better UX and to allow users to set some parameters (e.g. plot distance in exported im

Re: [QGIS-Developer] Access QgsVectorLayer from child algorithm

2021-11-24 Thread Simon Gröchenig
/api/classQgsProcessingUtils.html#aa1c2360e52d2ed8100faf02a35125b17 Le mer. 24 nov. 2021 à 11:19, Simon Gröchenig a écrit : Hi developers, I am developing a Python processing algorithm with some child algorithms. I am struggling to find a way to access a child algorithm&#

[QGIS-Developer] Access QgsVectorLayer from child algorithm

2021-11-24 Thread Simon Gröchenig
#x27;INPUT': QgsVectorLayer('Point?crs=epsg:31258', 'locations', "memory"),     'DISTANCE': 10,     'OUTPUT': 'TEMPORARY_OUTPUT' } result = processing.run("native:buffer", parameters, is_child_algorithm=False ) vector_layer = re

Re: [QGIS-Developer] Enable variables in QgsPropertyOverrideButton with python

2019-10-18 Thread Simon Gröchenig
::paintEvent : QToolButton::showMenu : QToolButton::~QToolButton : ... Do you have an idea why this happens? Simon Am 18.10.2019 um 01:07 schrieb Nyall Dawson: On Fri, 18 Oct 2019 at 06:29, Simon Gröchenig wrote: Hi, I want to add a QgsPropertyOverrideButton to define a expression to filter

[QGIS-Developer] Enable variables in QgsPropertyOverrideButton with python

2019-10-17 Thread Simon Gröchenig
Hi, I want to add a QgsPropertyOverrideButton to define a expression to filter features in a python plugin. Specifically, I want to filter the features using the @altas_feature variable. However, all variables are missing in the expression dialog. Can anyone tell me how I can add the variabl

[QGIS-Developer] Feedback about pending plugin approval

2019-08-19 Thread Simon Gröchenig
Hi, I am waiting for the approval of a new version of the plugin (GPX Segment Importer) since 1 week. All previous versions were approved fast, so I want to ask for some feedback on the plugin approval (holiday season, some issues with the plugin, ...)!? Simon __

Re: [QGIS-Developer] line_substring start- and end distance

2019-03-08 Thread Simon Gröchenig
Thank you very much, that is exactly what I need. Simon Am 08.03.2019 um 02:35 schrieb Nyall Dawson: On Thu, 7 Mar 2019 at 19:12, Simon Gröchenig wrote: Hi all, I have a question concerning the line_substring and recently updated $length expressions. I have a linestring (EPSG:4326) and a

[QGIS-Developer] line_substring start- and end distance

2019-03-07 Thread Simon Gröchenig
Hi all, I have a question concerning the line_substring and recently updated $length expressions. I have a linestring (EPSG:4326) and a relative start- and end-offset (in %) and I want to create the sub linestring. The start- and end distances at the line_substring expression should be set in

[QGIS-Developer] Plugin for both QGIS2 and QGIS3

2018-01-16 Thread Simon Gröchenig
Hi, I aim to release a QGIS3-version of my QGIS plugin "GPX Segment Importer". I would like to ask you if there exists a common approach for releasing versions for both QGIS2 and QGIS3? Should I create a new plugin for QGIS3 or can I somehow use the existing plugin for both? Simon