Re: [QGIS-Developer] Who manages the PR queue?
*Andrea Giudiceandrea* /Fri Jan 27 00:04:36 PST 2023/ Is the line "Send a message to Marco Hugentobler (who manages the PR queue)." still valid? Should it be removed or updated? A PR to remove such line from the Developers docs has been opened at https://github.com/qgis/QGIS-Documentation/pull/8002. Some other non merged PR are backports to release-3_22 branch and the last release of 3.22 is planned for today: https://github.com/qgis/QGIS/pull/51573 https://github.com/qgis/QGIS/pull/51539 https://github.com/qgis/QGIS/pull/51386 Those backported bug fixes missed the chance to be integrated in the last point release of QGIS 3.22. Best regards. Andrea___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
[QGIS-Developer] Debugging helpers in qt creator under python 3.11 -- solution
Hey list, Just in case anyone else is running into this Qt Creator bug : on systems with Python 3.11 current Qt Creator versions have broken debugging helpers, which means you can't see the contents of QString/QList/... (making QGIS debug much more painful then it should be!) The bug is described here: https://bugreports.qt.io/browse/QTCREATORBUG-28659 , with a patch included in this comment https://bugreports.qt.io/browse/QTCREATORBUG-28659?focusedCommentId=702724=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-702724 which you can apply directly to your Qt Creator install to fix the issue for now. Nyall ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] How to set defaults to QgsProcessingParameterMultipleLayers
On Sat, 28 Jan 2023 at 05:35, C Hamilton via QGIS-Developer wrote: > > I just received a request to update the Density Analysis plugin density hash > algorithms so they work with multiple layers and produce one density map > based off of multiple input layers. In the algorithm I have replaced > QgsProcessingParameterFeatureSource with QgsProcessingParameterMultipleLayers. > > Is there a way to automatically populate as default value of selected layers > in QgsProcessingParameterMultipleLayers with the selected layers or selected > groups of layers in the "Layer Panel"? This would be incredibly useful. You'd (unfortunately -- it's not a trivial change) need to do this via a custom Processing widget wrapper, so that your parameter gets its own widget class where you can implement this logic. Nyall > > I am doing this as a QgsProcessingAlgorithm. The layerType to > QgsProcessingParameterMultipleLayers is QgsProcessing.TypeVectorPoint. > > Thanks for your help. > > Calvin > ___ > QGIS-Developer mailing list > QGIS-Developer@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
[QGIS-Developer] Heads up: queued LTR branch now targets 3.28
Hi all, Quick heads up: Given 3.22 is effectively EOL upstream, the queued LTR fix branch on github now targets the 3.28 LTR release. Nyall ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] Autocomplete python code in QGIS compiled
On Tue, 10 Jan 2023 at 02:13, matteo via QGIS-Developer wrote: > > Hi all, > > maybe that's a silly question, but with all the self compiled QGIS > versions that I have (3.22, 3.28, master, ecc) QGIS is not > autocompleting the code, not in the console, editor, Processing script, > macros, etc etc. > > With the QGIS 3.22, but again the version seems not be the problem, > installed from packages, the autocompletion works as expected. > > Is there a parameter in the cmake that I have to adjust or is this > behavior expected? It was broken -- but has been fixed by Jürgen and is all working now. What we need now is someone with some insight into how the 3rd party .api files in https://github.com/qgis/QGIS/tree/master/python/qsci_apis were generated and how we can update these to recent library versions... Nyall > > p.s. working on a Debian Sid OS > > Cheers and thanks! > > Matteo > ___ > QGIS-Developer mailing list > QGIS-Developer@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
[QGIS-Developer] Issue reading world_map.gpkg
Hello, I'm trying to automate changes in the projection used by the map canvas. If I open the python console and use the following command sequence: novus_CRS = '+proj=lcc +lat_1c.0 +lat_2u.0 +lat_0p.0 +lon_0=-97.0 +datum=WGS84 +no_defs' crs = QgsCoordinateReferenceSystem.fromProj4(novus_CRS) qgsProject = QgsProject.instance() qgsProject.setCrs(crs) This works fine. However, and when I try to incorporate it programmatically (e.g. in a plugin), I keep getting the error: Failed to open /usr/local/share/qgis/resources/data/world_map.gpkg However, this file seems to be in the right subdirectory: $ cd /usr/local/share/qgis/resources/data ubuntu@ip-172-31-23-167:/usr/local/share/qgis/resources/data$ ls -l total 12744 -rw-r--r-- 1 root root 2542 Jun 8 2022 README_world_map.md -rw-r--r-- 1 root root 27743 Jun 8 2022 contributors.json -rw-r--r-- 1 root root 17711 Jun 8 2022 contributors.qml -rw-r--r-- 1 root root 8355 Jun 8 2022 qgis-hackfests.json -rw-r--r-- 1 root root 18507 Jun 8 2022 qgis-hackfests.qml -rw-r--r-- 1 root root 4412 Jun 8 2022 user_groups.qml -rw-r--r-- 1 root root 8897 Jun 8 2022 user_groups_data.json -rw-r--r-- 1 root root 12914688 Jun 8 2022 world_map.gpkg -rw-r--r-- 1 root root 25158 Jun 8 2022 world_map_generalize.model3 Not sure why of this behavior discrepancy console vs. programmatically. Thanks. AF ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer