Re: [QGIS-Developer] pyqgis QgsGeometrySnapper does not snap to a source created inside a function

2023-10-20 Thread Gabriel De Luca via QGIS-Developer
that > the layer object should persist in the outer scope. > > Regards, > > Germán > > > El vie, 20 oct 2023 a las 5:30, David Strip () > escribió: > >> On 10/19/2023 10:32 AM, Gabriel De Luca via QGIS-Developer wrote: >> >> Hi German, >> >

Re: [QGIS-Developer] pyqgis QgsGeometrySnapper does not snap to a source created inside a function

2023-10-19 Thread Gabriel De Luca via QGIS-Developer
er? > I mean: > > > *referenceSource = create_scratch_reference_layer()* > *snapper = QgsGeometrySnapper(referenceSource)* > > instead of: > > *snapper = QgsGeometrySnapper(* > *referenceSource=create_scratch_reference_layer()* > *)* > > Regards, > > Germ

[QGIS-Developer] pyqgis QgsGeometrySnapper does not snap to a source created inside a function

2023-10-19 Thread Gabriel De Luca via QGIS-Developer
Hello all, I am working with the QgsGeometrySnapper pyqgis class, and have a problem to snap to a reference layer which is created inside a function (and returned by it). The code shared at [1] prints: result = Which means that the geomPolygon was not snapped to the reference layer. Bu

[QGIS-Developer] Best practices for storing plugin settings

2023-10-15 Thread Gabriel De Luca via QGIS-Developer
Hello everyone, I'm developing a plugin and I'm not sure where to write the settings. Should I create the settings object with my own organization and application? I would expect a plugin's settings to be stored in the profile folder where the plugin is installed, within the same qgis configu

Re: [QGIS-Developer] Slow Joins on Virtual Layers

2023-05-20 Thread Gabriel De Luca via QGIS-Developer
Hi, What I have noticed is that the virtual layer performance drop occurs only joining spatial tables in PostGIS. If the original tables do not contain geometry, or if they are stored in another format (I tried spatialite and shapefile) the performance is normal (a few seconds for an attributes

Re: [QGIS-Developer] Call for co-maintainers of the QGIS hub

2023-04-05 Thread Gabriel De Luca via QGIS-Developer
Hi Tim, I could help keep an eye on new submissions and test them on my machine. My osgeo username is gabrieldeluca. Count on me if you think I can be of help. Regards, Gabriel El mar, 4 abr 2023 a la(s) 12:40, Tim Sutton via QGIS-Developer ( qgis-developer@lists.osgeo.org) escribió: > Dear