[QGIS-Developer] Instructions for plugin for C++ API document

2020-04-14 Thread Chang Liao
Hi, I just started, I want to know is there a cookbook or tutorial for C++ API plugin? Thanks. - The pyQGIS cookbook contains a section on developing plugins and is an ongoing effort to collect tips

[QGIS-Developer] A new way to build QGIS and all its dependencies from scratch in Linux and MacOS

2020-04-14 Thread sinan bulut
Hi all. I am a volunteer contributor for the software project [Spack]( https://github.com/spack), an HPC package manager. Using this tool, it is possible to build QGIS and all of its direct and indirect dependencies from scratch using a single line of command as shown below. I thought this might

Re: [QGIS-Developer] QGIS unstable on debian testing

2020-04-14 Thread Andrea Giudiceandrea
Richard Duivenvoorde wrote > QgsGeometry.fromWkt('Polygon ((0 0, 1 1, 1 0, 0 > 0))').intersection(QgsGeometry.fromWkt('Point (42 0)')) > > shows me: > QgsGeometry: PointZ (0 0 nan) > > which also is a little strange...? I've also recently encountered this strange behavior and I was just trying

Re: [QGIS-Developer] WIP bot

2020-04-14 Thread Etienne Trimaille
Hi, Le mar. 21 janv. 2020 à 20:42, Etienne Trimaille < etienne.trimai...@gmail.com> a écrit : > - I think I cannot make a pull request a draft once its opened (and I >> realize only 10 minutes after opening that I needed to verify X or add some >> tests) >> > I just noticed a new button today on

[QGIS-Developer] OSGeo4W Qt and OpenSSL versions

2020-04-14 Thread Larry Shaffer
Hi, Comment mostly for Jürgen (and Windows devs/users)... I recommend OSGeo4W's Qt packages be updated to 5.12.4 or latest LTR, specifically for this OpenSSL v1.1.1 reason: https://www.qt.io/blog/2019/06/17/qt-5-12-4-released-support-openssl-1-1-1 I think it is a security concern to rely upon

Re: [QGIS-Developer] EditInPlace Processing script

2020-04-14 Thread Germán Carrillo
Hi Matteo, yes, it's possible to write custom Processing scripts for editing layers in-place. Here you can find an example (buffer): https://github.com/gacarrillor/QGIS-Resources/blob/master/collections/processing_scripts/processing/processing_script_edit_in_place.py >From the example we can

[QGIS-Developer] Plugin [2030] Locate approval notification.

2020-04-14 Thread noreply
Plugin Locate approval by pcav. The plugin version "[2030] Locate 0.2" is now approved Link: http://plugins.qgis.org/plugins/locate/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:

[QGIS-Developer] Plugin [2029] Neural Network MLPClassifier approval notification.

2020-04-14 Thread noreply
Plugin Neural Network MLPClassifier approval by pcav. The plugin version "[2029] Neural Network MLPClassifier 1.0.5" is now approved Link: http://plugins.qgis.org/plugins/lnns/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:

Re: [QGIS-Developer] QGIS unstable on debian testing

2020-04-14 Thread uclaros
I've already tested with shapely and it was working as expected. But the shapely installed with pip install shapely has geos 3.8.0 and not geos 3.8.1 installed by apt. I now built geos 3.8.0 from source and the rest of the chain (proj 7.0.0, libgeotiff master, libspatialite from fossil, gdal

[QGIS-Developer] Experience with coverage.py?

2020-04-14 Thread Sebastian M. Ernst
Hi all, has someone by any chance been trying or even successfully using `coverage.py` (1) inside QGIS' Python code and/or plugins and could share some experience? For me, it works, sometimes, with plenty of edge cases ... I am basically running into all sorts of wired issues - presumably due to

Re: [QGIS-Developer] QGIS unstable on debian testing

2020-04-14 Thread Jorge Gustavo Rocha
Hi uclaros, Can you check just GEOS without QGIS? Does this works? from shapely import wkt a = wkt.loads('Polygon ((0 0, 1 1, 1 0, 0 0))') b = wkt.loads('Point (42 0)') print(a.intersection(b)) My answer is just: POINT EMPTY Best regards, On 14/04/20 14:15, uclaros wrote: > Thanks for the

Re: [QGIS-Developer] Failing to install QGIS-dev/nightly with osgeo4w:

2020-04-14 Thread Richard Duivenvoorde
On 4/14/20 3:30 PM, Jürgen E. Fischer wrote: > Hi Richard, > > On Sun, 12. Apr 2020 at 14:41:02 +0200, Richard Duivenvoorde wrote: >> After this installation I open the osgeo4w terminal and with 'o-help' I >> see there is a 'qgis-dev-bin' command. > > No issues while installing?

Re: [QGIS-Developer] QGIS unstable on debian testing

2020-04-14 Thread uclaros
There's https://github.com/qgis/QGIS/issues/35719 -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:

Re: [QGIS-Developer] QGIS unstable on debian testing

2020-04-14 Thread Richard Duivenvoorde
On 4/14/20 1:04 PM, uclaros wrote: > QgsGeometry.fromWkt('Polygon ((0 0, 1 1, 1 0, 0 > 0))').intersection(QgsGeometry.fromWkt('Point (42 0)')) Ok, THIS is a good test!! I can confirm/crash with this one :-( BUT on 3.10, 3.12 AND current master!! I also tested on current Windows nightly, there

Re: [QGIS-Developer] Failing to install QGIS-dev/nightly with osgeo4w:

2020-04-14 Thread Jürgen E . Fischer
Hi Richard, On Sun, 12. Apr 2020 at 14:41:02 +0200, Richard Duivenvoorde wrote: > After this installation I open the osgeo4w terminal and with 'o-help' I > see there is a 'qgis-dev-bin' command. No issues while installing? %OSGEO4W_ROOT%\etc\postinstall\qgis-dev.bat should have been run (and

Re: [QGIS-Developer] QGIS unstable on debian testing

2020-04-14 Thread uclaros
Thanks for the reply, the python code was just an easy way to trigger the crash. The problem is not python related, it's reproducible on a fresh debian testing vm, fully upgraded, ie proj 7.0.0, gdal 3.4, geos 3.8.1. The issue does not exist on debian stable, maybe your ubuntu is based on the

[QGIS-Developer] Plugin [2018] ClusterPoints approval notification.

2020-04-14 Thread noreply
Plugin ClusterPoints approval by pcav. The plugin version "[2018] ClusterPoints 4.5" is now approved Link: http://plugins.qgis.org/plugins/clusterpoints/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:

Re: [QGIS-Developer] QGIS unstable on debian testing

2020-04-14 Thread Jorge Gustavo Rocha
Hi uclaros, No crash here, running your PyQGIS code, on Ubuntu. Even if you compile Proj 6.3.1 + GDAL 3.x + QGIS properly, we can have problems with Python. For example, I recently changed to Python 3.7 and I had to: sudo pip3 install pyproj --no-binary pyproj sudo pip3 install owslib and

Re: [QGIS-Developer] QGIS unstable on debian testing

2020-04-14 Thread uclaros
Part of my problems seem to be caused by the fact that intersections between a polygon or linestring and a point cause QGIS to crash... eg. the following python code: QgsGeometry.fromWkt('Polygon ((0 0, 1 1, 1 0, 0 0))').intersection(QgsGeometry.fromWkt('Point (42 0)')) -- Sent from:

[QGIS-Developer] Plugin [2032] Queensland property boundaries approval notification.

2020-04-14 Thread noreply
Plugin Queensland property boundaries approval by pcav. The plugin version "[2032] Queensland property boundaries 1.0" is now approved Link: http://plugins.qgis.org/plugins/qld_property_boundaries/ ___ QGIS-Developer mailing list

[QGIS-Developer] Plugin [2029] Neural Network MLPClassifier approval notification.

2020-04-14 Thread noreply
Plugin Neural Network MLPClassifier approval by pcav. The plugin version "[2029] Neural Network MLPClassifier 1.0.3" is now approved Link: http://plugins.qgis.org/plugins/lnns/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:

[QGIS-Developer] Plugin [2030] Locate approval notification.

2020-04-14 Thread noreply
Plugin Locate approval by pcav. The plugin version "[2030] Locate 0.1" is now approved Link: http://plugins.qgis.org/plugins/locate/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:

[QGIS-Developer] Plugin [2031] Lines around Points approval notification.

2020-04-14 Thread noreply
Plugin Lines around Points approval by pcav. The plugin version "[2031] Lines around Points 0.1 Experimental" is now approved Link: http://plugins.qgis.org/plugins/lines_around_point/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List

Re: [QGIS-Developer] EditInPlace Processing script

2020-04-14 Thread matteo
Hi Arnaud, I explored the QgsProcessingFeatureBasedAlgorithm but unfortunately is not the case of what I'm looking for. From what I understood QgsProcessingFeatureBasedAlgorithm is the class to use when the algorithm performs "feature-by-feature" operations like buffers. In my case I would like