[QGIS-Developer] Troubles compiling QGIS master

2021-01-11 Thread Andreas Neumann
Hi, I am having troubles compiling QGIS master. It always hangs with output like the following: [0/1] Re-running CMake... -- QGIS version: 3.17.0 Master (31700) -- Found OpenCL C++ headers: /usr/include -- Could not find GRASS 7 -- Found Proj: /usr/local/lib/libproj.so version 7 (7.2.0) --

[QGIS-Developer] Creating a non trivial join/view via PyQGIS in a QgsProcessingAlgorithm

2021-01-11 Thread Gault Drakkor
I posted this to gis stack exchange. no answers as yet. Below is essentially the same. https://gis.stackexchange.com/questions/382141/create-non-trivial-join-view-via-pyqgis-in-a-qgsprocessingalgorithm In the context of QgsProcessingAlgorithm, what is the best way to take information from

Re: [QGIS-Developer] Issue with QGIS 3.16.2 standalone and GRASS 7.8.4

2021-01-11 Thread Andrea Giudiceandrea
Martin Pergler wrote > However, as far as I can tell, the OSGeo4W component installer seems to > only > know about 3.16.2*-1* and 3.10.13*-1*, though it does also install GRASS > 7.8.5. > > Therefore a seemingly up-to-date OSGeo4W install of QGIS + GRASS continues > to fail to load GRASS. Hi

Re: [QGIS-Developer] (Postgis)VectorLayer based on QgsFeatureRequest?

2021-01-11 Thread Richard Duivenvoorde
Hi, Thanks! My issue is not so much using the QgsFeatureRequest (and it's filters) in python. You can do a 'layer.getFeatures(request)' too. It's more like that I think it would be nice to have some kind of 'filtered'-layer notion, but a little more fine-grained then current 'filter'-use.

Re: [QGIS-Developer] Issue with QGIS 3.16.2 standalone and GRASS 7.8.4

2021-01-11 Thread Martin Pergler
Andrea Giudiceandrea wrote > yes, I can confirm that both 3.16.2-2 and 3.10.13-2 standalone installers > ship QGIS with GRASS 7.8.5 and the issue is now fixed for both thanks to > Jürgen E. Fischer. However, as far as I can tell, the OSGeo4W component installer seems to only know about 3.16.2*-1*

Re: [QGIS-Developer] (Postgis)VectorLayer based on QgsFeatureRequest?

2021-01-11 Thread JD L
Hi Richard, have you considered something like this (maybe not the optimal way) req = QgsFeatureRequest() req.setLimit(10) sink, dest = QgsProcessingUtils.createFeatureSink( uri, QgsProcessingContext(), source_layer.fields(), source_layer.wkbType(), source_layer.crs() )

[QGIS-Developer] (Postgis)VectorLayer based on QgsFeatureRequest?

2021-01-11 Thread Richard Duivenvoorde
Hi Devs, I have this project in which there is (a set of different) moving cars (in time and position), but I only want to show (and able to edit in a plugin) the LAST POSITION of the cars. In QGIS gui you can NOT use 'limit' or 'order' parts in the filter clause, I can only filter on car-ID

Re: [QGIS-Developer] Function to generate uri from settings in QGIS

2021-01-11 Thread Bo Victor Thomsen
Multiple thanks to both Alessandro and Etienne for helping me with this question. I owe you both a large cold beer (each !) next time we meet. Med venlig hilsen / Kind regards Bo Victor Thomsen Den 10-01-2021 kl. 04:10 skrev Etienne Trimaille: The connection API is indeed convenient for that

Re: [QGIS-Developer] [Qgis-community-team] Call For Community Voting members ballot

2021-01-11 Thread matteo
Hi all, I just want to introduce Enrico Ferreguti as one of the candidates. Very briefly, Enrico is the most active Italian plugin developer with 14 plugin published [0] (go2mapillary, go2streetview and refFunctions now in core) and with a very active participation in the Italian QGIS