[Qgis-developer] SOAP from the Python console in QGIS
I´m trying to install a SOAP API kaldet SUDS, on a Windows 7 OS, to be able to run SOAP from the QGIS Python console and pyQGIS/Python scripts. The only Python I have installed is the one comming with QGIS 2.01 standalone. How can I install an external Python library like SUDS, to be used within QGIS Python? Thanks, Jakob - Jakob Lanstorp -- View this message in context: http://osgeo-org.1560.x6.nabble.com/SOAP-from-the-Python-console-in-QGIS-tp5088922.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugin [40] Group Stats approval notification.
Plugin Group Stats approval by Rayo. The plugin version [40] Group Stats 2.0.3 is now unapproved Link: http://plugins.qgis.org/plugins/GroupStats/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Rotation of Labels
Hi, I am wondering if the rotation of labels is as it should be. I am using a point layer containing text strings and rotation angles. When setting the Quadrant of the label (option Offset from point) the label is first displaced from the point and then rotated around _the label's centre_. IMHO the behaviour should be to rotate the label around _the label point_. Opinions? Bernhard __ Information from ESET Mail Security, version of virus signature database 9042 (20131113) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Vector Layer translateFeature() and Qdebug
Bump On Thu, Nov 7, 2013 at 2:07 PM, Pietro Panzeri pietro.panz...@treuropa.comwrote: Hi everyone, I'm using QGIS 2.0.1-Dufour from the repository ubuntugis-unstable. I have a plugin that is used to translate a vector layer with a shift delta_x and delta_y. To do this I use the function translateFeature() as you can see from the code below: vlayer = iface.activeLayer() feature = QgsFeature() for feature in vlayer.getFeatures(): vlayer.translateFeature(feature.id(), delta_x, delta_y) For every translated feature, the following message is displayed on the screen: undo index changed 1 undo index changed 2 undo index changed 3 ... and the plugin execution seems very slow compared to same run under version QGIS 1.6.0-Copiapò. Looking at the source code it seems that the message is sent through Qdebug(). This means that the QGIS was compiled with debug system activated? How do I get a non-debug version? Thanks -- Pietro Panzeri -- Pietro Panzeri Software Development Manager Tele-Rilevamento Europa - T.R.E. srl Ripa di Porta Ticinese, 79 20143 Milano – Italia Tel.: +39.02.4343.121 - Fax: +39.02.4343.1230 pietro.panz...@treuropa.com - www.treuropa.com ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Rotation of Labels
Hi Bernhard, On Wed, Nov 13, 2013 at 8:12 AM, Bernhard Ströbl bernhard.stro...@jena.dewrote: Hi, I am wondering if the rotation of labels is as it should be. I am using a point layer containing text strings and rotation angles. When setting the Quadrant of the label (option Offset from point) the label is first displaced from the point and then rotated around _the label's centre_. IMHO the behaviour should be to rotate the label around _the label point_. Opinions? The default placement for Offset from point is the center of the label registered over the point (or Quadrant wouldn't make much sense). Applying a rotation that rotates the label around a different point seems unintuitive to me, but maybe I am not understanding your alternative. Can you show this graphically, along with the settings that would produce the individual graphics? And, maybe expand more upon the general use case? I am unclear what you mean by _the label point_. Do you mean the label's default rotation origin (lower left), or do you mean the feature point? I also chose rotating around the center of the label to ensure the label stays 'contained' within the specified quadrant. There is extra code to ensure the label's location is shifted to keep the overall label inside the quadrant; otherwise, applying a rotation would break the concept of choosing a quadrant. Regards, Larry Bernhard __ Information from ESET Mail Security, version of virus signature database 9042 (20131113) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Minimum qt version - bumping to 4.6?
Hi, On Tue, Nov 12, 2013 at 1:01 AM, Martin Dobias wonder...@gmail.com wrote: On Tue, Nov 12, 2013 at 1:51 PM, Werner Macho werner.ma...@gmail.com wrote: I'd rather take the step forward to 4.8 either .. even the stable version of debian (which is usually behind everything) has QT4.8. Opinions? For me +1 to set Qt 4.8 as a minimum for next release of QGIS Qt 4.8.0 is now nearly two years old - seems like distributions have had enough time to get the packages ready. When this was last discussed [0] (over a year ago, and to no conclusion), the lowest version for Qt, on a production platform providing QGIS, was 4.5, but there were third-party updates for those platforms even then. +1 for at least Qt 4.6 as the new minimum. However, with some more research, we may find 4.7, or even 4.8, reasonable. On the Mac side of things, I think William has routinely shipped QGIS with the most recent stable version of Qt 4 at the time. The nightly is also built that way. Currently on Mac OS X 10.6-9 this would be Qt 4.8.5. For OSGeo4W, it looks like the x86 installer provides 4.7.1, while the x86_64 installer is at 4.8.5 [1]. [0] http://osgeo-org.1560.x6.nabble.com/Minimal-Qt-version-td4995316.html [1] http://download.osgeo.org/osgeo4w/versions_diff-x86-x86_64.html It would be nice to finally be able to use the new features (e.g. QML - and have qgis_qml library with QML canvas, legend...) +1 for this. In fact, I think it is very important to investigate what moving to an entire QGIS GUI built upon QML would take (or if it is even possible, yet). And personally, I see Digia focusing most of its energy in QML, though I think Qt Wdigets have at least a good 5-year shelf life. Side note: new Ubuntu Touch OS (to be installable on many Android tablets) runs QML natively for its GUI [2]. [2] https://wiki.ubuntu.com/Touch Regards, Larry Regards Martin ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Minimum qt version - bumping to 4.6?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 13/11/2013 22:22, Larry Shaffer ha scritto: When this was last discussed [0] (over a year ago, and to no conclusion), the lowest version for Qt, on a production platform providing QGIS, was 4.5, but there were third-party updates for those platforms even then. +1 for at least Qt 4.6 as the new minimum. However, with some more research, we may find 4.7, or even 4.8, reasonable. Hi Larry, you're right, this is taking too long. I'd suggest to move to 4.8. The only major distro where we'll have issues is win32, but upgrading there shouldn't be a major problem (and it is anyway desirable to keep 64 and 32 in sync). I'd suggest that if nobody raises serious issues within, say, a week, we move forward. Thanks. - -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: http://www.faunalia.eu/training.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlKEcVsACgkQ/NedwLUzIr7jsgCdEAJRvuhCMXJFbc5L5KdRHvlp mxEAoKrWQ3ttljfdtpUHZecrzumvmbul =zoJF -END PGP SIGNATURE- ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Rotation of Labels
Hi Larry, description of problem: I have label points and rotation angles ranging from 0 to 360 degrees. The label point is the lower left corner of the _rotated_ label. Current behaviour is: If I set a quadrangle the label is displaced and rotated, the lable's center being the rotation centre. I see from your answer that this is the intended behaviour because, as you write, otherwise, applying a rotation would break the concept of choosing a quadrant. My expectation was: The centre of rotation is the feature point to be labeled. Thus choosing the right quadrant and roting with 90 degrees would result in a label being straight upward from the feature point. I would call this intuitive but the current behaviour is intuitive, too :-) My current workaround: Set the quadrant data defined from the rotation angle (CASE), results are ok regards Bernhard Am 13.11.2013 21:02, schrieb Larry Shaffer: Hi Bernhard, On Wed, Nov 13, 2013 at 8:12 AM, Bernhard Ströbl bernhard.stro...@jena.dewrote: Hi, I am wondering if the rotation of labels is as it should be. I am using a point layer containing text strings and rotation angles. When setting the Quadrant of the label (option Offset from point) the label is first displaced from the point and then rotated around _the label's centre_. IMHO the behaviour should be to rotate the label around _the label point_. Opinions? The default placement for Offset from point is the center of the label registered over the point (or Quadrant wouldn't make much sense). Applying a rotation that rotates the label around a different point seems unintuitive to me, but maybe I am not understanding your alternative. Can you show this graphically, along with the settings that would produce the individual graphics? And, maybe expand more upon the general use case? I am unclear what you mean by _the label point_. Do you mean the label's default rotation origin (lower left), or do you mean the feature point? I also chose rotating around the center of the label to ensure the label stays 'contained' within the specified quadrant. There is extra code to ensure the label's location is shifted to keep the overall label inside the quadrant; otherwise, applying a rotation would break the concept of choosing a quadrant. Regards, Larry __ Information from ESET Mail Security, version of virus signature database 9045 (20131113) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer