[Qgis-developer] Improved Random Point request (for dot density maps)

2015-02-06 Thread John Abraham
For the Vector - Research Tools - Random Point - Stratified sampling design, can we have: Add Proportional Value From Input Field selection, where the user can select a floating point field, and then they could enter either: 1) Number of points on map, or 2) Value of each point. If the user

Re: [Qgis-developer] [Qgis-user] Poor performance with large projects

2015-02-06 Thread Luca Lanteri
I can confirm this issue. I've the same problem when work with my complex projects. I'm not a developer so I can't propose a solution but I'm available for testing. Luca 2015-02-06 9:52 GMT+01:00 Sam Ingarfield sjfingarfi...@gmail.com: Hi Everyone, I have been suffering from *very* poor

[Qgis-developer] Error import Processing

2015-02-06 Thread Ivan sarteguas
Hi I am working with QGIS Valmiera 2.2.0 in a Windows 7. I need import the library Processing, but I can't load. My code is as follow: import sysimport qgisfrom qgis.core import *from qgis.utils import *from qgis.gui import *from PyQt4.QtCore import *from PyQt4.QtGui import *app =

[Qgis-developer] How to scale a polygon from pyQgis

2015-02-06 Thread Geo DrinX
Hello, I need to scale a polygon from python code. An extract of source code is the following : for feat in iter: geom = feat.geometry() rect = geom.boundingBox() x1 = rect.xMinimum() y1 = rect.yMinimum() x2 =

Re: [Qgis-developer] Strange behaviour in feature ids when editing PostGIS layer

2015-02-06 Thread Victor Olaya
Correct, no PK in my table. What you say sounds feasible. I will try with another table that has a PK, and see if I can reproduce the error or not. I cannot expect to have a PK in the user's table, but this is at least a clue :-) Thanks! 2015-02-06 12:48 GMT+01:00 Martin Dobias

[Qgis-developer] error in compiling (QWTPOLAR_INCLUDE_DIR)

2015-02-06 Thread Matteo Ghetta
Hi all, I'm not able to compile QGIS. It seems related with QWTPOLAR_INCLUDE_DIR. This is the error when configuring with ccmake: CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the

[Qgis-developer] Strange behaviour in feature ids when editing PostGIS layer

2015-02-06 Thread Victor Olaya
Hi all, I am seeing a behaviour that surprised me when editing a PostGIS layer. HEre's a detailed explanation Let's say I have a layer with 3 features with ids 1,2 and 3. In a layer such as a shapefile, if you move the feature with the id 1, the geometryChanged signal is fired, with the feature

Re: [Qgis-developer] Strange behaviour in feature ids when editing PostGIS layer

2015-02-06 Thread Martin Dobias
Hi Victor On Fri, Feb 6, 2015 at 5:39 PM, Victor Olaya vola...@gmail.com wrote: In the case of a PostGIS layer, when the editingStopped signal is emitted, the query will return no features. The feature with id 1 is no longer there, and instead there will be a feature with id equal to 4. So

Re: [Qgis-developer] QGIS for Windows with Qt 4.8?

2015-02-06 Thread Jürgen E . Fischer
Hi Giovanni, On Fri, 06. Feb 2015 at 13:11:04 +0100, G. Allegri wrote: At the moment QGIS for Windows is built against Qt 4.7. Only 32bit was still built against 4.7. OSGeo4W 32bit was meanwhile updated to Qt 4.8. Just the 2.6.1 standalone installer wasn't updated after that. The weekly

Re: [Qgis-developer] QGIS for Windows with Qt 4.8?

2015-02-06 Thread G. Allegri
Thanks a lot Jurgen. Il 06/feb/2015 15:40 Jürgen E. j...@norbit.de ha scritto: Hi Giovanni, On Fri, 06. Feb 2015 at 13:11:04 +0100, G. Allegri wrote: At the moment QGIS for Windows is built against Qt 4.7. Only 32bit was still built against 4.7. OSGeo4W 32bit was meanwhile updated to Qt

[Qgis-developer] Poor performance with large projects

2015-02-06 Thread Sam Ingarfield
Hi Everyone, I have been suffering from *very* poor performance on a number of projects, which only seems to become noticeable on large, complex projects. I have filed a bug with regards to this, see http://hub.qgis.org/issues/12125. Giovanni suggested I cross-post on the developer and user lists

Re: [Qgis-developer] What happened to processing.runalg?

2015-02-06 Thread Arnaud Morvan
I've just meet the same problem it comes from this commit : https://github.com/qgis/QGIS/commit/956c155e8f45cb1a0fc4c5d6204f607f80edc6b0#diff-111 some imports where removes from processing.__init__.py in context of a pep8 check this is the source of the regression Arnaud Le 06/02/2015

Re: [Qgis-developer] QGIS Certification IRC meeting, Thrus 12 Feb, 2015

2015-02-06 Thread G. Allegri
Thanks Tim, I'll try to be there. giovanni 2015-02-06 16:34 GMT+01:00 Tim Sutton t...@kartoza.com: Hi All We will be holding a meeting on IRC to discuss QGIS training and certification on Thursday 12 Feb 2015 and 14h00 GMT in the channel #qgis-certification. If you have ideas about a

[Qgis-developer] QGIS for Windows with Qt 4.8?

2015-02-06 Thread G. Allegri
At the moment QGIS for Windows is built against Qt 4.7. Qt 4.8 has solved various minor issues, like with SVG rendering inside a QWebPage, which still affects QGIS 2.6. Will QGIS 2.8 be built with Qt 4.8? giovanni ___ Qgis-developer mailing list

Re: [Qgis-developer] What happened to processing.runalg?

2015-02-06 Thread Victor Olaya
the core methods should not change...and definitely not the runalg method, which is likely to be the most important one. This is clearly a blocker and has to be reverted. 2015-02-06 14:52 GMT+01:00 Arnaud Morvan arnaud.mor...@camptocamp.com: I've just meet the same problem it comes from

Re: [Qgis-developer] How to scale a polygon from pyQgis

2015-02-06 Thread Martin Dobias
Hi From QGIS 2.8 there is QgsGeometry.transform() method that works with QTransform. The following code will scale the sample line segment: from PyQt4.QtGui import QTransform g = QgsGeometry.fromPolyline([QgsPoint(-1,0),QgsPoint(1,0)]) g.transform( QTransform().scale(2,2) ) print g.asPolyline()

[Qgis-developer] What happened to processing.runalg?

2015-02-06 Thread Tim Sutton
Hi All Once of our tests in InaSAFE fails against master (see below). Can someone tell me where runalg went, and more broadly which parts of the processing framework can be relied of as API compatible between releases? I guess more and more people will start relying on its API and we should make

Re: [Qgis-developer] QGIS for Windows with Qt 4.8?

2015-02-06 Thread G. Allegri
Maybe this is the answer: http://trac.osgeo.org/osgeo4w/wiki/pkg-qt4-libs Il 06/feb/2015 13:11 G. Allegri gioha...@gmail.com ha scritto: At the moment QGIS for Windows is built against Qt 4.7. Qt 4.8 has solved various minor issues, like with SVG rendering inside a QWebPage, which still

[Qgis-developer] QGIS Certification IRC meeting, Thrus 12 Feb, 2015

2015-02-06 Thread Tim Sutton
Hi All We will be holding a meeting on IRC to discuss QGIS training and certification on Thursday 12 Feb 2015 and 14h00 GMT in the channel #qgis-certification. If you have ideas about a certification programme for QGIS, please come along and join us, or submit your ideas but email for discussion

Re: [Qgis-developer] What happened to processing.runalg?

2015-02-06 Thread Tim Sutton
Hi Ah thanks for the feedback Victor and Arnaud! Regards Tim On Fri, Feb 6, 2015 at 3:58 PM, Victor Olaya vola...@gmail.com wrote: the core methods should not change...and definitely not the runalg method, which is likely to be the most important one. This is clearly a blocker and has to

[Qgis-developer] QgsComposition itemRemoved signal in Python passes a QObject parameter

2015-02-06 Thread G. Allegri
I haven't enough experience with SIP to spot the problem. Connecting to QgsCompisition itemRemoved signal I obtain a QObject parameter intead of QgsComposerItem. E.g. def something(self): self.composition.itemRemoved.connect(self.itemRemovedFromComposer) def