Re: [QGIS-Developer] Mesh Layers: Way to update/repaint the QgsMeshRendererScalarSettingsWidget after recreating color ramp

2022-11-29 Thread Vincent Cloarec via QGIS-Developer
Hi Richard, Can you precise how do you set the color ramp to the mesh layer ? Maybe you set only classes (color/value) ? Vincent Le mar. 29 nov. 2022 à 08:47, Richard Duivenvoorde via QGIS-Developer < qgis-developer@lists.osgeo.org> a écrit : > Hi Devs, > > I'm loading/styling QGIS via pyqgis.

Re: [QGIS-Developer] Selecting active mesh layer dataset

2022-01-24 Thread Vincent Cloarec
Hi, if you want to change the rendering settings use : https://qgis.org/api/classQgsMeshRendererSettings.html#details and https://qgis.org/api/classQgsMeshLayer.html#ada9c8d32c90c0a7030f1a20de6435066 Use this QgsMeshRendererSettings class to set your active dataset group. Regards. Le lun. 24

Re: [QGIS-Developer] PyQt issue when building QGIS with python

2021-06-23 Thread Vincent Cloarec
t; > Hi, > > I think I had the same error thtese last few days, fixed it with apy > install python3-pyqt5.qtpositioning on debian. > > All the best, > > Tudor > > Sent from my iPhone > > On 23 Jun 2021, at 22:42, Vincent Cloarec wrote: > >  > Hi al

[QGIS-Developer] PyQt issue when building QGIS with python

2021-06-23 Thread Vincent Cloarec
Hi all, Since few days, it is not possible for me to build QGIS with python binding. I've got this error and many others like this: FAILED: python/plugins/db_manager/ui_DlgExportVector.py cd /home/vincent/dev/building/build-QGIS-Debug/python/plugins/db_manager &&

[QGIS-Developer] QEP 228: Mesh layer edition

2021-06-02 Thread Vincent Cloarec
Hello everyone, It is a pleasure to present the QEP 228 introducing mesh layer edition: https://github.com/qgis/QGIS-Enhancement-Proposals/issues/228 You are very welcome for discussions and comments on the dedicated QEP page. Vincent ___

Re: [QGIS-Developer] Can't get values from QgsMeshLayer

2021-02-03 Thread Vincent Cloarec
ue.scalar(),value.x(),value.y()) > > ## > > Il giorno mer 3 feb 2021 alle ore 17:14 Vincent Cloarec < > vcloa...@gmail.com> ha scritto: > >> I rewrite your script : >> >> ##

Re: [QGIS-Developer] Can't get values from QgsMeshLayer

2021-02-03 Thread Vincent Cloarec
the layer handles with its own way the group indexes Le mer. 3 févr. 2021 à 11:31, Enrico Ferreguti a écrit : > 3.16 > The attachment was missing. > You can download it from here: > https://beato.duckdns.org/nextcloud/s/Ra4opS94zYfgfXa > > Il mer 3 feb 2021, 1

Re: [QGIS-Developer] Can't get values from QgsMeshLayer

2021-02-03 Thread Vincent Cloarec
Hi Enrico, As that will depend of the version of QGIS, which version do you use? Le mer. 3 févr. 2021 à 10:59, Enrico Ferreguti a écrit : > I'm trying to write a simple function for retrieving wind speed and > direction at a specified moment from a given grib file readable as mesh > layer the

Re: [QGIS-Developer] QGIS build error: multiple definitions of sipQgsTinInterpolator:: methods

2020-12-30 Thread Vincent Cloarec
Hi, With same errors, cleaning before building is enough to fix that. Regards. Le mar. 29 déc. 2020 à 13:51, DelazJ a écrit : > Hi devs, > > I'm trying to build master and am getting a bunch of error messages > related to multiple definitions of sipQgsTinInterpolator methods. Anyone > knows

Re: [QGIS-Developer] QtCreator does not start QGIS?

2020-11-23 Thread Vincent Cloarec
This works for me : http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-Qtcreator-debug-issues-td5389889.html Le lun. 23 nov. 2020 à 13:26, Luigi Pirelli a écrit : > h... seems the same error happen with qt 5.12.8 (eg.. version with > ubuntu 20.04 LTR) > >

Re: [QGIS-Developer] running Travis locally?

2020-10-21 Thread Vincent Cloarec
/www.mail-archive.com/qgis-developer@lists.osgeo.org/msg44142.html > (not sure how up to date it is, and I found this approach to be a bit > cumbersome personally) > > Best wishes, > Denis > > > Le mer. 21 oct. 2020 à 19:10, Vincent Cloarec a > écrit : > >> Hi all, &

[QGIS-Developer] running Travis locally?

2020-10-21 Thread Vincent Cloarec
Hi all, I've got an issue only on a Travis test, but on my side with ubuntu, everything is ok, and the test does not fail. Not very convenient to debug... Is there a way to run Travis locally, that will permit to speed up debugging and avoid to pollute the offical Travis CI. Regards. Vincent

Re: [QGIS-Developer] Master build crashing

2020-09-18 Thread Vincent Cloarec
Hi, Indeed QGIS could crash if MDAL is not present with new TIN mesh creation algorithm. My bad... This PR fixes that : https://github.com/qgis/QGIS/pull/38864 Vincent Le ven. 18 sept. 2020 à 13:24, Jürgen E. Fischer a écrit : > Hi Tim, > > On Fri, 18. Sep 2020 at 16:43:51 +0100, Tim Sutton

[QGIS-Developer] API export and ui files

2020-09-11 Thread Vincent Cloarec
Hi devs, I wonder about gui API and installed ui files. There are a lot of inclusion of "ui_*.h" in the export GUI header files that are not in the installed include dir. So when using the API for standalone applications with only the installed header files, there are issues because missing

Re: [QGIS-Developer] QgsMeshLayer object has no attribute triangularMesh

2020-06-30 Thread Vincent Cloarec
Hi, The triangular mesh of mesh layer is not accessible from the python API, only from the C++ API. So for now, not possible to access directly to the triangular mesh from Python. It is possible to acces ro the native from the provider, but it will not be in the map coordinates if different

Re: [QGIS-Developer] Mesh layer

2020-04-26 Thread Vincent Cloarec
Hi, With QGIS master you can use updateTriangularMesh. Before, there is a workaround that consists to just call createMapRenderer

Re: [QGIS-Developer] Making QgsRasterLayerProperties class independent again from QgisApp instance

2019-10-08 Thread Vincent Cloarec
orted there would be more drive for review > and merge of such infrastructure changes. > > Cheers, > Peter > > > > On Tue, Oct 8, 2019 at 7:13 AM Paolo Cavallini > wrote: > >> Hi all, >> >> On 07/10/19 22:05, Vincent Cloarec wrote: >> ... >> &g

Re: [QGIS-Developer] Making QgsRasterLayerProperties class independent again from QgisApp instance

2019-10-07 Thread Vincent Cloarec
will understand it could not be accepted. But, today, I need to know if I can count on this PR will be accepted, or if I have to think about another solution to continue to use the QgsRasterLayerProperties. If someone has an idea about this? Thanks. Vincent Cloarec www.reos.site Le lun. 23 se

Re: [QGIS-Developer] Making QgsRasterLayerProperties class independent again from QgisApp instance

2019-09-23 Thread Vincent Cloarec
OK, thanks, the tests has passed now. As you say, that was the undocumented parameters. And '///@TODO' code in the ccp file that was making the warning and failing the test. Le lun. 23 sept. 2019 à 12:24, Alessandro Pasotti a écrit : > > On Mon, Sep 23, 2019 at 6:15 PM Vincent C

Re: [QGIS-Developer] Making QgsRasterLayerProperties class independent again from QgisApp instance

2019-09-23 Thread Vincent Cloarec
? >> > > Confirmed. > > You need to complete the documentation of a few methods. > I don't know where the TODO comes from though. > > > >> Thanks. >> >> Vincent Cloarec >> www.reos.site >> >> >> Le lun. 23 sept. 2019 à 00:25, V

Re: [QGIS-Developer] Making QgsRasterLayerProperties class independent again from QgisApp instance

2019-09-23 Thread Vincent Cloarec
://tinyurl.com/yynt7m9a. Following this link, it seems the problems come from warning: undocumented parameters and unknown command '\TODO'. Can anyone confirm ? Thanks. Vincent Cloarec www.reos.site Le lun. 23 sept. 2019 à 00:25, Vincent Cloarec a écrit : > Hello, > > Thanks Nyall for yo

Re: [QGIS-Developer] Making QgsRasterLayerProperties class independent again from QgisApp instance

2019-09-22 Thread Vincent Cloarec
seem to pass for QGIS, and I have tried to import the QgsRasterLayerProperties class to a standalone application only using the gui library, it is ok. Vincent Cloarec www.reos.site Le jeu. 19 sept. 2019 à 00:37, Nyall Dawson a écrit : > On Thu, 19 Sep 2019 at 13:55, Vincent Cloarec wr

[QGIS-Developer] Making QgsRasterLayerProperties class independent again from QgisApp instance

2019-09-18 Thread Vincent Cloarec
ies independant from the QgisApp instance. I think it could be possible with a static method in the QgisApp class. I have to work on it. But before trying this solution, I would have your opinion if it makes sens to go in this way. Thanks. Vincent Cloarec www.reos.s