Re: [QGIS-Developer] GSoC 2024 proposal : QGIS improve the graphical modeler UI and UX

2024-02-22 Thread Raymond Nijssen via QGIS-Developer
Wow Valentin, that plan looks awesome! I'm using both QGIS and Blender and often wondered if the QGIS modeler could be improved. Good luck with work and kind regards, Raymond On 22-02-2024 08:37, Valentin BUIRA via QGIS-Developer wrote: Hi qgis developers My name is Valentin Buira, I'm a fre

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

2024-01-29 Thread Raymond Nijssen via QGIS-Developer
GIS-Django/issues> to not forget about it and have a contextualized discussion. Kind regards Matthias On Mon, Jan 29, 2024 at 8:45 AM Raymond Nijssen via QGIS-Developer mailto:qgis-developer@lists.osgeo.org>> wrote: Diving in the code I found a few suspicious lines. 1. In the

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

2024-01-28 Thread Raymond Nijssen via QGIS-Developer
and try fixing it myself. Raymond On 26-01-2024 10:03, Raymond Nijssen via QGIS-Developer wrote: Dear developers, I found some unexpected behaviour in the plugin management. I changed the the plugin source code to another github repository and wanted to update the links in the plugin metadata

Re: [QGIS-Developer] QGIS Repo Is Not Updated

2023-11-14 Thread Raymond Nijssen via QGIS-Developer
Hi Murat, Updating can take a bit of time, cause the xml file is cached on the server. Try again in 15 or 30 minutes. Raymond On 14-11-2023 13:06, Murat Çalışkan via QGIS-Developer wrote: Hello, I updated my plugin and it is approved. It's updated in plugin repository but in QGIS it is not

[QGIS-Developer] My own LayoutItem not getting rendered unless ...

2023-09-11 Thread Raymond Nijssen via QGIS-Developer
Hi, For a plugin I made my own type of layoutItem which renders some kind of special graph. However, when the code adds the item to a layout, the rectangle is there but the content does not get rendered. Now when I run this line in the console: layout_manager = QgsProject.instance().layoutMa

Re: [QGIS-Developer] Loading layer from specific table/view after running algorithm

2023-08-07 Thread Raymond Nijssen via QGIS-Developer
e='my_view', project=context.project() ) ) ``` Seems to work at least. Raymond On 07-08-2023 20:18, Raymond Nijssen via QGIS-Developer wrote: Hi developers, I have created a processing algorithm in python that creates a new gpkg database wi

[QGIS-Developer] Loading layer from specific table/view after running algorithm

2023-08-07 Thread Raymond Nijssen via QGIS-Developer
Hi developers, I have created a processing algorithm in python that creates a new gpkg database with a bunch of tables and views. One of the views can be loaded as a polygon layer, which works fine when loaded manually. How can I tell QGIS to load that view as a polygon layer when the algori

Re: [QGIS-Developer] QGIS Ghostscript critical-severity

2023-07-24 Thread Raymond Nijssen via QGIS-Developer
Has been mentioned here before. Check this thread: https://lists.osgeo.org/pipermail/qgis-user/2023-July/053212.html Raymond On 24-07-2023 08:06, Raul Lupascu via QGIS-Developer wrote: Hello, the current Version of QGIS is using Ghostscript-files which are severe vulnerabilities. It is usin

[QGIS-Developer] FOSS4G Community Sprint

2023-06-15 Thread Raymond Nijssen via QGIS-Developer
To everyone attending FOSS4G 2023 in Prizren, There won't be a QGIS Contributor Meeting connected to the FOSS4G conference this year. But there will be an OSGeo Community Sprint during the weekend after the main conference (July 1+2). This is a "contributor meeting" for all OSgeo projects, so

Re: [QGIS-Developer] Multiple python scripts in python console?

2023-05-05 Thread Raymond Nijssen via QGIS-Developer
Hi Klaus, Thank you so much, it works!! Replying to you and the dev list, hoping this solution will end up in the same thread. Kind regards, Raymond On 05-05-2023 12:52, Klaus Affeldt wrote: Hi Raymond, can't write to the list yet, so i answer you directly: The python console has a diff

Re: [QGIS-Developer] Multiple python scripts in python console?

2023-05-04 Thread Raymond Nijssen via QGIS-Developer
der-sk/qgis-minimal-plugin> Otherwise, it's difficult to manage IMHO. Le jeu. 4 mai 2023 à 08:59, Raymond Nijssen via QGIS-Developer mailto:qgis-developer@lists.osgeo.org>> a écrit : Hi developers, While writing a python script in the QGIS python console editor I

[QGIS-Developer] Multiple python scripts in python console?

2023-05-03 Thread Raymond Nijssen via QGIS-Developer
Hi developers, While writing a python script in the QGIS python console editor I needed to write a new class and for convenience I put that in its own python file. Both files are in the same directory, but I cannot import my class in the other script. Here's an example: # script_1.py fro

Re: [QGIS-Developer] Developer for QGIS Plugin

2023-03-08 Thread Raymond Nijssen via QGIS-Developer
Hi Berit, Have a look at this list of companies that provide commercial QGIS support: https://qgis.org/en/site/forusers/commercial_support.html Many of them will be able to help you with plugin development. Kind regards, Raymond Terglobo The Netherlands On 08-03-2023 08:55, Mohr, Berit via

Re: [QGIS-Developer] Release 3.30 delayed

2023-03-03 Thread Raymond Nijssen via QGIS-Developer
So sorry... 😅 Rymond Terglobo 's-Hertogenbosch The Netherlands On 03-03-2023 15:48, Jürgen E. Fischer via QGIS-Developer wrote: Hi, the apostrophe in the new release name was a little issue, but there's another issue with transifex: for some reason the spanish translation dropped below 35% and

[QGIS-Developer] International QGIS User Conference & Contributor Meeting 2023

2023-02-02 Thread Raymond Nijssen via QGIS-Developer
Dear users and developers, After waiting for 3 years we are happy to announce that the conference website is live: https://uc2023.qgis.nl/ More details will follow soon, but for now please register and propose your talks and/or workshops. And especially for those who'd like to attend the C

Re: [QGIS-Developer] language dependency qgis_process

2023-01-19 Thread Raymond Nijssen via QGIS-Developer
Hi Michael, I agree with Richard that algorithm outputs should not be different when using other locales. However, there's a Rename Field algorithm (native:renametablefield) that might be useful for you. Kind regards, Raymond On 19-01-2023 08:37, Richard Duivenvoorde via QGIS-Developer wr

Re: [QGIS-Developer] Save the dates - Contributor Meeting 2023

2022-12-31 Thread Raymond Nijssen via QGIS-Developer
accepting this challenge with your local team! Andreas On 2022-12-19 11:04, Raymond Nijssen via QGIS-Developer wrote: Save even more dates!! Prior to the contributor meeting there will be an International User Conference on 18 and 19 April. Thursday the 20th is going to

Re: [QGIS-Developer] Save the dates - Contributor Meeting 2023

2022-12-19 Thread Raymond Nijssen via QGIS-Developer
. Hope many developers and other QGIS badasses will be around for giving presentations and workshops. Kind regards, Raymond On 12-12-2022 09:45, Raymond Nijssen via QGIS-Developer wrote: Dear devs and contrbs, The next QGIS Contributor Meeting will take place: 20-23 April 2023 in &#

Re: [QGIS-Developer] Save the dates - Contributor Meeting 2023

2022-12-12 Thread Raymond Nijssen via QGIS-Developer
https://github.com/qgis/QGIS-Website/blob/master/source/feeds/qugsnews.atom For anyone else planning events: please feel invited to add your events to this news feed as well. Regards, Anita On Monday, 12. December 2022 09:45:15 (+01:00), Raymond Nijssen via QGIS-Developer wrote: > Dear devs and

[QGIS-Developer] Save the dates - Contributor Meeting 2023

2022-12-12 Thread Raymond Nijssen via QGIS-Developer
Dear devs and contrbs, The next QGIS Contributor Meeting will take place: 20-23 April 2023 in 's-Hertogenbosch, The Netherlands. And it's very very likely that there will be an International User Conference the 2 days prior to the meeting (18+19 April). Details will follow. Please save these

Re: [QGIS-Developer] setDataSourceUri() not working

2022-12-08 Thread Raymond Nijssen via QGIS-Developer
That works!! :O Thank you so much!!! Raymond On 09-12-2022 08:20, Andrea Giudiceandrea via QGIS-Developer wrote: Hi Raymond, I wrote setDataSource, not setDataSourceUri. Regards. Andrea Il 09/12/2022 08:19, Raymond Nijssen via QGIS-Developer ha scritto: Thanks Andrea, but that doesn&#

Re: [QGIS-Developer] setDataSourceUri() not working

2022-12-08 Thread Raymond Nijssen via QGIS-Developer
Thanks Andrea, but that doesn't seem to exist: AttributeError: 'QgsVectorLayer' object has no attribute 'setDataSourceUri' Raymond On 08-12-2022 19:42, Andrea Giudiceandrea via QGIS-Developer wrote: *Raymond Nijssen* /Wed Dec 7 07:39:50 PST 2022/ --

[QGIS-Developer] setDataSourceUri() not working

2022-12-08 Thread Raymond Nijssen via QGIS-Developer
Hi Devs, I'm trying to change the dataSourceUri of an existing layer, but can't get it working. The reason is that my layer should be connected to another view in the same database, because the db should do some calculations for my plugin. I created a test script for a simple polygon layer i

Re: [QGIS-Developer] createvectorTable error: Could not retrieve driver for connection

2022-12-04 Thread Raymond Nijssen via QGIS-Developer
the filename, but adding ogr:// in front of it does not even work... So not sure if that createConnection doc is old, or if I'm looking in the wrong createConnection... Anybody can On 12/2/22 12:30, Raymond Nijssen via QGIS-Developer wrote: No one having a clue? Should I create an issue? Ra

Re: [QGIS-Developer] createvectorTable error: Could not retrieve driver for connection

2022-12-02 Thread Raymond Nijssen via QGIS-Developer
No one having a clue? Should I create an issue? Raymond On 30-11-2022 18:08, Raymond Nijssen via QGIS-Developer wrote: Hi developers, Recently some users of my plugin started getting errors in the code that creates a .gpkg file with a table. I wrote a piece of test code: gpkg_fn = '

[QGIS-Developer] createvectorTable error: Could not retrieve driver for connection

2022-11-30 Thread Raymond Nijssen via QGIS-Developer
Hi developers, Recently some users of my plugin started getting errors in the code that creates a .gpkg file with a table. I wrote a piece of test code: gpkg_fn = '/home/raymond/tmp/test.gpkg' md = QgsProviderRegistry.instance().providerMetadata('ogr') conn = md.createConnection(gpkg_fn, {}) f

Re: [QGIS-Developer] Best way to import gdal, ogr, osr ?

2022-10-17 Thread Raymond Nijssen via QGIS-Developer
10:52, Raymond Nijssen via QGIS-Developer a écrit : Dear developers, What is the best way to import ogr, gdal and osr in my pyqgis script? This used to work in older QGIS versions: import gdal import ogr import osr Now I've changed that to: try:     import ogr     import gdal  

[QGIS-Developer] Best way to import gdal, ogr, osr ?

2022-10-17 Thread Raymond Nijssen via QGIS-Developer
Dear developers, What is the best way to import ogr, gdal and osr in my pyqgis script? This used to work in older QGIS versions: import gdal import ogr import osr Now I've changed that to: try: import ogr import gdal import osr except ModuleNotFoundError: from osgeo import

Re: [QGIS-Developer] import 3d or _3d in python?

2022-10-04 Thread Raymond Nijssen via QGIS-Developer
Cheers Martin On Mon, Oct 3, 2022 at 8:58 AM Raymond Nijssen via QGIS-Developer mailto:qgis-developer@lists.osgeo.org>> wrote: While trying to import a 3D class in a python script, I found out that the code in the pyqgis docs is not working (for me): from qgis.3d import Qg

Re: [QGIS-Developer] import 3d or _3d in python?

2022-10-03 Thread Raymond Nijssen via QGIS-Developer
, Raymond Nijssen via QGIS-Developer ha scritto: Instead I need to add an underscore for the 3d module name: from qgis._3d import QgsLayoutItem3DMap In the Python console, the 3d library is automatically imported (if QGIS is compiled with 3d support) with: from qgis._3d import * See: https

[QGIS-Developer] import 3d or _3d in python?

2022-10-02 Thread Raymond Nijssen via QGIS-Developer
While trying to import a 3D class in a python script, I found out that the code in the pyqgis docs is not working (for me): from qgis.3d import QgsLayoutItem3DMap Instead I need to add an underscore for the 3d module name: from qgis._3d import QgsLayoutItem3DMap Should this be fixed in

Re: [QGIS-Developer] Re-add Georeferencer action to raster menu?

2022-09-27 Thread Raymond Nijssen via QGIS-Developer
Hi Nyall, I remember getting confused too. When searching for it, the things I tried were typing "georef" in the locator bar, in the processing toolbox (filter) and in the plugin manager. Not finding anything anywhere there. Maybe it would be possible to make that work? For example all the m

[QGIS-Developer] g++ dependency?

2022-09-01 Thread Raymond Nijssen via QGIS-Developer
On a fresh Ubuntu 22.04 I wasn't able to compile QGIS until installing g++ as a dependency. Should I add it to this page? https://github.com/qgis/QGIS/blob/release-3_22/INSTALL.md Raymond ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org

Re: [QGIS-Developer] Could the H3 library be included as a core QGIS library

2022-08-30 Thread Raymond Nijssen via QGIS-Developer
Hi Calvin, FYI, there's also this H3 plugin: https://plugins.qgis.org/plugins/h3_toolkit/ Raymond On 25-08-2022 14:08, C Hamilton via QGIS-Developer wrote: A few months ago I was introduced to the H3 (Hexagonal hierarchical geospatial indexing system) library (https://h3geo.org/

Re: [QGIS-Developer] How to get the name for a QgsLayoutDesignerInterface object?

2022-07-29 Thread Raymond Nijssen via QGIS-Developer
Fri, 29 Jul 2022 at 12:04, Raymond Nijssen via QGIS-Developer mailto:qgis-developer@lists.osgeo.org>> wrote: Hi developers, I'm trying to get the name for a layout designer window, which is in a python variable (designer) of type QgsLayoutDesignerInterface. desi

[QGIS-Developer] How to get the name for a QgsLayoutDesignerInterface object?

2022-07-29 Thread Raymond Nijssen via QGIS-Developer
Hi developers, I'm trying to get the name for a layout designer window, which is in a python variable (designer) of type QgsLayoutDesignerInterface. designer.layout() returns a QgsLayout object but that class does not have a .name() function. The QgsPrintLayout class does have a .name() fun

Re: [QGIS-Developer] Add algorithm to an existing provider?

2022-05-13 Thread Raymond Nijssen via QGIS-Developer
addAlgorithm(s) etc.) it needs to emit the algorithmsLoaded signal. Greetings, Benjamin On 2022-05-13 08:15, Raymond Nijssen via QGIS-Developer wrote: Is there a way to add a processing algorithm to an existing provider using pyqgis? I have 2 plugins and don't know if they are both installe

[QGIS-Developer] Add algorithm to an existing provider?

2022-05-12 Thread Raymond Nijssen via QGIS-Developer
Is there a way to add a processing algorithm to an existing provider using pyqgis? I have 2 plugins and don't know if they are both installed (or which one will load first). The both contain processing algorithms and I want those to end up in the same group. Documentation is a bit brief o

Re: [QGIS-Developer] Unexpected results from GPKG table query using executeSql()

2022-04-06 Thread Raymond Nijssen via QGIS-Developer
//github.com/qgis/QGIS/blob/master/tests/src/python/test_qgsproviderconnection_ogr_gpkg.py> > <https://github.com/qgis/QGIS/blob/master/tests/src/python/test_qgsproviderconnection_ogr_gpkg.py <https://github.com/qgis/QGIS/blob/master/tests/src/python/test_qgsproviderconn

Re: [QGIS-Developer] Unexpected results from GPKG table query using executeSql()

2022-03-31 Thread Raymond Nijssen via QGIS-Developer
hon/test_qgsproviderconnection_ogr_gpkg.py> On Thu, Mar 31, 2022 at 6:09 PM Raymond Nijssen via QGIS-Developer mailto:qgis-developer@lists.osgeo.org>> wrote: Hi devs, I'm working on a plugin that connects to a custom table (without geometry) in a GPKG. When I'm sending queries to it, I keep on

Re: [QGIS-Developer] Unexpected results from GPKG table query using executeSql()

2022-03-31 Thread Raymond Nijssen via QGIS-Developer
/tests/src/python/test_qgsproviderconnection_ogr_gpkg.py <https://github.com/qgis/QGIS/blob/master/tests/src/python/test_qgsproviderconnection_ogr_gpkg.py> On Thu, Mar 31, 2022 at 6:09 PM Raymond Nijssen via QGIS-Developer mailto:qgis-developer@lists.osgeo.org>> wrote: Hi de

[QGIS-Developer] Unexpected results from GPKG table query using executeSql()

2022-03-31 Thread Raymond Nijssen via QGIS-Developer
Hi devs, I'm working on a plugin that connects to a custom table (without geometry) in a GPKG. When I'm sending queries to it, I keep on getting unexpected results. Somehow the id field is missing, sometimes it appears twice (!). And this seems to be different between QGIS 3.10 and 3.25. (I t

Re: [QGIS-Developer] Possible Contributor Meeting in April 2022

2022-03-30 Thread Raymond Nijssen via QGIS-Developer
n 18-03-2022 16:12, Raymond Nijssen via QGIS-Developer wrote: We are happy to announce the opportunity to host the postponed 2020 QGIS Contributor Meeting in 's-Hertogenbosch, The Netherlands. We have 2 options in the last weeks of April 2022. Because this is so soon we'd like to know ho

[QGIS-Developer] Possible Contributor Meeting in April 2022

2022-03-18 Thread Raymond Nijssen via QGIS-Developer
We are happy to announce the opportunity to host the postponed 2020 QGIS Contributor Meeting in 's-Hertogenbosch, The Netherlands. We have 2 options in the last weeks of April 2022. Because this is so soon we'd like to know how many contributors would be able to attend. Would you please fill out t