Re: [QGIS-Developer] How to deal with QGIS plugins which install additional packages

2024-10-29 Thread Matthias Kuhn via QGIS-Developer
at > information being presented in the plugin info) about additional > dependencies which QGIS will automatically install for the user (if the > user accepts). > > > > -Ethan > > > > *From:* Joona Laine > *Sent:* Wednesday, October 23, 2024 8:10 AM > *To:* M

Re: [QGIS-Developer] How to deal with QGIS plugins which install additional packages

2024-10-23 Thread Matthias Kuhn via QGIS-Developer
27;] = full_proxy_url* > > *subprocess.check_call([pip_exec, "install", "--upgrade", > "PyQtWebEngine==5.15.6"], env=env)* > > *elif system == 'Linux':* > > *subprocess.check_call(["sudo", "a

Re: [QGIS-Developer] How to deal with QGIS plugins which install additional packages

2024-10-22 Thread Matthias Kuhn via QGIS-Developer
On Wed, Oct 23, 2024 at 2:49 AM Nyall Dawson via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > > > On Wed, 23 Oct 2024, 9:20 am Greg Troxel via QGIS-Developer, < > qgis-developer@lists.osgeo.org> wrote: > >> Thomas B via QGIS-Developer writes: >> >> > Dear QGIS-Developers, >> > >> > A

Re: [QGIS-Developer] Is there a recommended GDAL version for QGIS 3.34?

2024-09-07 Thread Matthias Kuhn via QGIS-Developer
Hi Thomas, I would recommend opening a pull request (flag it as draft if not yet sure if it's ready for review) and see what feedback you get from CI. You can also run a limited number of tests locally for a shorter feedback loop during development / feedback for test results. Your time is probab

Re: [QGIS-Developer] [Qgis-psc] QGIS.org new website now online

2024-07-17 Thread Matthias Kuhn via QGIS-Developer
Hi Tim, Anita, Kontur and all, I recently did a presentation about "what's new in QGIS" at the Swiss user group meeting and already mentioned this as one of the top amazing achievements of the last year. I'm happy that we have a good and professional looking website and I'm sure that many newcomer

Re: [QGIS-Developer] Request for review before new release is cut

2024-06-21 Thread Matthias Kuhn via QGIS-Developer
Hi I do think 1 of them is a user facing issue. It had a test added a couple of minutes ago, so it's coming in hot. It's approved now. 2 of the pull requests are in draft, so not ready for review. The other 2 are not user facing bugs but improving handling of local test execution, which I don't e

Re: [QGIS-Developer] Hardware Considerations for QGIS Specialists

2024-03-18 Thread Matthias Kuhn via QGIS-Developer
Hi Adam, Both, Ram and CPU, play an important role and you will see better performance results. Which of the two is more important heavily depends on the particular use case. The graphics card on the other hand is currently only used for very specific needs. It would be possible to further enhance

Re: [QGIS-Developer] Compiling against homebuilt GDAL

2024-02-28 Thread Matthias Kuhn via QGIS-Developer
On Wed, Feb 28, 2024 at 7:45 PM Even Rouault via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > and then when configuring QGIS, use GDAL_DIR=$HOME/install-gdal-3.7.2 . > I'm not totally sure about that last part. may require tweaking. you could > alter the PATH to point to $HOME/instal

Re: [QGIS-Developer] Another (final?) qt6 progress catchup?

2024-02-28 Thread Matthias Kuhn via QGIS-Developer
Hi Jürgen On Tue, Feb 27, 2024 at 9:16 AM Jürgen E. Fischer via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > Hi Matthias, > > On Mon, 12. Feb 2024 at 08:11:32 +0100, Matthias Kuhn via QGIS-Developer > wrote: > > I had a bit of fun over the weekend trying to

Re: [QGIS-Developer] Another (final?) qt6 progress catchup?

2024-02-11 Thread Matthias Kuhn via QGIS-Developer
Hi, I had a bit of fun over the weekend trying to build QGIS with Qt6 for Windows (unfortunately no executable yet), and would be interested in joining. On Mon, Feb 12, 2024 at 5:44 AM Nyall Dawson via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > Hi lists, > > I'm thinking it's prob

Re: [QGIS-Developer] Compilation error during cmake configuration

2024-02-11 Thread Matthias Kuhn via QGIS-Developer
Hi, This is introduced by https://github.com/qgis/QGIS/pull/56284. It looks like the Qt5Keychain cmake config contains paths from the system where it was built originally. Ideally this should be fixed in the Qt5Keychain package of OSGeo4W. If this is not possible, we'll probably have to re-add a

Re: [QGIS-Developer] Backporting qt6 sip bindings to 3.34?

2024-02-09 Thread Matthias Kuhn via QGIS-Developer
cannot see anything bad +1 On Sat, Feb 10, 2024 at 12:12 AM Even Rouault via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > > Le 10/02/2024 à 00:07, Nyall Dawson via QGIS-Developer a écrit : > > Hey list, > > > > What does everyone think about us backporting the python/PyQt6/ > > direc

Re: [QGIS-Developer] Code repository link not updated in Plugin manager and plugin website

2024-01-28 Thread Matthias Kuhn via QGIS-Developer
Hi Raymond Lova is doing some excellent work on the plugin repository recently. Maybe he will find the time to look into this? In any case, I think it would be worth opening an issue with your research on https://github.com/qgis/QGIS-Django/issues to not forget about it and have a contextualized d

Re: [QGIS-Developer] plugins: pip dependecies

2024-01-26 Thread Matthias Kuhn via QGIS-Developer
Hi Martin, You might try qpip, it's designed for exactly this purpose: https://github.com/opengisch/qpip Kind regards Matthias On Fri, Jan 26, 2024 at 11:38 AM Alessandro Pasotti via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > Hi Martin, > > plugin dependencies are for plugin depe

Re: [QGIS-Developer] QGIS plugin depends on pypi package

2024-01-20 Thread Matthias Kuhn via QGIS-Developer
xt. 56074 > > Web: https://geg.uoguelph.ca/faculty/lindsay-john > > Research page: https://jblindsay.github.io/ghrg/index.html > > WhiteboxTools GIS project: https://www.whiteboxgeo.com/ > > Twitter: https://twitter.com/whiteboxgeo > -- > *From:* QGIS-Devel

Re: [QGIS-Developer] QGIS plugin depends on pypi package

2024-01-19 Thread Matthias Kuhn via QGIS-Developer
Hi John, A former colleague of mine developed "qpip". This is meant as a pip dependency manager for plugins and will install any additional dependencies from a supplied requirements.txt in a controlled way into the user profile folder. There has never been any big announcement done regarding this

Re: [QGIS-Developer] QGIS Full Stack Web Developer Report

2023-11-27 Thread Matthias Kuhn via QGIS-Developer
27;t prioritize them. Thank you and best regards Matthias On Mon, Nov 27, 2023 at 10:15 AM Tim Sutton wrote: > Hi all > > On Mon, Nov 27, 2023 at 1:32 AM Nyall Dawson > wrote: > >> >> On Mon, 27 Nov 2023 at 00:19, Tim Sutton via QGIS-Developer < >> qgis-de

Re: [QGIS-Developer] QGIS Full Stack Web Developer Report

2023-11-25 Thread Matthias Kuhn via QGIS-Developer
Hi, Thank you very much Lova for working on this application, it's a very important piece in the QGIS ecosystem! For the current discussion, I would also suggest making the license recommended for now and only start enforcing it on a schedule. And I was wondering if a license field in the metadat

Re: [QGIS-Developer] Future of OTB provider plugin?

2023-11-13 Thread Matthias Kuhn via QGIS-Developer
+1 Matthias On Sun, Nov 12, 2023 at 10:39 PM Nyall Dawson via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > Hi list, > > I'd like to kick start some discussions about the future of the official > OTB Processing Provider plugin which comes pre-installed with QGIS. > > As you may or ma

Re: [QGIS-Developer] QGIS repository management

2023-10-18 Thread Matthias Kuhn via QGIS-Developer
Yes, pretty much. Interesting is, that for the other job based on fedora 38 the cache works, see e.g. working: https://github.com/qgis/QGIS/actions/runs/6560633128/job/17818675001#step:7:117 not working: https://github.com/qgis/QGIS/actions/runs/6560633128/job/17818674503#step:7:182 Matthias On W

Re: [QGIS-Developer] QGIS repository management

2023-10-18 Thread Matthias Kuhn via QGIS-Developer
On Wed, Oct 18, 2023 at 9:11 AM Julien Cabieces < julien.cabie...@oslandia.com> wrote: > > > Is there anything I've missed? > > > A missing external ressource (OTB, oracle binaries...) that we get with > curl. This one for > instance recently : > > https://github.com/qgis/QGIS/actions/runs/6549790

Re: [QGIS-Developer] QGIS repository management

2023-10-17 Thread Matthias Kuhn via QGIS-Developer
On Tue, Oct 17, 2023 at 9:19 PM Nyall Dawson via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > > > > IMHO, the main issue here is that the CI is too often broken for no > > reasons related to the PR content. And most of the time recently, it's > > because of one of the mingw jobs. > >

Re: [QGIS-Developer] QGIS repository management

2023-10-17 Thread Matthias Kuhn via QGIS-Developer
In my experience, the peer reviews have proven to be an effective tool to improve the code quality. I think it can be explained with a four eyes principle. The first two eyes are involved in writing the code, the second pair of eyes that validates needs to be a trusted pair. For a code base of the

Re: [QGIS-Developer] [Qgis-psc] Proposal: Core committer rights for Andrea Giudiceandrea

2023-08-22 Thread Matthias Kuhn via QGIS-Developer
Andrea is active in QGIS development in several very important places and has proven to see things in the bigger context more than once. A big +1 On Mon, Aug 21, 2023 at 12:37 AM Nyall Dawson via QGIS-PSC < qgis-...@lists.osgeo.org> wrote: > Hi PSC, > > I'd like to propose that core committer rig

Re: [QGIS-Developer] DWG/DXF QGIS on Linux/Debian

2023-07-13 Thread Matthias Kuhn via QGIS-Developer
Hi Matteo, libdxfrw doesn't support this version yet. There's an open PR for libdxfrw for importing newer versions: https://github.com/LibreCAD/libdxfrw/pull/63 You might be able to manually patch it if you are adventurous Matthias On Thu, Jul 13, 2023 at 9:44 AM Stefan Giese (WhereGroup) vi

Re: [QGIS-Developer] 'Sensors' in Project Properties?

2023-06-06 Thread Matthias Kuhn via QGIS-Developer
Hi Richard, It's probably best to start here https://github.com/qgis/QGIS/pull/52297 Plus a couple of side PRs: https://github.com/qgis/QGIS/pulls?q=is%3Apr+sensor+is%3Aclosed Cheers matthias On Tue, Jun 6, 2023 at 10:26 AM Richard Duivenvoorde via QGIS-Developer < qgis-developer@lists.osgeo.org

Re: [QGIS-Developer] No module named 'qgslayoutchecker' using "qgis/qgis:latest"

2023-05-09 Thread Matthias Kuhn via QGIS-Developer
And it's open https://github.com/qgis/QGIS/pull/53053 Thanks Paolo, thanks Harrissou On Tue, May 9, 2023 at 1:52 PM Matthias Kuhn wrote: > Hi Harrissou, > > I have a branch ready but github errors with 500 at the moment. As soon as > they got their services under control agai

Re: [QGIS-Developer] No module named 'qgslayoutchecker' using "qgis/qgis:latest"

2023-05-09 Thread Matthias Kuhn via QGIS-Developer
Hi Harrissou, I have a branch ready but github errors with 500 at the moment. As soon as they got their services under control again, the PR will be opened Matthias On Tue, May 9, 2023 at 12:07 PM DelazJ via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > Hi devs, > > Can someone plea

Re: [QGIS-Developer] [Qgis-psc] QGIS QT6 meeting minutes

2023-04-03 Thread Matthias Kuhn via QGIS-Developer
Hi all, Thanks for working on this Julien. I had good feedback from KDAB regarding QtWebEngine/Qt3D with the recommendation to just copy or subclass Qt3DWindow to disable the offending call that overwrites the default. Cheers Matthias On Mon, Apr 3, 2023 at 5:25 PM Alessandro Pasotti via QGIS-

Re: [QGIS-Developer] [Qgis-psc] QGIS webserver size vs publishing old docs

2023-03-20 Thread Matthias Kuhn via QGIS-Developer
Hi all, before we all spend too much energy and time on this, would simply buying more space for that also be a (probably not even that expensive) option? Matthias On Mon, Mar 20, 2023 at 5:16 PM Andreas Neumann via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > Hi all, > > I agree w

[QGIS-Developer] New QEP: Cachable provider metadata

2023-01-06 Thread Matthias Kuhn via QGIS-Developer
Hi all, Just a heads up, I have published a new QEP for cachable provider metadata. This has the potential to improve the QGIS project loading times for desktop as well as for web services. https://github.com/qgis/QGIS-Enhancement-Proposals/issues/261 I'm looking forward to critical analysis a

Re: [QGIS-Developer] How to build qgis on Windows 10

2022-12-27 Thread Matthias Kuhn via QGIS-Developer
Hi, If you are building with vcpkg, it's worth having a look at QField which also builds against vcpkg libraries with a quite recent vcpkg version and a set of overlay ports. https://github.com/opengisch/QField/tree/master/vcpkg/overlay Best regards Matthias On Sun, Dec 25, 2022 at 7:49 PM Uhrig

Re: [QGIS-Developer] Offering QGIS installers through Windows store

2022-12-20 Thread Matthias Kuhn via QGIS-Developer
Hi all, I have had quite good experience with vcpkg for packaging qfield [1] (and remember waiting for months for qt updates on conda), we are also considering this for building mac packages. Furthermore, there are many dependencies already prepared for UWP as first class citizen. If a change of

Re: [QGIS-Developer] Offering QGIS installers through Windows store

2022-11-22 Thread Matthias Kuhn via QGIS-Developer
Hi Anita, A version in the windows store would be great. I have had a look at this in the past (2 years ago): - There is a requirement for every library in the package to be "UWP compatible". At that time, libpq (postgresql) didn't have that, so I stopped. It's hard to say how many other packa

Re: [QGIS-Developer] QGIS attribute form - changing values with Python of disabled widgets

2022-11-07 Thread Matthias Kuhn via QGIS-Developer
Hi Andreas, How about going the other way around and leaving them as editable in the config and disabling the widget via python instead? Matthias On Mon, Nov 7, 2022 at 3:42 PM Andreas Neumann via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > Hi, > > I have a QGIS form with a number

Re: [QGIS-Developer] Vector destination vs feature sink

2022-10-23 Thread Matthias Kuhn via QGIS-Developer
Hi Anita, A QgsFeatureSink is an interface for accepting features. This can be a QgsVectorLayer but does not have to be one. It can also be a spatial index, a vector file writer or others. I.e. your algorithm specifies that it produces "features" which can be sent to a vector layer, another algori

Re: [QGIS-Developer] Max connection PostgreSQL limit

2022-10-06 Thread Matthias Kuhn via QGIS-Developer
Hi Francisco, QGIS does internally have connection pooling and uses up to 8 connections per database. It detects common database connections based on the URI, where there may be different parameters used for layers even if they come from the same database (e.g. SSL parameters, authentication, ...)

Re: [QGIS-Developer] Model for Temporal Measurement (vector) Datasets ?

2022-09-04 Thread Matthias Kuhn via QGIS-Developer
Hi Richard, It seems to me this should be possible using: 1. Two tables: - Points - Measurements (Timestamp, Measured attribute) 2. A view (Points LEFT JOIN Measurements) Timescale as proposed by Tim can be added to the mix to optimize things if you have additional requirements for time-specif

Re: [QGIS-Developer] Fwd: [Qgis-user] Latest development version of QGIS as a .msi standalone installer ?

2022-08-25 Thread Matthias Kuhn via QGIS-Developer
Hi On Thu, Aug 25, 2022 at 8:50 AM Richard Duivenvoorde via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > On 8/24/22 16:23, Régis Haubourg via QGIS-Developer wrote: > > Do you have opinions on such a much ? > > (that would require to stress translators so that we don't brake > transla

Re: [QGIS-Developer] Current state of QGIS and Qt 6 (good news!)

2022-08-18 Thread Matthias Kuhn via QGIS-Developer
Hi Richard, Looks like the QCA_INCLUDE_DIR is not working properly. I'd suggest installing all libraries, you can install them into your home folder somewhere to keep things isolated but that will make sure the headers and libs are in the expected structure. Cheers Matthias On Thu, Aug 18, 2022

Re: [QGIS-Developer] Building from source: Missing /src/core/qgsmeshcalcparser.hpp

2022-08-17 Thread Matthias Kuhn via QGIS-Developer
der in a directory in my project. I pointed > cmake to the directory which only has the exe and the header and this > satisfied cmake but I am guessing this us not enough? Thanks Paul. > > > > Sent on the go with Vodafone > > > Original message > From:

Re: [QGIS-Developer] Building from source: Missing /src/core/qgsmeshcalcparser.hpp

2022-08-17 Thread Matthias Kuhn via QGIS-Developer
Hi Paul, Did you install flex and bison and are these found by cmake? Regards Matthias On Wed, Aug 17, 2022 at 9:23 AM Paul Burns via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > I am attempting to build my qgis solution now that I have all my > dependencies installed and the root

Re: [QGIS-Developer] passing parameters to QGIS Python-Script started via Command Line

2022-08-08 Thread Matthias Kuhn via QGIS-Developer
Hi Peter, You are correct with the analysis of the situation. Even if `qgis --help` states the following: [--] treat all following arguments as FILEs it does in fact already interpret parameters as files before the `--` parameter. Changing this behavior is risky (it will break many startup scri

Re: [QGIS-Developer] qt5 releases, packaging impact?

2022-07-05 Thread Matthias Kuhn via QGIS-Developer
Hi Greg, As of right now, Qt6 support in QGIS is experimental and needs more work and testing. Parts have been successfully compiled using Qt6 in the past, but I am not aware of anyone shipping QGIS bundled with Qt6. If you want to package QGIS for stable use, I would recommend sticking to the lat

Re: [QGIS-Developer] Could anyone share the token setup for the backport bot?

2022-06-08 Thread Matthias Kuhn via QGIS-Developer
Hi Andrea, I have opened a PR to make this more transparent, if you have a minute to look over that would be great. https://github.com/m-kuhn/backport/pull/21 Cheers Matthias On Wed, Jun 8, 2022 at 9:08 AM Andrea Aime via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > Think we figure

Re: [QGIS-Developer] QgsCheckableComboBox setEditable makes QGIS crash

2022-02-13 Thread Matthias Kuhn
Confirmed Fix inbound https://github.com/qgis/QGIS/pull/47330 Cheers Matthias On Sun, Feb 13, 2022 at 12:12 PM Bo Victor Thomsen < bo.victor.thom...@gmail.com> wrote: > On QGIS 3.22.0, Windows 10: > > c = QgsCheckableComboBox() > c.setEditable(False) > c.show() > > Crashes QGIS > > c = QgsCheck

Re: [QGIS-Developer] Specifying minimum Qt version for plugin?

2022-01-11 Thread Matthias Kuhn
Hi Hannes, There is no such thing available currently. If you know which OS your users run on you can use the QGIS version as an indicator. Matthias On Tue, Jan 11, 2022 at 5:18 PM Johannes Kröger (WhereGroup) < johannes.kroe...@wheregroup.com> wrote: > Hi list, > > is there a way to specify th

Re: [QGIS-Developer] WKT, but is EWKT an unwanted (Q)GIS family member?

2022-01-07 Thread Matthias Kuhn
Hi Richard, This has recently been discussed in the context of the postgis: https://github.com/qgis/QGIS/pull/45007#discussion_r706526454 Is there a definition of what the SRID code in EWKT means without the context of an srid database like postgis has. Is it always an EPSG code? Matthias On Fr

Re: [QGIS-Developer] pyqgis getFeatures() doesn't always fetch modified geometry

2021-12-11 Thread Matthias Kuhn
Hi I could replicate it here and can confirm it is a bug and commitChanges() a functional band aid for scripts. Can you open an issue on github including this testcase? Thanks Matthias On Sun, Dec 12, 2021 at 8:07 AM Ujaval Gandhi wrote: > Try calling layer.commitChanges() after changing the

Re: [QGIS-Developer] Minimal docker image for qgis_process/processing

2021-11-24 Thread Matthias Kuhn
Hi Nyall, I prepared a qgis image based on alpine linux a couple of months back but never released it to public. It's super slim and builds QGIS from source during docker build. If there is interest, I can revive that. Cheers Matthias On Wed, Nov 24, 2021 at 7:31 AM Nyall Dawson wrote: > Hi l

Re: [QGIS-Developer] Purpose and function of "referenced_columns" in Python expression functions?

2021-11-22 Thread Matthias Kuhn
Hi Hannes, This information can be used by the expression engine to determine what needs to be requested from the provider. This can lead to significant performance improvements, depending on the scenario. Depending on other functions used in the expression and the capabilities of the provider it

Re: [QGIS-Developer] Unabbreviated expression evaluation preview?

2021-11-22 Thread Matthias Kuhn
Hi Hannes, Good request. I think it's mainly the way it is for not cluttering the - already heavy - interface too much. And potential performance problems if someone tries to put the complete qgis source code into the preview (... that might lead to other problems too ...) I'd propose an on-deman

Re: [QGIS-Developer] [Qgis-psc] QGIS LTR releases -- is it time to pull the plug?

2021-11-16 Thread Matthias Kuhn
Hi all, I am very much in favor of evaluating what went wrong and drafting possible next steps to improve the situation. Thank you Nyall for starting the discussion and insisting to get things done. And thanks to the PSC and Marco for sending the information mail. Some very good points have been

Re: [QGIS-Developer] [Qgis-psc] Core committer status for Stefanos Natsis (uclaros)

2021-10-13 Thread Matthias Kuhn
A well deserved +1 for Stefanos, great contributions and stream of involvement. On Wed, Oct 13, 2021 at 8:54 AM Alessandro Pasotti wrote: > Warm +1 from me! > > Il 13 ott 2021 04:08, Nyall Dawson ha scritto: > > Hi PSC, dev list, > > I would like to formally propose that we grant core committer

Re: [QGIS-Developer] SVG toolbar icons suddenly appearing in black

2021-09-23 Thread Matthias Kuhn
Hi Raymond, There has been an issue in Qt, where it was very picky with the tag in the svg [1] This is solved in newer Qt versions (and newer QGIS for Windows builds) but is still present in the early QGIS 3.16 builds based on older Qt versions. The quick hack is to replace the