[QGIS-Developer] About composer export memory usage

2018-03-02 Thread Dominique Lyszczarz
Hi, I'm trying to export a layout of 600x600mm at 600dpi (14173x14173 px) on a Linux 64bits system with 4go of memory and 2go of swap, but I raise a memory overflow error (bad allocation). The map contains lot of layers, svg symbols, labels, custom functions... I'm curious of the origin of this

Re: [QGIS-Developer] Editing rule based labeling with the new QGIS3 python API

2018-02-04 Thread Dominique Lyszczarz
ok I found the solution, it was because I use an expression for labeling and I had forgotten to set QgsPalLayerSettings().isExpression to True. Thanks again for your time. 2018-02-04 14:15 GMT+01:00 Martin Dobias <wonder...@gmail.com>: > On Sun, Feb 4, 2018 at 1:36 PM, Dominique Lyszcz

Re: [QGIS-Developer] Editing rule based labeling with the new QGIS3 python API

2018-02-04 Thread Dominique Lyszczarz
anything then the labels are displayed correctly. Is there any register action needed for each rule that I forgot in my code ? 2018-02-03 22:34 GMT+01:00 Martin Dobias <wonder...@gmail.com>: > Hi Dominique > > On Sat, Feb 3, 2018 at 11:24 AM, Dominique Lyszczarz <doml...@

[QGIS-Developer] Editing rule based labeling with the new QGIS3 python API

2018-02-03 Thread Dominique Lyszczarz
Hi, I'm able to create a new rule based labeling setup from scratch like this minimal example : root = QgsRuleBasedLabeling.Rule(QgsPalLayerSettings()) settings = QgsPalLayerSettings() rule = QgsRuleBasedLabeling.Rule(settings) root.appendChild(rule) rules = QgsRuleBasedLabeling(root)

[Qgis-developer] Changelog for processing API ?

2016-03-03 Thread Dominique Lyszczarz
Hi, After upgrading to QGIS 2.14, some of my processing script doesn't work anymore. It seems there are small changes for some algorithms call. For example 'gdalogr:rasterize' add a new parameters named EXTRA and change the order place of the parameter TFW. Not a big deal, but is there a place