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

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
ry 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. 1. Whe

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 =

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

2023-08-07 Thread Raymond Nijssen via QGIS-Developer
', 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 with a bunch of tables

[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

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

[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

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

2023-05-04 Thread Raymond Nijssen via QGIS-Developer
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 needed to write a new class and

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

2023-05-04 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

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

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%

[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

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

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

2022-12-31 Thread Raymond Nijssen via QGIS-Developer
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 be a

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 's

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

2022-12-12 Thread Raymond Nijssen via QGIS-Developer
://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 cont

[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't

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

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

2022-12-04 Thread Raymond Nijssen via QGIS-Developer
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? 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

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 = '/home

[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, {})

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

2022-10-17 Thread Raymond Nijssen via QGIS-Developer
, this is a bit hard to verify as I'm not wanting to buy a new Windows laptop :) On 17-10-2022 11:51, Even Rouault wrote: You can just use from osgeo import ogr from osgeo import gdal from osgeo import osr That will work with any GDAL version of the last 15 years or so. Le 17/10/2022 à 10:52, Raymond

[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
le module should be renamed so avoid the leading digit - e.g. "threed" [1] https://stackoverflow.com/questions/9090079/in-python-how-to-import-filename-starts-with-a-number <https://stackoverflow.com/questions/9090079/in-python-how-to-import-filename-starts-with-a-number> Cheers M

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-03 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

[QGIS-Developer] g++ dependency?

2022-09-02 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
On 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. designer.

[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()

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

2022-05-13 Thread Raymond Nijssen via QGIS-Developer
gorithm(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 installed (or whic

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

2022-05-13 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

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

2022-04-06 Thread Raymond Nijssen via QGIS-Developer
.QtCore.QDateTime(2022, 3, 31, 0, 0), 'test_new', True] [7, PyQt5.QtCore.QDateTime(2022, 3, 31, 0, 0), 'test_new', True] [8, PyQt5.QtCore.QDateTime(2022, 3, 31, 0, 0), 'test_new', True] the edit_id is actually in the results. Cheers On Fri, Apr 1, 2022 at 8:28 AM Raymond Nijssen <mailto:r.nijs...@terglobo

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

2022-04-01 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 getting

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

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

2022-03-31 Thread Raymond Nijssen via QGIS-Developer
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 how many contribu

[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

Re: [QGIS-Developer] MultiPart post network request stopped working in master

2022-01-25 Thread Raymond Nijssen
, can you please file a bug and assign it to me, I'll have a look. On Sat, Jan 22, 2022 at 1:32 PM Raymond Nijssen <mailto:r.nijs...@terglobo.nl>> wrote: Dear all, One of my plugins stopped working in QGIS master, because some of the requests seem invalid. I spent quite

[QGIS-Developer] MultiPart post network request stopped working in master

2022-01-22 Thread Raymond Nijssen
Dear all, One of my plugins stopped working in QGIS master, because some of the requests seem invalid. I spent quite some time on debugging but cannot find the problem. This script runs in 3.22.3 but not ion 3.23. It uploads an xml file to a validation service. It should print:

Re: [QGIS-Developer] Plugin for Layout

2021-09-25 Thread Raymond Nijssen
Hi Zsolt, This code adds a button to the layout toolbar. I don't know of a way to add things to the layout menu as well. def designer_opened(designer): tb = designer.actionsToolbar() action = QAction('Push me!', parent=designer) tb.addAction(action)

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

2021-09-24 Thread Raymond Nijssen
;>https://bugreports.qt.io/browse/QTBUG-58326?focusedCommentId=344465&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-344465</a>> </tt><pre style="margin: 0em;"> </pre><tt>On Fri, Sep 24, 2021 at 4:26 AM Nyall

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

2021-09-23 Thread Raymond Nijssen
Hi devs! The dark blue icons on my plugin toolbar buttons are black for some of my customers (on Windows). One of them mentioned that they turned black after a QGIS update. On my Linux system they are still blue. I guess it has to do with Qt. Here's the content of the svg file:

Re: [QGIS-Developer] Plugin Developers Who Don't Want to Add Capabilities - Go2NextFeature

2021-09-16 Thread Raymond Nijssen
What about adding just 1 line to the plugin, for firing a signal that you can catch in another plugin/tool that will take the snapshot? They might agree on that, cause nobody will notice it. Raymond On 16-09-2021 09:32, Johannes Kröger wrote: Hi Calvin, Looking at the list of issues I do

Re: [QGIS-Developer] geom.isValid() does not work in python

2021-07-18 Thread Raymond Nijssen
wrote: Il 18/07/2021 11:46, Raymond Nijssen ha scritto: How can I run ths isValid() function on a geometry. I would think my Polygon Geometry would inherit all functions from the QgsAbstractGeometry base class, but it seems it doesn't. I get: AttributeError: 'QgsGeometry' object has no attribute

[QGIS-Developer] geom.isValid() does not work in python

2021-07-18 Thread Raymond Nijssen
How can I run ths isValid() function on a geometry. I would think my Polygon Geometry would inherit all functions from the QgsAbstractGeometry base class, but it seems it doesn't. ``` wkt = 'POLYGON((-1 0, 0 1, 1 0, 0 -1, -1 0))' geom = QgsGeometry.fromWkt(wkt) print(isinstance(geom,

Re: [QGIS-Developer] How to transfer data between QGIS Python plugins?

2021-04-22 Thread Raymond Nijssen
Hi Zac, You can use: qgis.utils.plugins to get a dictionary with all active plugins. To find out if another plugin is available: 'processing' in qgis.utils.plugins And use it like: processing_pl = qgis.utils.plugins['processing'] processing_pl.toolbox.searchBox.setText('overlay')

[QGIS-Developer] github projects

2021-03-11 Thread Raymond Nijssen
Morning all! This is something new to me: https://github.com/qgis/QGIS/projects/1 How can I get rights to update things? Kind regards, Raymond ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:

Re: [QGIS-Developer] QGIS Roadmap

2020-12-11 Thread Raymond Nijssen
Time to change the license! $$$ (And btw, now I really hope 3.18 will be called 's-Hertogenbosch!!!) On 11-12-2020 09:46, Nathan Woodrow wrote: It's done. Finally done! Good work team. When do we get rich? On Fri, 11 Dec 2020, 6:45 pm Matthias Kuhn, > wrote:

Re: [QGIS-Developer] Question

2020-10-22 Thread Raymond Nijssen
Hi Guillaume, A 5% progress after 5 days still sounds extremely slow! That would take approximately 100 days to finish on 1 core, or 2 days (72 hours!) on 32 cores. I don't know how large or complicated these shapefiles are, but you might try to find the solution in another way. - Make

Re: [QGIS-Developer] CRS Selector: Specify CRS for layer Annotations ?

2020-09-14 Thread Raymond Nijssen
? Harrissou Le lun. 14 sept. 2020 à 16:51, Werner Macho <mailto:werner.ma...@gmail.com>> a écrit : Hi Raymond, Have you checked if it is probably a plugin causing this? regards Werner On Mon, 2020-09-14 at 16:26 +0200, Raymond Nijssen wrote: > For a few weeks in

[QGIS-Developer] CRS Selector: Specify CRS for layer Annotations ?

2020-09-14 Thread Raymond Nijssen
For a few weeks in QGIS master, when I start the application, when I start a new empty project or (even) when I close the application, the CRS Selector Dialog pops up with the question: Specify CRS for layer Annotations It only happens when my CRS settings are set to: "Prompt for CRS" for

Re: [QGIS-Developer] DB-manager and large query results (for time manager)

2020-08-25 Thread Raymond Nijssen
On 25-08-2020 10:27, Giovanni Manghi wrote: Hi Raymond, There's a question on a Dutch geo forum about a join query in DB-Manager that does not return data, but an error without message instead. PG Admin runs the query with he expected results, so it seems ok. I have seen this type of

[QGIS-Developer] DB-manager and large query results (for time manager)

2020-08-24 Thread Raymond Nijssen
There's a question on a Dutch geo forum about a join query in DB-Manager that does not return data, but an error without message instead. PG Admin runs the query with he expected results, so it seems ok. People have been trying to reproduce this with different results. The query is joining a

Re: [QGIS-Developer] Latest sources jump from 3.14.1 to 3.14.15

2020-08-15 Thread Raymond Nijssen
Well, luckily pi is not 3.149915... :) Raymond (Sorry for being the party pooper) On 14-08-2020 20:33, Jürgen E. Fischer wrote: Hi Raymond, On Fri, 14. Aug 2020 at 15:04:27 +0200, Raymond Nijssen wrote: Are we sure that this is not going to hurt at the next point release?? Looking

Re: [QGIS-Developer] Latest sources jump from 3.14.1 to 3.14.15

2020-08-14 Thread Raymond Nijssen
Are we sure that this is not going to hurt at the next point release?? Looking at things like this: Qgis.QGIS_VERSION_INT >= 20200 Raymond On 14-08-2020 14:49, Etienne Trimaille wrote: You should follow the roadmap ;-)

Re: [QGIS-Developer] SVG icons in QGIS

2020-07-28 Thread Raymond Nijssen
On 28-07-2020 02:44, Nyall Dawson wrote: Oh, also they'd need to be "parameterised", so that users can set the fill/stroke color, opacity and stroke width from within QGIS. I've made some quick and dirty scripts in the past to add these tags to sets of svg symbols. If needed I can help

Re: [QGIS-Developer] QGIS Server visibility and documentation

2020-07-07 Thread Raymond Nijssen
Indeed, marketing it as "one of the QGIS products' could be a good plan. Now, our website says: QGIS - The Leading Open Source Desktop GIS Also, the download buttons at the landing page point to QGIS Desktop only. Not sure about the need for a new logo though. New logos can take forever! :)

Re: [QGIS-Developer] Concerns about translations and QGIS overall credibility

2020-06-30 Thread Raymond Nijssen
On 30-06-2020 18:26, Andreas Neumann wrote: That probably depends on the topography and ruggedness in your country ;-) in german language we have translations for these terms: "Analytische Schattierung" or "Schummerung" and "Rauhigkeitsindex". But we have 40 words for 'flat' Andreas! :P

Re: [QGIS-Developer] Create plain table (without geometry) in gpkg?

2020-06-23 Thread Raymond Nijssen
ant.String)]) pr.addAttributes([QgsField("num", QVariant.Int)]) vl.updateFields() QgsProject.instance().addMapLayer(vl) feat = QgsFeature() feat.setAttributes(['hi', 3]) pr.addFeatures([feat]) Regards, Raymond On 23-06-2020 15:51, Even Rouault wrote: On mardi 23 juin 2020 15:34:58

[QGIS-Developer] Create plain table (without geometry) in gpkg?

2020-06-23 Thread Raymond Nijssen
My python plugin should create a table without geometry in a gpkg to store some additional (meta) info about the layers. I could use python bindings for sqlite of course, but the plugin users might not have that installed. What are the options from within qgis? Is python-sqlite available, or

Re: [QGIS-Developer] QGIS Server and the Grants programme

2020-06-09 Thread Raymond Nijssen
And imagine that Mapserver 1.0, GeoServer 1.0 and QGIS Server 1.0 had all been released at the same date. What would these deployment numbers have been like now? Regards, Raymond On 09-06-2020 01:18, Nyall Dawson wrote: On Tue, 9 Jun 2020 at 09:12, Tim Sutton wrote: Hi Nice,

Re: [QGIS-Developer] Cancellation: QGIS Developer meeting and conference Nødebo

2020-03-31 Thread Raymond Nijssen
Hey Luigi, At first I wouldn't even think about this! But maybe it makes sense, if the virus has disappeared by then. Dutch weather in August is also slightly better than in March by the way. :) We would not be able to work in the Red Cross building, so we would need to find another

Re: [QGIS-Developer] Frage

2020-03-23 Thread Raymond Nijssen
Hi Sebastian, Here's a little python script that works on a vector layer containing 2 lines. Just as an example. Hope it helps, Raymond # calculates the maximum distance between 2 lines # in the active vector layer line_layer = iface.activeLayer() nf = line_layer.featureCount() if not

Re: [QGIS-Developer] Q-without-GIS

2020-02-20 Thread Raymond Nijssen
Haha, I never heard anyone using QGIS for any work that doesn't have a map involved. Do you have examples? But last month I suggested using QGIS for generating the invoices for the Dutch User Group (as an atlas). Because I didn't know another way for doing such a job. Besides I thought it

[QGIS-Developer] format_date() expression function and milliseconds

2020-02-19 Thread Raymond Nijssen
I'm trying make a label showing milliseconds and wonder if QGIS handles these correctly. The docs say: z: the milliseconds without leading zeroes (0 to 999) zzz: the milliseconds with leading zeroes (000 to 999) I think the docs should say 'with/without **trailing** zeroes. Here some

[QGIS-Developer] hackfest limits!!!

2020-01-20 Thread Raymond Nijssen
Dear hackers, developers and contributors! :) Having attended quite some hackfests in the past, I never expected to reach the maximum of 50 attendees for the next hackfest. But having already 35 subscriptions by now and knowing quite some people who are still considering to come, we are

Re: [QGIS-Developer] Environmental policy

2020-01-16 Thread Raymond Nijssen
Hi Paolo, Good point! Or many good points actually. For both the environment and inclusiveness we could think about having a more decentralized approach for the contributor meetings. Since most developers are living in Europe, meetings are in Europe, which attracts more European developers

Re: [QGIS-Developer] icons for remove/delete actions

2020-01-04 Thread Raymond Nijssen
/index.php/gi/article/view/2737 Best regards, Robert sob., 4 sty 2020 o 13:14 Raymond Nijssen <mailto:r.nijs...@terglobo.nl>> napisał(a):     Many icons in QGIS have little shields specifying what kind of action     they represents, like adding, editing and removing. For removing and    

[QGIS-Developer] icons for remove/delete actions

2020-01-04 Thread Raymond Nijssen
Many icons in QGIS have little shields specifying what kind of action they represents, like adding, editing and removing. For removing and deleting things, I found 3 different shields though, a cross, a traffic sign and a minus. What is the logic for these 3? A difference in removing or

Re: [QGIS-Developer] Print Layouts and Atlas not following

2020-01-02 Thread Raymond Nijssen
Did you check the "Controlled by Atlas" checkbox in the Map item properties? On 02-01-2020 12:56, Richard Duivenvoorde wrote: Hi Devs, Wanted to show 'Atlas' functionality here to somebody, but... not working. Tried master and 3.10 on Linux and 3.6 on Windows. What I did: - open a WmS layer

Re: [QGIS-Developer] QGIS Onboarding Day?

2019-12-06 Thread Raymond Nijssen
my work I would have just given up after some frustrating hours and dismissed the idea of helping bugfixing QGIS. regards, Thomas Raymond Nijssen mailto:r.nijs...@terglobo.nl>> schrieb am Do., 5. Dez. 2019, 13:19: Dear Devs, Making plans for the next hackfest (13-15 March 2020,

Re: [QGIS-Developer] QGIS Onboarding Day?

2019-12-05 Thread Raymond Nijssen
on the 12th - but I guess this would answer my question. I could talk about ways to "support" QGIS financially (just a really short talk summarizing how one can contribute and how the funds are used, but maybe useful). Greetings, Andreas On 2019-12-05 13:18, Raymond Nijssen wro

[QGIS-Developer] QGIS Onboarding Day?

2019-12-05 Thread Raymond Nijssen
Dear Devs, Making plans for the next hackfest (13-15 March 2020, The Netherlands) we are thinking of a way to attract new people to the project. Quite some Dutch people are interested to come over and "see" us, but of course we need to help them getting up and running. So we are thinking on

Re: [QGIS-Developer] geom_from_text() and GeomFromWKT()

2019-11-29 Thread Raymond Nijssen
-> ['xmax'] y_min -> ['ymin'] y_max -> ['ymax'] geom_from_wkt -> ['geomFromWKT'] geom_from_gml -> ['geomFromGML'] intersects_bbox -> ['bbox'] convex_hull -> ['convexHull'] sym_difference -> ['symDifference'] geom_to_wkt -> ['geomToWKT'] uuid -> ['$uuid'] get_feature -> ['Qgs

[QGIS-Developer] geom_from_text() and GeomFromWKT()

2019-11-29 Thread Raymond Nijssen
In a qgis expression both geom_from_wkt('point(0 0)') and GeomFromWKT('point(0 0)') work! The first is listed in the expression functions but the second is not. It is not a problem but it surprises me and I'm wondering if there are more secret functions in expressions. Does anyone

Re: [QGIS-Developer] QGIS projects - can they be licensed and/or copyrighted ?

2019-10-30 Thread Raymond Nijssen
Hi Bo Victor, I would say a QGIS project (file) is *content* you create with QGIS and not code. And therefore not GPL licensed. You can also write a top secret letter using LibreOffice, right? Just my thoughts, didn't look this up in the license text. Raymond On 30-10-19 12:31, Bo Victor

Re: [QGIS-Developer] Changelog images for 3.10

2019-10-30 Thread Raymond Nijssen
On 30-10-19 07:11, Tim Sutton wrote: http://changelog.qgis.org/en/qgis/version/3.10/#improved-svg-layered-exports Improved SVG layered exports - any more hints on this & how we can show it visually (if at all)? Hi Tim, A few weeks ago I accidentally hit this one (I think). Before, the

Re: [QGIS-Developer] News panel?

2019-10-26 Thread Raymond Nijssen
Same for me in 3.10 and it seems also gone in qgis-master. In the settings the "show qgis newsfeed" option is checked. Maybe there is no news?? Raymond Terglobo Fahrenheitstraat 1 5223 BJ 's-Hertogenbosch The Netherlands +31 (0) 6 25 31 49 83 On 26-10-19 08:42, Paolo Cavallini wrote: Hi

[QGIS-Developer] Problem installing plugins from own repository

2019-09-27 Thread Raymond Nijssen
I set up my own plugin repo and meet exactly the problem as described here: https://gis.stackexchange.com/questions/325790/error-downloading-a-plugin Additional info: After restarting QGIS, the plugin is available *but inactive*. So I need to check it in the plugin manager and then it just

Re: [QGIS-Developer] Plugin version number

2019-09-13 Thread Raymond Nijssen
Tnx Borys! :) On 13-09-19 10:49, Borys Jurgiel wrote: Dnia piątek, 13 września 2019 10:05:14 CEST Paul Wittle pisze: > Hi, > > It is possible to see the plugin version number (from the metadata file) > when you open the manage plugins window and select a plugin. > > Is it possible

Re: [QGIS-Developer] Plugin version number

2019-09-13 Thread Raymond Nijssen
Hi Paul, I do not think it is supported now, but a workaround could be: - Add a variable 'version' with the plugin version number to your plugin class. - Then do: qgis.utils.plugins['your plugin name'].version You could even write a version() function that reads the version number from

Re: [QGIS-Developer] Save Log messages as pdf

2019-08-21 Thread Raymond Nijssen
Hi Roberta, I don't know how to do this in Qt, but could you use a QgsPrintLayout with an html frame and then export that to pdf? Kind regards, Raymond On 20-08-19 13:55, Roberta Fagandini wrote: Hi all, I'm still trying to save a simple text report created by a plugin as a pdf file.

Re: [QGIS-Developer] [qgis/QGIS] Allow setting a custom path pre-processor for QgsPathResolver (#30842)

2019-08-20 Thread Raymond Nijssen
regards, Raymond Terglobo Fahrenheitstraat 1 5223 BJ 's-Hertogenbosch The Netherlands +31 (0) 6 25 31 49 83 On 20-08-19 08:33, Nyall Dawson wrote: On Fri, 16 Aug 2019 at 22:24, Raymond Nijssen wrote: Hi Nyall and others here, I'm writing here to the dev list because the PR has already been pulled

Re: [QGIS-Developer] [qgis/QGIS] Allow setting a custom path pre-processor for QgsPathResolver (#30842)

2019-08-16 Thread Raymond Nijssen
Hi Nyall and others here, I'm writing here to the dev list because the PR has already been pulled and closed. We implemented this new code in our plugin and it works very well! One thing is bothering me though, and I hope I am wrong here. As I wanted to do a clean up in the plugin unload

Re: [QGIS-Developer] Difficulties with custom bad layer handler in plugin code

2019-07-22 Thread Raymond Nijssen
So what you would do here is implement a custom pre-processor which detects some hardcoded path to the plugin resource, and swaps it out with the actual path to the python plugin. E.g. def my_processor(path): if path.endswith('my_plugins_super_north_arrow.svg'): return

Re: [QGIS-Developer] saving a layer with the world_map.shp

2019-06-11 Thread Raymond Nijssen
A topologically more correct map is not easily to find, especially not in a tiny (shp) file size. Here are some links to examples: http://www.statsilk.com/maps/download-free-shapefile-maps But for educating CRS, for quickly finding out where your just opened dataset is, and for layout

[QGIS-Developer] saving a layer with the world_map.shp

2019-05-27 Thread Raymond Nijssen
I know it was introduced as an easter egg, but I'm very happy with the built in world map in qgis. I'm using it in a plugin to automatically add a layer for the overview map in my layout. This layer points to a shapefile in my qgis install directory:

Re: [QGIS-Developer] cannot import processing algorithm in 3.6

2019-04-01 Thread Raymond Nijssen
romWkt('polygon((0 0, 0 1, 1 1, 1 0, 0 0))') print(pg1) # pg2 = pg1.get() print(pg2) # g = QgsGeometry() g.set(pg2) print(g) # On 21-03-19 09:43, Nyall Dawson wrote: On Thu, 21 Mar 2019 at 15:59, Raymond Nijssen wrote: def toLines(geom): return QgsGeometry(ge

Re: [QGIS-Developer] cannot import processing algorithm in 3.6

2019-03-20 Thread Raymond Nijssen
def toLines(geom): return QgsGeometry(geom.get().boundary()) (Using https://qgis.org/pyqgis/master/core/QgsAbstractGeometry.html#qgis.core.QgsAbstractGeometry.boundary ) Nyall Thanks Nyall, that works! I will try tomorrow. One last question, it seems to me like the old

Re: [QGIS-Developer] cannot import processing algorithm in 3.6

2019-03-20 Thread Raymond Nijssen
1 Mar 2019 at 02:40, Raymond Nijssen wrote: The folowing line works for me in 3.4.3 and 3.7 (built today) but not in 3.6.0 from processing.algs.qgis import PolygonsToLines It was ported from Python -> c++, so is no longer importable like this. What's your use case for importing direct rather

[QGIS-Developer] cannot import processing algorithm in 3.6

2019-03-20 Thread Raymond Nijssen
The folowing line works for me in 3.4.3 and 3.7 (built today) but not in 3.6.0 from processing.algs.qgis import PolygonsToLines Could anyone test in the python console and confirm? Thanks! Raymond -- Terglobo Fahrenheitstraat 1 5223 BJ 's-Hertogenbosch The Netherlands +31 (0) 6 25 31 49 83

Re: [QGIS-Developer] How Create regularly spaced, defined # of points within polygon?

2019-02-15 Thread Raymond Nijssen
Would this work? Vector > Research Tools... > Regular Points... Afterwards select them by your polygon and delete the rest. Cheers, Raymond On 14-02-19 23:09, Richard Duivenvoorde wrote: On 2/14/19 4:54 PM, Apoyo Carbono wrote: Hi everybody! I want also to Create regularly spaced, defined

Re: [QGIS-Developer] Adding Layer tree embedded widgets programmatically

2019-02-13 Thread Raymond Nijssen
Sorry, forgot to add the link :blush: https://gis.stackexchange.com/questions/232367/showing-transparency-slider-by-default-in-layers-panel-of-qgis On 13-02-19 12:59, Raymond Nijssen wrote: Hi Richard, Here is some example code. I will try to make it work now. Groetjes! Raymond On 13-02-19

  1   2   3   >