[QGIS-Developer] Plugin [1616] Hqgis approval notification.

2019-05-23 Thread noreply
Plugin Hqgis approval by pcav. The plugin version "[1616] Hqgis 0.4.3" is now approved Link: http://plugins.qgis.org/plugins/Hqgis/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-de

Re: [QGIS-Developer] QgsVectorFileWriter for GeoJSON

2019-05-23 Thread matteo
Hi Nyall, > This works ok for me. What input geometry type and selected geometry > type are you using? with gpx as input. But also if I use shapefiles and exporting geojson, the raw files shows the Z values, but when using the node tool the Z value is not shown. I don't know if this is a limitat

[QGIS-Developer] Locale settings is not applied to custom build

2019-05-23 Thread 黄 克鲁
After building QGIS using CMake and Visual Studio 2017 (with 2015 toolset), I can't set QGIS language to any language other than English, even when I change the language settings from Options dialog (see picture below): [cid:3761a9a8-4897-49db-9c8a-9f26304143f0] This option has almost no effect -

Re: [QGIS-Developer] QgsVectorFileWriter for GeoJSON

2019-05-23 Thread Nyall Dawson
On Thu, 23 May 2019 at 17:17, matteo wrote: > > Hi Nyall, > > > It's a rubbish error message. Blame sip. It should be saying: > > > > "arguments did not match any overloaded call: > > missing 1 required positional argument: 'fileEncoding'" > > ah ok, get it now, thanks! > > > > Because, as the

Re: [QGIS-Developer] qwt replacement

2019-05-23 Thread Jürgen E . Fischer
Hi Martin, On Thu, 23. May 2019 at 14:16:23 +0200, Martin Landa wrote: > I am thinking to add a new package based on PythonQwt [2] to OSGeo4W, Added - try it please. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 1

[QGIS-Developer] Plugin [1364] UMEP approval notification.

2019-05-23 Thread noreply
Plugin UMEP approval by pcav. The plugin version "[1364] UMEP 3.10.1" is now approved Link: http://plugins.qgis.org/plugins/UMEP/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-deve

[QGIS-Developer] Plugin [1364] UMEP approval notification.

2019-05-23 Thread noreply
Plugin UMEP approval by pcav. The plugin version "[1364] UMEP 3.10.2" is now approved Link: http://plugins.qgis.org/plugins/UMEP/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-deve

[QGIS-Developer] Plugin [1412] GeoDataFarm approval notification.

2019-05-23 Thread noreply
Plugin GeoDataFarm approval by pcav. The plugin version "[1412] GeoDataFarm 2.5.0" is now approved Link: http://plugins.qgis.org/plugins/geodatafarm/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailma

[QGIS-Developer] qwt replacement

2019-05-23 Thread Martin Landa
Hi, a new version of Safecast plugin (which is going to be released soon I hope) is using QWT library to render simple graphs. After upgrading to QGIS3 we are facing to various problems: * On Ubuntu the packages is available since 18.10 (no LTS) [1] * No relevant package in OSGeo4W (pyqwt depends

[QGIS-Developer] OSGeo4w shell misses paths to saga_cmd

2019-05-23 Thread Alexandre Neto
Hi, I wrote a python 3 script that at some point calls saga_cmd. It worked fine on my Linux machine, but then the client tested it on Windows... It seems that the paths to saga are not set on the OSGeo4w shell, and I needed to set it manually by doing: PATH=%PATH%;C:/OSGEO4~1/apps\saga-ltr;C:/OS

Re: [QGIS-Developer] Help fixing code for gcc 4.8

2019-05-23 Thread Henrik K
Ok I caved in and installed devtoolset-8-gcc-c++ (8.2.1) from SCL repository. I recompiled our whole mapserver/gdal/proj/geos/etc stack with it. Works fine. Compiled QGis 3.4.8, no problems! (aside from some python-specific stuff) Also the feature of devtoolset is automatically linking non-syst

Re: [QGIS-Developer] [Qgis-psc] Redmine migration plan: friday 24 may 8:00 CET

2019-05-23 Thread Tim Sutton
Hi This one is best said in emoji: 🥳🎉👯‍♂️👯‍♀️🎁 Regards Tim > On 23 May 2019, at 01:09, Nyall Dawson wrote: > > On Wed, 22 May 2019 at 22:07, Richard Duivenvoorde > wrote: >> >> Hi All (lists), >> >> We propose to do the Redmine -> Github migration next friday 2

Re: [QGIS-Developer] PostgreSQL connection - more than one DB host

2019-05-23 Thread Tim Sutton
Hi We have another use case that I wonder if anyone has thought about or done any work towards?: In Django you have this ability to route requests to a specific connection. So for example you can pull read requests off one database instance and push write requests to another. Something simila

[QGIS-Developer] Plugin [1364] UMEP approval notification.

2019-05-23 Thread noreply
Plugin UMEP approval by pcav. The plugin version "[1364] UMEP 3.10" is now approved Link: http://plugins.qgis.org/plugins/UMEP/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-develo

Re: [QGIS-Developer] Help fixing code for gcc 4.8

2019-05-23 Thread Henrik K
I've no problem fixing minor brace stuff here locally.. Do you have any ideas for the QString/QStringList stuff in qgswmsrenderer.cpp? It seems I may need to install redhat developer repository to access gcc 8.2, or perhaps even compile my own gcc. But it would be shame, since pretty much all s

Re: [QGIS-Developer] PyQGIS : Creating a Geopackage layer without adding features

2019-05-23 Thread René-Luc Dhont
Hi Devs, I have tested this and it works from qgis.core import QgsVectorLayer, QgsVectorFileWriter ml = QgsVectorLayer('Point?field=firstfield:int&field=secondfield:int', 'test', 'memory') filename = '/tmp/testing.gpkg' options = QgsVectorFileWriter.SaveVectorOptions() options.driverName = 'GP

Re: [QGIS-Developer] Help fixing code for gcc 4.8

2019-05-23 Thread Alessandro Pasotti
Henrik, I'm afraid you will have an hard time: we are using more and more C++11 list initialization (aka *brace initialization) * in the code, if your compiler do not support it well, you will get a lot of errors. That said if it's just that single line that blocks your porting feel free to make

[QGIS-Developer] PyQGIS : Creating a Geopackage layer without adding features

2019-05-23 Thread René-Luc Dhont
Hi Dev, I would like to create a geopackage with multiple layers but without features. I'd like to do the same thing as the QgsNewGeoPackageLayerDialog do but without user interface in python. I have tested with QgsVectorFileWriter, but the file and layer are not created if add feature is no

Re: [QGIS-Developer] QgsVectorFileWriter for GeoJSON

2019-05-23 Thread matteo
Hi Nyall, > It's a rubbish error message. Blame sip. It should be saying: > > "arguments did not match any overloaded call: > missing 1 required positional argument: 'fileEncoding'" ah ok, get it now, thanks! > > Because, as the dox show, fileEncoding is a required argument. And > indeed, t

Re: [QGIS-Developer] QgsVectorFileWriter for GeoJSON

2019-05-23 Thread matteo
Hi Ale, > https://qgis.org/pyqgis/master/core/QgsJsonExporter.html?highlight=json#module-QgsJsonExporter didn't know this class, thanks! The correct way to use it is something like: gl = QgsJsonExporter(vl, 6) gl.exportFeatures([i for i in vl.getFeatures()]) and then write the final geojson f

[QGIS-Developer] Fwd: Qgis server systemd

2019-05-23 Thread adib saliba
-- Forwarded message - From: adib saliba Date: Thu, May 23, 2019 at 10:08 AM Subject: Re: [QGIS-Developer] Qgis server systemd To: Eric Dear Eric Thank you very much for your response I already followed the link you mentioned, i am using ubuntu 19.04 with nginx php-fpm postgresq

Re: [QGIS-Developer] Help fixing code for gcc 4.8

2019-05-23 Thread Henrik K
I'm almost near finishing, but qgswmsrenderer.cpp is throwing a lot of errors (for bot 3.4.8 and 3.6.3). Could someone have a look at this: https://pastebin.com/JS7uKAZ7 The two expression errors there I fixed per previous advice.. const auto { } -> ( ) Cheers, Henrik On Wed, May 22, 2019 at