Re: [QGIS-Developer] Catch PostgreSQL logs in pyqgis

2024-03-05 Thread Matteo Ghetta via QGIS-Developer
Cheers and thanks Matteo On 3/5/24 08:53, Johannes Kröger (WhereGroup) wrote: Hi Matteo, https://api.qgis.org/api/master/classQgsDatabaseQueryLog.html does have appropriate signals (queryFinished and queryStarted, both include the query) but it looks like they are not documented in the Python

[QGIS-Developer] Catch PostgreSQL logs in pyqgis

2024-03-04 Thread Matteo Ghetta via QGIS-Developer
ere a way in pyqgis? Cheers and thanks for any suggestion! 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] Split feature after dissolve

2023-08-08 Thread Matteo Ghetta via QGIS-Developer
is shapefile, geopackage, temporary layer, postgis, etc. Any idea why this is happening? Cheers and thanks for any suggestion! Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis

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

2023-07-13 Thread Matteo Ghetta via QGIS-Developer
thanks for all the answers! I forgot to tell the those files are importable in Windows. Does it change anything? Matteo On 7/13/23 09:59, Matthias Kuhn wrote: Hi Matteo, libdxfrw doesn't support this version yet. There's an open PR for libdxfrw for importing newer versions: https

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

2023-07-13 Thread Matteo Ghetta via QGIS-Developer
on Linux (Debian) to compile QGIS with a driver that allows to import those formats. Thanks for any suggestion! Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Refresh attribute form python action

2023-06-13 Thread matteo via QGIS-Developer
are not updated unless the form is closed and reopened again. I couldn't find a method to refresh the form widget from the action itself. Is there any? Cheers and thanks! Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info

Re: [QGIS-Developer] createAlgorithmDialog in Processing script (within plugin)

2023-02-23 Thread matteo via QGIS-Developer
Just a quick update, the fix is now in master and backported: https://github.com/qgis/QGIS/issues/51971 https://github.com/qgis/QGIS/pull/51985 Thanks to all the devs! Cheers Matteo On 2/22/23 08:33, matteo wrote: Hi Richard, Not very helpful for you, but what about creating an issue

Re: [QGIS-Developer] createAlgorithmDialog in Processing script (within plugin)

2023-02-21 Thread matteo via QGIS-Developer
;-warnings. And my feeling is that if some code is fetching references to the QGIS application instance, it shows this warning. Good luck solving your issue Thanks! Some gurus around? :) Cheers Matteo Regards, Richard On 2/21/23 16:41, matteo via QGIS-Developer wrote: Hi devs, I'm raising

Re: [QGIS-Developer] createAlgorithmDialog in Processing script (within plugin)

2023-02-21 Thread matteo via QGIS-Developer
with: processing.createAlgorithmDialog("my_provider:my_algorithm", params) within a plugin, if the algorithm **id** is passed as first argument, QGIS is crashing, while it seems working on a standalone script in the QGIS code editor. Is this a limitation? Cheers and thanks for any suggestio

Re: [QGIS-Developer] Pyqgis master api search broken?

2023-02-08 Thread matteo via QGIS-Developer
Hi Richard, 3.28 is working fine for me here. I don't see any JQuery related error in the debugging console. Where are you seeing this error? Cheers Matteo On 2/8/23 09:46, Richard Duivenvoorde wrote: Now 3.28 is also 'affected' ? In dev console I see: Uncaught ReferenceError: jQuery

Re: [QGIS-Developer] Pyqgis master api search broken?

2023-02-08 Thread matteo via QGIS-Developer
Hi Denis, Is this related to this? https://github.com/qgis/pyqgis/commit/465d91a265e4f1828f0da623d32f8ac7a1de <https://github.com/qgis/pyqgis/commit/465d91a265e4f1828f0da623d32f8ac7a1de> Matteo, shall we try to revert? not sure about that. I was searching in the docs till yes

Re: [QGIS-Developer] Pyqgis master api search broken?

2023-02-07 Thread matteo via QGIS-Developer
Hi Richard, I can confirm: searching in master will stay there forever without finding anything. Cheers Matteo On 2/8/23 08:52, Richard Duivenvoorde via QGIS-Developer wrote: Hi, Am I right to conclude something is wrong with PyQGIS api (DOCS build) for master? https://qgis.org/pyqgis

Re: [QGIS-Developer] Autocomplete python code in QGIS compiled

2023-01-30 Thread matteo via QGIS-Developer
great! On 1/30/23 00:40, Nyall Dawson wrote: 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

Re: [QGIS-Developer] [solved] weird RuntimeError: qgis._gui cannot import type '����' from PytQT5.QtCore"

2023-01-30 Thread matteo via QGIS-Developer
Hi Evan, thanks, it works! Cheers Matteo On 1/30/23 15:45, Even Rouault via QGIS-Developer wrote: Hi, just to avoid other people losing a couple hours like me... If you update to latest master on Debian/Ubuntu, and after rebuild, you get a cryptic error like the following when importing

Re: [QGIS-Developer] PyQt db_manager(?) compile error

2023-01-30 Thread matteo via QGIS-Developer
Matteo On 1/27/23 13:23, Richard Duivenvoorde via QGIS-Developer wrote: Hi, Compiling master on Debian Testing today, I first was presented with a new dependency Qt5Multimedia (hopefully we can soon use QGIS as a Spotify client ;-) ), which was installable. But then my (fresh) build stalls

Re: [QGIS-Developer] Statistics of QGIS downloads

2023-01-24 Thread matteo via QGIS-Developer
Hi Andreas, thanks, I couldn't find the link anymore Cheers Matteo On 1/24/23 16:08, Andreas Neumann wrote: Hi Matteo, See https://analytics.qgis.org/ <https://analytics.qgis.org/> and https://blog.qgis.org/2022/06/16/qgis-userbase-analytics/ <https://blog.qgis.org/2022/0

[QGIS-Developer] Statistics of QGIS downloads

2023-01-24 Thread matteo via QGIS-Developer
Hi all, if I'm not wrong (Tim?) there was kind of dashboard to see the download statistics of QGIS, but I cannot find it anymore. Is there a link available? Cheers and thanks Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org

[QGIS-Developer] Autocomplete python code in QGIS compiled

2023-01-09 Thread matteo via QGIS-Developer
, 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? p.s. working on a Debian Sid OS Cheers and thanks! Matteo ___ QGIS-Developer mailing list QGIS

Re: [QGIS-Developer] Skip loading plugin if errors

2022-12-29 Thread matteo via QGIS-Developer
Hi Germàn, I successfully used also your code and it really works perfectly. Thanks for sharing it! Cheers Matteo On 12/28/22 10:40, Germán Carrillo wrote: Hi Matteo, I've added a few validations for this plugin to gently inform users of missing dependencies: https://github.com

Re: [QGIS-Developer] Skip loading plugin if errors

2022-12-28 Thread matteo via QGIS-Developer
again.')) within the processAlgorithm method. I know that if there are many algorithms you have to repeat the code for each one, and that if the algorithm has many parameters, the user fills all of them and it's not nice to inform after, but :) Cheers Matteo On 12/28/22 10:40, Germán

Re: [QGIS-Developer] Skip loading plugin if errors

2022-12-28 Thread matteo via QGIS-Developer
Hola Germàn, thanks for the suggestion! I'll try and let you know Cheers Matteo On 12/28/22 10:40, Germán Carrillo wrote: Hi Matteo, I've added a few validations for this plugin to gently inform users of missing dependencies: https://github.com/SwissTierrasColombia/Asistente-LADM-COL

[QGIS-Developer] Skip loading plugin if errors

2022-12-28 Thread matteo via QGIS-Developer
ut opening the Stacktrace? For example creating a messagebox/bar with the message "Install the package.. else you cannot use the plugin" I've added a simple try/except in the plugin classFactory method but I'm still stuck in the loop somewhere. Thanks for any sugges

Re: [QGIS-Developer] Building pyqgis doc locally

2022-12-13 Thread matteo via QGIS-Developer
thanks for the help Matteo> otherwise, look at https://github.com/qgis/pyqgis/pull/89/files?w=1 <https://github.com/qgis/pyqgis/pull/89/files?w=1> Le mar. 13 déc. 2022 à 09:12, matteo <mailto:matteo.ghe...@gmail.com>> a écrit : Hi Denis, > yes you can limi

Re: [QGIS-Developer] Building pyqgis doc locally

2022-12-13 Thread matteo via QGIS-Developer
entry '_static' does not exist Do you have any idea why this is happening? Cheers and thanks again Matteo > Another approach is to do a PR on the repo, you will have a built > example at https://qgis.org/pyqgis/master_PRXX <https://qgis.org/pyqgis/master_PRXX> &

Re: [QGIS-Developer] Building pyqgis doc locally

2022-12-12 Thread matteo via QGIS-Developer
I hope this helps a bit. Thanks Denis Matteo Cheers, Denis Le mar. 13 déc. 2022 à 08:14, matteo via QGIS-Developer mailto:qgis-developer@lists.osgeo.org>> a écrit : Hi devs, I've some small ideas to enhance the readthedocs theme of the pyqgis documentation and I want mak

[QGIS-Developer] Building pyqgis doc locally

2022-12-12 Thread matteo via QGIS-Developer
. It seems building but it is literally taking ages (./build-docs.sh -qgis-build-dir /home/matteo/dev/qgis-master/). Am I doing something wrong or can I use some shortcut to build it? I'm just playing with some css and eventually the config.py.in file. Cheers and thanks for any advice Matteo

Re: [QGIS-Developer] createAlgorithmDialog in Processing script (within plugin)

2022-08-12 Thread matteo via QGIS-Developer
Hi Germàn, If you want and if you have the time, we could have a look at this issue at the QGIS Contributors Meeting in Firenze :) that's great, see you very soon! Cheers! Matteo Regards! Germán El lun, 1 ago 2022 a las 17:07, matteo (<mailto:matteo.ghe...@gmail.com>>)

Re: [QGIS-Developer] createAlgorithmDialog in Processing script (within plugin)

2022-08-01 Thread matteo via QGIS-Developer
en passing it to the method Cheers and thanks Matteo On 8/1/22 16:17, Germán Carrillo wrote: Hi Matteo, I've been successfully using /execAlgorithmDialog()/ instead [0]: /processing.execAlgorithmDialog("my_provider:my_algorithm", params)/ where, /params/ is a dict with the pre-filled

[QGIS-Developer] createAlgorithmDialog in Processing script (within plugin)

2022-08-01 Thread matteo via QGIS-Developer
oThreading but with the same results. I know I can run the processing algorithm with processing.run() but I need to open the dialog pre-filled with custom parameters and to get also some other outputs besides the standard ones (like the QgsFeatureSink path) Thanks for any suggestion Chee

Re: [QGIS-Developer] QgsVectorLayerSaveAsDialog in python plugin

2022-07-27 Thread matteo via QGIS-Developer
Hi Andrea, thanks for the information, I missed that. So no way to reuse some existing pyqgis API right? Cheers Matteo On 7/27/22 11:39, Andrea Giudiceandrea via QGIS-Developer wrote: Hi Matteo, there's also a one years old Feature Request [1]. Best regards. Andrea Giudiceandrea [1

[QGIS-Developer] QgsVectorLayerSaveAsDialog in python plugin

2022-07-27 Thread matteo via QGIS-Developer
the similar functionalities with other python classes (with UI of course :) )? Cheers and thanks for any suggestion! Matteo [0] https://api.qgis.org/api/classQgsVectorLayerSaveAsDialog.html#details ___ QGIS-Developer mailing list QGIS-Developer

[QGIS-Developer] Selection opacity raster image fill QGIS

2022-03-28 Thread matteo via QGIS-Developer
Hi all, it seems that the opacity of the selection color chosen in the project properties is ignored with a vector layer in raster fill symbology mode. Is this a bug or the expected behavior? Cheers and thanks Matteo ___ QGIS-Developer mailing

[QGIS-Developer] QgsCheckableComboBox setEditable makes QGIS crash

2022-02-11 Thread matteo
a ticket? 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

Re: [QGIS-Developer] Offline layer

2022-02-01 Thread matteo
eginning I was thinking that if a layer was "converted" to offline and for example put into a geopackage, then some additional metadata were added in some additional table within the geopackage itself. But now I understand that the flag is manually added by the devel

Re: [QGIS-Developer] Offline layer

2022-02-01 Thread matteo
available: https://qgis.org/pyqgis/master/core/QgsMapLayer.html#qgis.core.QgsMapLayer.setCustomProperty Cheers and thanks Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis

Re: [QGIS-Developer] Offline layer

2022-02-01 Thread matteo
Hi David, got it, and issue solved thanks! I cannot find a list of all custom property keys in the documentation, is there any available? Cheers Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https

[QGIS-Developer] Offline layer

2022-02-01 Thread matteo
properties and/or via pyqgis. Does someone have suggestions? 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

Re: [QGIS-Developer] Algorithms in python

2021-10-05 Thread matteo
? 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] Algorithms in python

2021-10-04 Thread matteo
t can lead to many plugins and difficulties to find them * have a "straight" way to add additional algorithms to QGIS, like the "Download scripts from collections" of QGIS 2 What is a general opinion about this topic? Cheers and thanks Matteo

Re: [QGIS-Developer] process bar in processing algs

2021-07-20 Thread matteo
en/docs/user_manual/processing/scripts.html#extending-qgsprocessingalgorithm if you want to add steps to the progressBar with your logic then you can use feedback.setProgress(number) to fill the progress bar. Have a look at the template script and you will find a fine u

Re: [QGIS-Developer] process bar in processing algs

2021-07-20 Thread matteo
Hi Pierluigi, you can fill the progressBar of the Processing algorithm with feedback.setProgress(integer). Hope this helps Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo

Re: [QGIS-Developer] QgsProcessingFeedback setProgressText method

2021-05-28 Thread matteo
. thanks for the explanation. I also think that using setProgressText within a loop is time consuming if printing a lot of stuff in the Log Panel. Cheers Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https

[QGIS-Developer] QgsProcessingFeedback setProgressText method

2021-05-26 Thread matteo
in the Log panel. Is this the standard behavior? 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/mailma

Re: [QGIS-Developer] QgsSpatialIndex nearestNeighbor returns more than 1 feature

2021-04-29 Thread matteo
Thanks for the answer. I've some border cases (like perfect angles that determines a weird equal distance). Sorry for the noise and thanks for the hint Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https

[QGIS-Developer] QgsSpatialIndex nearestNeighbor returns more than 1 feature

2021-04-28 Thread matteo
Hi all, Using nearestNeighbor of QgsSpatialIndex, even with the flag FlagStoreFeatureGeometries, sometimes I got more than 1 feature related (distance between the features is not the same, I've manually checked). Is there a way to return only the nearest feature? Cheers and thanks Matteo

[QGIS-Developer] plugin metatada from zip

2021-04-02 Thread matteo
QGIS. Is the qgisMinimumVersion taken into account only when installing a plugin with the "standard" installer? Cheers Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/lis

Re: [QGIS-Developer] QGIS and privacy

2021-03-30 Thread matteo
Hi Nyall, that sounds like the best user friendly solution, even if not the quickest to develop. Should I open a ticket as a feature request to keep track of this discussion? Cheers and thanks to all! Matteo ___ QGIS-Developer mailing list QGIS

[QGIS-Developer] QGIS and privacy

2021-03-23 Thread matteo
ct between different computers/users can expose the user name without an explicit agreement of the final user. What is your opinion on this? Cheers Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/m

Re: [QGIS-Developer] Loading multiple raster images from processing algorithm

2021-03-11 Thread matteo
() ) ) but maybe there are better methods :) Cheers 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

Re: [QGIS-Developer] Filter by expression in Report(s)

2021-03-04 Thread matteo
Thanks Bernd for pointing this out, let's see if there are some takers :) 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

[QGIS-Developer] Filter by expression in Report(s)

2021-03-03 Thread matteo
the "join attributes by location" or create a virtual field with an aggregate expression. Is there any interest to add a Expression Combobox instead of a Field Combobox in the Report Layout to filter the features "live"? Or is there a simpler way I'

Re: [QGIS-Developer] QGIS Blog website down

2021-02-25 Thread matteo
weird... on firefox I get a timeout while on chromium not thanks for checking Anita Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https

[QGIS-Developer] QGIS Blog website down

2021-02-25 Thread matteo
Hi all, just to report that https://blog.qgis.org/ gives a timeout Cheers 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

[QGIS-Developer] change appearance of pushDebugInfo of Processing algorithm

2021-02-15 Thread matteo
. In the algorithmShortHelp pythonic-html like strings are parsed and showed. Am I missing something? Cheers and thanks Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer

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

2021-01-11 Thread matteo
Community. Cheers! Matteo [0] https://plugins.qgis.org/plugins/author/Enrico%2520Ferreguti/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org

[QGIS-Developer] QgsProcessingParameterDateTime with default value

2021-01-05 Thread matteo
Hi all, I noticed that even with defaultValue=NULL or defaultValue=None or other attempts, QgsProcessingParameterDateTime fills the parameter with the current date (or datetime). Is it possible to have the calendar view empty? Cheers and thanks Matteo

Re: [QGIS-Developer] GdalUtils in recent QGIS versions

2020-12-20 Thread matteo
the Processing plugin in 3.10 and master Thanks for the clarification 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] GdalUtils in recent QGIS versions

2020-12-20 Thread matteo
Matteo [0] https://github.com/qgis/QGIS/issues/40662 ___ 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] Unable to build QGIS master due to multiple definitions of sipQgs3DAlgorithms

2020-11-04 Thread matteo
Hi Jürgen, Why? sid has the 3D extra headers. yep I know but something eventually went wrong. So I confirm that my cmake configuration is just: cmake ../QGIS \ -DWITH_3D=TRUE Cheers and thanks Matteo ___ QGIS-Developer mailing list QGIS

Re: [QGIS-Developer] Unable to build QGIS master due to multiple definitions of sipQgs3DAlgorithms

2020-11-04 Thread matteo
) -DQT5_3DEXTRA_LIBRARY=/usr/lib/x86_64-linux-gnu/libQt53DExtras.so -DWITH_3D=True -DQt53DExtras_DIR=$(realpath ../QGIS/external/qt3dextra-headers/cmake/Qt53DExtras/) some other suggestions? Cheers and thanks Matteo ___ QGIS-Developer mailing list QGIS-Developer

[QGIS-Developer] Safely interact with loaded layers in Processing algorithms

2020-10-30 Thread matteo
(process 24944) detached] gdb returned 0 Aborted Is this the correct way to do it or is there some more Processing oriented ways? Cheers and thanks Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https

Re: [QGIS-Developer] Offline Editing plugin

2020-10-08 Thread matteo
ionalities, especially if already used by other tools, are great and should be maintained, and possibly enhanced. A good syncing tool is essential to have Cheers! Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osge

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2020-10-08 Thread matteo
(again) :) 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

Re: [QGIS-Developer] Offline Editing plugin

2020-10-08 Thread matteo
API usage and remove the plugin GUI? 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

Re: [QGIS-Developer] Offline Editing plugin

2020-10-07 Thread matteo
e the plugin. I'm also curious: how many people are actually using the OfflineEditing plugin? Cheers and thanks Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Offline Editing plugin

2020-10-06 Thread matteo
he project into QField. Other people experienced the same situation? 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.o

Re: [QGIS-Developer] DB Manager makes QGSI crashing

2020-09-03 Thread matteo
thanks Richard, exact same issue Cheers and sorry for the noise 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

[QGIS-Developer] DB Manager makes QGSI crashing

2020-09-03 Thread matteo
007f6e16fad781 in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #46 0x7f6e14ce67fb in QgsApplication::notify(QObject*, QEvent*) () at /home/matteo/dev/qgis-master/output/lib/libqgis_core.so.3.15.0 #47 0x7f6e1650db62 in QCoreApplication::notifyInternal2(QO

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2020-08-28 Thread matteo
Hi Richard, > in is in the conf.py: > > https://github.com/qgis/QGIS-Documentation/blob/master/conf.py#L343 > oh right my fault.. but tests are still failing with a compiled version of QGIS. Can I ask you how you user.mk file looks like? Cheers and th

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2020-08-28 Thread matteo
> where is start_qgis defined? I don't find it in QGIS sources. I thought it is in the output folder (QGIS_PREFIX_PATH = /home/matteo/dev/qgis-master/output) do you have any hint where it is or should be? > No. Looking on docker hub, the image is around 1.8gb (still a lot though) &

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2020-08-28 Thread matteo
e also the documentation (that is right now outdated except for the docker part). Cheers and thanks Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe:

Re: [QGIS-Developer] Travis restart build button missing

2020-08-26 Thread matteo
o-edit > git push -f I didn't know this :) 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

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2020-08-26 Thread matteo
Hi Denis, I restarted a build but it is still failing do due a segmentation fault: https://travis-ci.org/github/qgis/QGIS-Documentation/builds/720594748#L1128 Is it sill work in progress? Cheers and thanks Matteo ___ QGIS-Developer mailing list QGIS

[QGIS-Developer] Travis restart build button missing

2020-08-26 Thread matteo
Hi all, I noticed that (for me) the "Restart Build" button was missing in Travis and I discovered that you just have to log out and log in to make it appear again. So just a small trick if someone is missing the button too Cheers Matteo __

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2020-08-25 Thread matteo
Hi Denis, thanks for the update and for the fix. Will restart the checks during the afternoon when the fix is pushed Cheers Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis

[QGIS-Developer] Travis failing in QGIS-Documentation

2020-08-25 Thread matteo
File "", line 22, in from qgis.testing import start_app ModuleNotFoundError: No module named 'qgis' Any Travis guru out here? :) Cheers and thanks Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: h

Re: [QGIS-Developer] Documentation tests failing on local machine

2020-08-19 Thread matteo
der to share the solution. @Arnaud do you have some suggestions and/or guidelines I can add to the documentation? Cheers and thanks! Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/l

[QGIS-Developer] Documentation tests failing on local machine

2020-08-18 Thread matteo
d this lines in the user.mk file (in order to run test with a compiled version of QGIS instead of the default installation): # Root installation folder QGIS_PREFIX_PATH = /home/matteo/dev/qgis-master/output include venv.mk and run the following code make -f user.mk doctest I fol

Re: [QGIS-Developer] Implementarion version in Function help JSON Files

2020-07-23 Thread matteo
HI Alexandre, that's a great improvement, thanks! Having a key to catch the QGIS release related to the expression would be also super useful. Anybody willingly to help on this? Cheers and thanks again Matteo ___ QGIS-Developer mailing list QGIS

Re: [QGIS-Developer] Compiling QGIS with 3D failing

2020-07-20 Thread matteo
Thanks Etienne. Seems working now. I was 100% sure that I took Richard's suggestions in this build :) Cheers and thanks for the hint Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman

Re: [QGIS-Developer] Compiling QGIS with 3D failing

2020-07-20 Thread matteo
make[2]: *** [src/3d/CMakeFiles/qgis_3d.dir/build.make:1052: output/lib/libqgis_3d.so.3.15.0] Error 1 make[2]: Leaving directory '/home/matteo/dev/qgis-master-3d' make[1]: *** [CMakeFiles/Makefile2:7388: src/3d/CMakeFiles/qgis_3d.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs Matteo

[QGIS-Developer] Input raster resolution in a Processing Model

2020-07-20 Thread matteo
Hi devs, I cannot find a way to get raster pixel size as a variable within a Processing Model. We have the chance to get the extent by not the resolution information. Is that right? Should I open a feature request (if somebody else is interested)? Cheers and thanks Matteo

Re: [QGIS-Developer] Compiling QGIS with 3D failing

2020-07-20 Thread matteo
Hi Saber, thanks for the suggestion, compiling right now, will let you know! Cheers! Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https

[QGIS-Developer] Compiling QGIS with 3D failing

2020-07-20 Thread matteo
]: Leaving directory '/home/matteo/dev/qgis-master' make[1]: *** [CMakeFiles/Makefile2:5772: python/CMakeFiles/python_module_qgis__3d.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.. if the 3D support is deactivated then all is working fine. not sure which commit introduced

[QGIS-Developer] Processing Raster Calculator in Processing Modeler

2020-07-10 Thread matteo
but if I'm not wrong, the Processing Raster Calculator can be used in "just" a simple way within a model even if it is super powerful! Cheers Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/m

Re: [QGIS-Developer] $currentfeature VS @current_feature

2020-07-08 Thread matteo
> Also, > > Don't forget that high hierarchy/context @variables can be overwritten > variables defined by the user or lower contexts. > > You can't do that with a function. yep, I'm a big fan of overwriting variables in different contexts :) ___

Re: [QGIS-Developer] $currentfeature VS @current_feature

2020-07-08 Thread matteo
that IF a variable is suggested then it should be available in that context. I prepared a super small project faunalia.eu/~matteo/bug.zip if you try to add a feature to the point layer you will see that one filed is working and the other not. Cheers and thanks Matteo

[QGIS-Developer] $currentfeature VS @current_feature

2020-07-08 Thread matteo
') within the Default Value of a Field in the Attributes Form, but it didn't work while attribute($currentfeature, 'my_field') works nice If someone has a small explanation I will gladly add it to the documentation Cheers and thanks for any hint Matteo

Re: [QGIS-Developer] Custom Options in "Save vector as"

2020-07-06 Thread matteo
al.org/drivers/vector/geojson.html#vector-geojson make perfectly sense. I can add a specific link for a specific provider as an example so users have a "where to start" Does this addition make sense? Cheers Matteo ___ QGIS-Develo

[QGIS-Developer] Custom Options in "Save vector as"

2020-07-06 Thread matteo
Hi all, I cannot find related GDAL documentation for the "Custom Options" in the "Save Vector As.." dialog. Our documentation points to the main page of gdal.org, if somebody (Even? :) ) has some hints I'll update the upstream doc with a more specific link. Cheer

[QGIS-Developer] QgsProcessingParameterMultipleLayers in Processing Modeler

2020-06-16 Thread matteo
ant to use with the "Merge Vector Layers" algorithm, the way to feed the algorithm is by using the "Value" mode while I was expecting to use the "Model Input". The model is running just fine, but not sure if this is the expected behavior. Before to open a ticket I just wanted

Re: [QGIS-Developer] EditInPlace Processing script

2020-04-24 Thread matteo
Hi Germàn, > the sample script I mentioned in my previous e-mail in this thread > should be working on master now. Nyall fixed the bug reported. awesome! Thanks to you and to Nyall! Cheers Matteo ___ QGIS-Developer mailing list QGIS-Dev

Re: [QGIS-Developer] EditInPlace Processing script

2020-04-21 Thread matteo
Hi Stefanos, yep, but digging into this I was wondering how to use the EditInPlace also for scripts :) Cheers and thanks for the hint Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman

Re: [QGIS-Developer] Server manual

2020-04-17 Thread matteo
Hi, for me +1 to remove it from the training manual and move it only to the user manual. If the content is duplicated and the information in the training manual fits in the user one, let's keep doc clean Objections? Cheers Matteo ___ QGIS-Developer

[QGIS-Developer] Next user survey proposal

2020-04-17 Thread matteo
) * are faster * ... recently I collaborated with an Italian student that tested and ran a few algorithms (intersection, difference, etc) on the same machine with the different providers. I will share a link soon with the results Ideas or feedback? Cheers Matteo [0] https://github.com/qgis/QGIS/pull

Re: [QGIS-Developer] EditInPlace Processing script

2020-04-17 Thread matteo
Hola Germàn, thanks for the hint. While it is perfectly working on QGIS 3.10 installed from repository. QGIS is crashing with the same data and the same script in QGIS master (compiled yesterday). Are there any API problems? Cheers and thanks! Matteo

Re: [QGIS-Developer] EditInPlace Processing script

2020-04-14 Thread matteo
would like to "change" the geometry of the input layer (union and dissolve). Cheers and thanks for the input anyway! Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-d

Re: [QGIS-Developer] EditInPlace Processing script

2020-04-09 Thread matteo
Thanks Arnaud, will try and let you know! Cheers 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

[QGIS-Developer] EditInPlace Processing script

2020-04-09 Thread matteo
the functionality. There are a few python core algorithms with Thanks for any hint! Cheers Matteo [0] https://qgis.org/pyqgis/3.10/core/QgsProcessingAlgorithm.html#qgis.core.QgsProcessingAlgorithm.supportInPlaceEdit ___ QGIS-Developer mailing list QGIS

Re: [QGIS-Developer] Geopackage FID columns: i HATE them!!!!

2020-03-20 Thread matteo
tive the fid is really confusing. The user seems to be able to delete/edit the column but (of course) touching it will throw an error when saving. Moreover, it happens that during format conversion in the attribute table there are fid/pk/id columns, with same numbers. Thanks for raining this Ch

  1   2   3   4   5   6   7   >