[Qgis-developer] Issue tracking: purpose of status resolved
Hi, There is a status resolved which can be assigned to issues. What is its purpose and advantage compared to just closed and setting an appropriate resolution? The drawback of it is, that issues with the status resolved are still considered open and turn up with a status open filter, although they normally are normally no longer of any concern. I would propose to get rid of this status. Regards, Matthias ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Master on OSGeo4W
Just wanted to check if there were any problems with updates to master. Haven't had an update for a couple of days now and its obviously important at the moment so we can check for bugs. From a personal point of view it is also very useful to be able to see my translations within the software. James ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] DXF export: 2 problems
Hi all. 1. the file extension is not added automatically 2. the created layer returns an error when trying to load it back in QGIS. Should I open tickets? All the best. -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] DXF export: 2 problems
Hi Paolo Yes, please open tickets. Regards, Marco On 12.02.2014 10:15, Paolo Cavallini wrote: Hi all. 1. the file extension is not added automatically 2. the created layer returns an error when trying to load it back in QGIS. Should I open tickets? All the best. -- Dr. Marco Hugentobler Sourcepole - Linux Open Source Solutions Weberstrasse 5, CH-8004 Zürich, Switzerland marco.hugentob...@sourcepole.ch http://www.sourcepole.ch Technical Advisor QGIS Project Steering Committee ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugin [266] AniMove for QGIS approval notification.
Plugin AniMove for QGIS approval by victorzinho. The plugin version [266] AniMove for QGIS 1.3.4 Experimental is now unapproved Link: http://plugins.qgis.org/plugins/sextante_animove/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] one email address for plugin approvers
On 11-02-14 23:40, Alex Mandel wrote: An alias or a mailing list? I was thinking of an alias for now. Regards, Richard ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] one email address for plugin approvers
Hi ! -1 for making the homepage mandatory... If it's only to display the plugin's help/readme information, we should rather have the developpers create some help/readme file for each plugin, which could be opened directly from within QGIS. IMO that's much better than a link which opens in the browser, and which most of the time will be either irrelevant (since no one will spend time to make a homepage for a plugin), or a quite technical looking github readme page, which precisely displays a readme.md/txt/html page. +1 for the tracker and the repository ! On the same topic : I find the descriptions of the plugins often too synthetic to really know what a plugin is good for. I'd say this comes from the fact that descriptions can be on one line long in the metadata file. Having the ability to use multiple lines would be much better, and we'd simply show the first line only in compact views (listings...). Thanks ! Olivier 2014-02-12 12:58 GMT+01:00 Richard Duivenvoorde rdmaili...@duif.net: On 11-02-14 23:40, Alex Mandel wrote: An alias or a mailing list? I was thinking of an alias for now. Regards, Richard ___ 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] one email address for plugin approvers
2014-02-12 13:20 GMT+01:00 Olivier Dalang olivier.dal...@gmail.com: Hi ! -1 for making the homepage mandatory... If it's only to display the plugin's help/readme information, we should rather have the developpers create some help/readme file for each plugin, which could be opened directly from within QGIS. IMO that's much better than a link which opens in the browser, and which most of the time will be either irrelevant (since no one will spend time to make a homepage for a plugin), or a quite technical looking github readme page, which precisely displays a readme.md/txt/html page. +1 for the tracker and the repository ! On the same topic : I find the descriptions of the plugins often too synthetic to really know what a plugin is good for. I'd say this comes from the fact that descriptions can be on one line long in the metadata file. Having the ability to use multiple lines would be much better, and we'd simply show the first line only in compact views (listings...). Multiline descriptions in the metadata are allowed, newlines are not converted to BR in the HTML though... -- w3: www.itopen.it ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] one email address for plugin approvers
Multiline descriptions in the metadata are allowed, newlines are not converted to BR in the HTML though... Good to know ! Is it ok to use HTML then ? Does the same apply to the changelog ? ... The default metadata.txt file should be more explicit about how to format the entries... A few days ago I added an in the author fields (since we were two authors), and the plugin wasn't downloadable anymore (it uploaded well though). 2014-02-12 13:32 GMT+01:00 Alessandro Pasotti apaso...@gmail.com: 2014-02-12 13:20 GMT+01:00 Olivier Dalang olivier.dal...@gmail.com: Hi ! -1 for making the homepage mandatory... If it's only to display the plugin's help/readme information, we should rather have the developpers create some help/readme file for each plugin, which could be opened directly from within QGIS. IMO that's much better than a link which opens in the browser, and which most of the time will be either irrelevant (since no one will spend time to make a homepage for a plugin), or a quite technical looking github readme page, which precisely displays a readme.md/txt/html page. +1 for the tracker and the repository ! On the same topic : I find the descriptions of the plugins often too synthetic to really know what a plugin is good for. I'd say this comes from the fact that descriptions can be on one line long in the metadata file. Having the ability to use multiple lines would be much better, and we'd simply show the first line only in compact views (listings...). Multiline descriptions in the metadata are allowed, newlines are not converted to BR in the HTML though... -- w3: www.itopen.it ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] QgsRubberBand RuntimeError: underlying C/C++ object has been deleted
I am using rubber band in Python plugin: self.rb = QgsRubberBand(self.canvas, QGis.Polygon) and on mouse move self.rb.addPoint( point, update ) It works well on most systems only for Win7/32bit (QGIS 2.0.1, Python 2.7.4) it was reported that it fails with RuntimeError: underlying C/C++ object has been deleted I see that ownership of rubber band is passed to map canvas QgsRubberBand( QgsMapCanvas* mapCanvas /TransferThis/, QGis::GeometryType geometryType = QGis::Line ); that is OK, but QgsMapCanvas should not delete QGraphicsItem until it is destructed. So how can the QgsRubberBand be deleted before QGIS is closed? Radim ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] QgsRubberBand RuntimeError: underlying C/C++ object has been deleted
On Wed, Feb 12, 2014 at 1:45 PM, Radim Blazek radim.bla...@gmail.com wrote: I am using rubber band in Python plugin: self.rb = QgsRubberBand(self.canvas, QGis.Polygon) and on mouse move self.rb.addPoint( point, update ) It works well on most systems only for Win7/32bit (QGIS 2.0.1, Python 2.7.4) it was reported that it fails with RuntimeError: underlying C/C++ object has been deleted I see that ownership of rubber band is passed to map canvas QgsRubberBand( QgsMapCanvas* mapCanvas /TransferThis/, QGis::GeometryType geometryType = QGis::Line ); that is OK, but QgsMapCanvas should not delete QGraphicsItem until it is destructed. So how can the QgsRubberBand be deleted before QGIS is closed? BTW, because true owner of QGraphicsItem is QGraphicsScene, should not we first mScene-removeItem() (which returns ownership) before item is deleted in QgsMapCanvas destructor? Radim ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] one email address for plugin approvers
On 12-02-14 13:38, Olivier Dalang wrote: Good to know ! Is it ok to use HTML then ? Does the same apply to the changelog ? ... Docs say no (I also tried): http://www.qgis.org/en/docs/pyqgis_developer_cookbook/plugins.html#plugin-metadata Regards, Richard Duivenvoorde ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugin [447] Spline approval notification.
Plugin Spline approval by rblazek. The plugin version [447] Spline 0.1.2 Experimental is now approved Link: http://plugins.qgis.org/plugins/spline/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Atlas preview
Hi all. Atlas preview is not working here: I can activate it, back/forward buttons are activated, but nothing happens. Am I missing something? Thanks. -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Atlas preview
Hi Paolo, Is your map in render mode (not cache)? On 12. 02. 14 14:23, Paolo Cavallini wrote: Hi all. Atlas preview is not working here: I can activate it, back/forward buttons are activated, but nothing happens. Am I missing something? Thanks. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Atlas preview
Il 12/02/2014 14:28, Denis Rouzaud ha scritto: Hi Paolo, Is your map in render mode (not cache)? Hi Denis, It was on Cache, switched to Render, no change. BTW, it seems to interact with the main canvas, preventing the display of the layer used for Atlas. Merci. -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugin [266] AniMove for QGIS approval notification.
Plugin AniMove for QGIS approval by pcav. The plugin version [266] AniMove for QGIS 1.3.4 Experimental is now approved Link: http://plugins.qgis.org/plugins/sextante_animove/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Atlas preview
I don't have any trouble using the preview, no idea where the problem comes from. You don't have any filter set in it? Concerning the main canvas, there is a bug if you check hidden coverage layer, see #9506. Nyall should fix it for 2.2 http://hub.qgis.org/issues/9506 On 12. 02. 14 14:35, Paolo Cavallini wrote: Il 12/02/2014 14:28, Denis Rouzaud ha scritto: Hi Paolo, Is your map in render mode (not cache)? Hi Denis, It was on Cache, switched to Render, no change. BTW, it seems to interact with the main canvas, preventing the display of the layer used for Atlas. Merci. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] one email address for plugin approvers
2014-02-12 14:08 GMT+01:00 Richard Duivenvoorde rdmaili...@duif.net: On 12-02-14 13:38, Olivier Dalang wrote: Good to know ! Is it ok to use HTML then ? Does the same apply to the changelog ? ... Multiline: yes HTML: no UTF8: yes -- w3: www.itopen.it ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] QgsMapCanvasItem::paint in python
Hi all, I am trying to subclass QgsMapCanvasItem in python. From the API doc, I read that I should reimplement paint( QPainter * painter ) but not paint( QPainter * painter, QStyleOptionGraphicsItem * option, QWidget * widget = 0 ); Anyway, when I implement this one, I get this error: TypeError: paint() takes exactly 2 arguments (4 given) Am I missing something? Cheers, Denis ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugin [429] KLIC Viewer approval notification.
Plugin KLIC Viewer approval by rduivenvoorde. The plugin version [429] KLIC Viewer 1.4.0 is now approved Link: http://plugins.qgis.org/plugins/b4udignl2/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugin [281] Kuwahara Filter approval notification.
Plugin Kuwahara Filter approval by rduivenvoorde. The plugin version [281] Kuwahara Filter 1.1.1 is now approved Link: http://plugins.qgis.org/plugins/kuw_filter/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugin [378] Send2GE approval notification.
Plugin Send2GE approval by rduivenvoorde. The plugin version [378] Send2GE 0.0.4 Experimental is now approved Link: http://plugins.qgis.org/plugins/send2google_earth/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugin [378] Send2GE approval notification.
Plugin Send2GE approval by rduivenvoorde. The plugin version [378] Send2GE 0.0.3 Experimental is now approved Link: http://plugins.qgis.org/plugins/send2google_earth/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugin [412] Qgis2threejs approval notification.
Plugin Qgis2threejs approval by rduivenvoorde. The plugin version [412] Qgis2threejs 0.06 is now approved Link: http://plugins.qgis.org/plugins/Qgis2threejs/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Atlas preview
Il 12/02/2014 14:44, Denis Rouzaud ha scritto: I don't have any trouble using the preview, no idea where the problem comes from. You don't have any filter set in it? not - in fact, also the menu Atlas setting seems not to do anything. moreover, the map generation is taking ages - I have rotated element, could this explain? Concerning the main canvas, there is a bug if you check hidden coverage layer, see #9506. Nyall should fix it for 2.2 http://hub.qgis.org/issues/9506 thanks for this, noted. all the best. -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugin [437] Toporobot Importer approval notification.
Plugin Toporobot Importer approval by rduivenvoorde. The plugin version [437] Toporobot Importer 0.2.2 is now approved Link: http://plugins.qgis.org/plugins/ToporobotImporter/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugin [437] Toporobot Importer approval notification.
Plugin Toporobot Importer approval by rduivenvoorde. The plugin version [437] Toporobot Importer 0.2 is now approved Link: http://plugins.qgis.org/plugins/ToporobotImporter/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugin [249] ShellDB approval notification.
Plugin ShellDB approval by rduivenvoorde. The plugin version [249] ShellDB 2.5 is now approved Link: http://plugins.qgis.org/plugins/ShellDB/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugin [324] PDOK BAG Geocoder approval notification.
Plugin PDOK BAG Geocoder approval by rduivenvoorde. The plugin version [324] PDOK BAG Geocoder 0.3 Experimental is now approved Link: http://plugins.qgis.org/plugins/pdokbaggeocoder/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugin [324] PDOK BAG Geocoder approval notification.
Plugin PDOK BAG Geocoder approval by rduivenvoorde. The plugin version [324] PDOK BAG Geocoder 0.2 Experimental is now approved Link: http://plugins.qgis.org/plugins/pdokbaggeocoder/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugin [249] ShellDB approval notification.
Plugin ShellDB approval by rduivenvoorde. The plugin version [249] ShellDB 3.0 is now approved Link: http://plugins.qgis.org/plugins/ShellDB/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugin [432] UNIX timestamp approval notification.
Plugin UNIX timestamp approval by rduivenvoorde. The plugin version [432] UNIX timestamp 0.1 Experimental is now approved Link: http://plugins.qgis.org/plugins/UNIKtimestamp/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Atlas preview
Something similar happened to me the first time I tested. I noticed that I needed to check the controled by atlas box in the map item properties tab (this was not necessary in 2.0.1). After that, everything worked fine. Might it's the same problem. Alexandre Neto On Wed, Feb 12, 2014 at 1:23 PM, Paolo Cavallini cavall...@faunalia.itwrote: Hi all. Atlas preview is not working here: I can activate it, back/forward buttons are activated, but nothing happens. Am I missing something? Thanks. -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: http://www.faunalia.eu/training.html ___ 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
[Qgis-developer] WFS loader does not work if spaces in layer names
I couldn't figure out what was wrong with loading WFS layers into QGIS, it always worked before, but it wasn't working in my new project. Turns out I had spaces in the layer names. QGIS wasn't parsing the layer names right if the layers had spaces in them, it would try to load a different layer than the one I had selected. Do spaces in layer names need to be escaped so that they work in the URL? Should QGIS be escaping them? Or are spaces in layer names just a bad idea overall? Anyone care to enter this into the bug tracking/issue tracking system? It would be great if it at least threw an error/warning. -- John Abraham j...@hbaspecto.com 403-232-1060 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] QgsRubberBand RuntimeError: underlying C/C++ object has been deleted
On Wed, Feb 12, 2014 at 2:50 PM, Martin Dobias wonder...@gmail.com wrote: Hi Radim On Wed, Feb 12, 2014 at 8:03 PM, Radim Blazek radim.bla...@gmail.com wrote: On Wed, Feb 12, 2014 at 1:45 PM, Radim Blazek radim.bla...@gmail.com wrote: I am using rubber band in Python plugin: self.rb = QgsRubberBand(self.canvas, QGis.Polygon) and on mouse move self.rb.addPoint( point, update ) It works well on most systems only for Win7/32bit (QGIS 2.0.1, Python 2.7.4) it was reported that it fails with RuntimeError: underlying C/C++ object has been deleted When does it report the error - when closing QGIS? I don't know but I presume when map tool is used, it is called from QgsMapTool::canvasMoveEvent(). Radim I see that ownership of rubber band is passed to map canvas QgsRubberBand( QgsMapCanvas* mapCanvas /TransferThis/, QGis::GeometryType geometryType = QGis::Line ); that is OK, but QgsMapCanvas should not delete QGraphicsItem until it is destructed. So how can the QgsRubberBand be deleted before QGIS is closed? BTW, because true owner of QGraphicsItem is QGraphicsScene, should not we first mScene-removeItem() (which returns ownership) before item is deleted in QgsMapCanvas destructor? That's the correct approach in Python (IIRC). You can remove the item in your map tool's deactivate() method. Regards Martin ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Problem with my flowTrace plugin using featureAtId
Hello Everyone, I am trying to fix my plugin to work with Qgis 2.0 but I am running into a snag because I struggle with Python and OOP. When I run my code I get an error, AttributeError: 'QgsVectorDataProvider' object has no attribute 'featureAtId', for this line of code: provider.featureAtId(selection_list[0], feat). I have reviewed http://www.qgis.org/api/classQgsVectorDataProvider.html and http://www.qgis.org/en/docs/pyqgis_developer_cookbook/vector.html How should the above code be modified? Thanks, Ed ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Problem with my flowTrace plugin using featureAtId
On 12-02-14 19:23, Ed Boesenberg wrote: Hello Everyone, I am trying to fix my plugin to work with Qgis 2.0 but I am running into a snag because I struggle with Python and OOP. When I run my code I get an error, AttributeError: 'QgsVectorDataProvider' object has no attribute 'featureAtId', for this line of code: provider.featureAtId(selection_list[0], feat). I have reviewed http://www.qgis.org/api/classQgsVectorDataProvider.html and http://www.qgis.org/en/docs/pyqgis_developer_cookbook/vector.html How should the above code be modified? Hi Ed, plz have a look at: http://hub.qgis.org/wiki/17/Python_plugin_API_changes_from_18_to_20#Vector-layer-API-changes Or more general: http://hub.qgis.org/wiki/17/Python_plugin_API_changes_from_18_to_20 and http://hub.qgis.org/wiki/quantum-gis/Plugin_Compatibility HTH, regards, Richard Duivenvoorde ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] WFS loader should fill in abstract/title or report it somewhere like WMS does
Hey, in case anyone is going to work on the WFS loader, please consider another two feature requests or bug reports: 1) A WFS layer does not report it's server-supplied title/abstract or any other useful server-supplied metadata in it's properties dialog. A WMS layer added to QGIS displays all the server metadata in Properties-Metadata-Properties-Server Properties. WFS layers, in comparison, only show the Abstract/Title metadata when you are choosing what to load, not once it's loaded. It should be modified to show the metadata from the server in the properties dialog. 2) Neither WFS or WMS layers populate the Title / Abstract metadata fields from the server-supplied values when loading. It seems to me that both the WFS loader and the WMS loader should copy the Abstract and Title metadata (at least) from the server to the local QGIS metadata Abstract and Title, as the default values, that the user could modify it after loading if they choose. Mucho thanks to anyone who takes this on, (someday I should relearn C /C++, but for now my own open-source contributions are limited to Java and python projects…), -- John Abraham j...@hbaspecto.com 403-232-1060 On Feb 12, 2014, at 9:58 AM, John Abraham j...@hbaspecto.com wrote: I couldn't figure out what was wrong with loading WFS layers into QGIS, it always worked before, but it wasn't working in my new project. Turns out I had spaces in the layer names. QGIS wasn't parsing the layer names right if the layers had spaces in them, it would try to load a different layer than the one I had selected. Do spaces in layer names need to be escaped so that they work in the URL? Should QGIS be escaping them? Or are spaces in layer names just a bad idea overall? Anyone care to enter this into the bug tracking/issue tracking system? It would be great if it at least threw an error/warning. -- John Abraham j...@hbaspecto.com 403-232-1060 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Atlas preview
On 13/02/2014 3:25 am, Alexandre Neto senhor.n...@gmail.com wrote: Something similar happened to me the first time I tested. I noticed that I needed to check the controled by atlas box in the map item properties tab (this was not necessary in 2.0.1). After that, everything worked fine. This is needed now because more than one map can be atlas controlled (or, potentially, no maps at all if you just want label items to change between features). I couldn't think of any better way of exposing this to the user. Ideas are welcome! Nyall ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Atlas preview
And it is a great add-on to the the atlas. Maybe make it on by default in all maps? Or at least to the first. map added. We should also make it clear the in the users manual. Alexandre Em 12/02/2014 19:44, Nyall Dawson nyall.daw...@gmail.com escreveu: On 13/02/2014 3:25 am, Alexandre Neto senhor.n...@gmail.com wrote: Something similar happened to me the first time I tested. I noticed that I needed to check the controled by atlas box in the map item properties tab (this was not necessary in 2.0.1). After that, everything worked fine. This is needed now because more than one map can be atlas controlled (or, potentially, no maps at all if you just want label items to change between features). I couldn't think of any better way of exposing this to the user. Ideas are welcome! Nyall ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] [SoC] GSoC 2014 Ideas Page
Hamish ha scritto: the main OSGeo GSoC 2014 pages are now in place, http://wiki.osgeo.org/wiki/Google_Summer_of_Code working on the application next.. [now] Paolo wrote: thanks for this. Please note that we'll be collecting ideas on QGIS at: https://hub.qgis.org/wiki/quantum-gis/Google_Summer_of_Code_2014 Should we add the link somewhere? I have added (ie uncommented) QGIS to the list at: http://wiki.osgeo.org/wiki/Google_Summer_of_Code_2014_Ideas#OSGeo_Foundation_member_projects So QGIS is online. But not many other projects are there yet -- we need all those ideas pages ready and linked in the next hours/day! It's critical to our application to become a mentoring org; there is no guarantee that we will be accepted, only a guarantee that we won't be if our ideas pages are too thin. @everyone: Please make the ideas as detailed as possible, and it helps I think to have those mentor or willing to mentor listed. One question Google asks us in our application is how many mentors we have lined up (please speak up on behalf of your project team). thanks, Hamish (on behalf of the OSGeo GSoC admin team) ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] how to use QgsPalLayerSettings class
I'm a newer of qgis I write a C++ application. I want to set a layer's label when it smaller than 1.00mm will be not visible. My code is as follows: void LayerMgr::showLabels(QgsVectorLayer *layer, bool opt) { int index = 0; QString attrName = name; QgsPalLayerSettings labelSetting; QgsLabel *layerLabel = layer-label(); QgsFields field = layer-dataProvider()-fields(); if (false == opt) { layer-enableLabels(false); return; } for (index = 0; index field.size(); index++) { if (QString(field[index].name()) == attrName) { break; } } labelSetting.enabled = true; labelSetting.fieldName = QString(field[index].name()); labelSetting.textColor = Qt::black; labelSetting.minFeatureSize = 10.0; labelSetting.writeToLayer(layer); mpMapCanvas-refresh(); } But it was not usful.Who can help me. Thank you very much. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] QgsRubberBand RuntimeError: underlying C/C++ object has been deleted
Hi Radim, Can you show us the whole code? Cheers, Denis On 12. 02. 14 19:17, Radim Blazek wrote: On Wed, Feb 12, 2014 at 2:50 PM, Martin Dobias wonder...@gmail.com wrote: Hi Radim On Wed, Feb 12, 2014 at 8:03 PM, Radim Blazek radim.bla...@gmail.com wrote: On Wed, Feb 12, 2014 at 1:45 PM, Radim Blazek radim.bla...@gmail.com wrote: I am using rubber band in Python plugin: self.rb = QgsRubberBand(self.canvas, QGis.Polygon) and on mouse move self.rb.addPoint( point, update ) It works well on most systems only for Win7/32bit (QGIS 2.0.1, Python 2.7.4) it was reported that it fails with RuntimeError: underlying C/C++ object has been deleted When does it report the error - when closing QGIS? I don't know but I presume when map tool is used, it is called from QgsMapTool::canvasMoveEvent(). Radim I see that ownership of rubber band is passed to map canvas QgsRubberBand( QgsMapCanvas* mapCanvas /TransferThis/, QGis::GeometryType geometryType = QGis::Line ); that is OK, but QgsMapCanvas should not delete QGraphicsItem until it is destructed. So how can the QgsRubberBand be deleted before QGIS is closed? BTW, because true owner of QGraphicsItem is QGraphicsScene, should not we first mScene-removeItem() (which returns ownership) before item is deleted in QgsMapCanvas destructor? That's the correct approach in Python (IIRC). You can remove the item in your map tool's deactivate() method. 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
[Qgis-developer] Plugin [68] CadTools approval notification.
Plugin CadTools approval by zicke. The plugin version [68] CadTools 0.6.2 is now approved Link: http://plugins.qgis.org/plugins/cadtools/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] How to display the cursor Z info in the QGis staus bar ?
Hello all, as in object, I need to display the current cursor Z info into the QGis staus bar. Of course, I have a DTM layer in QGis list:) It just exists something that does something similar ? Thank you in advance for any info about this. Regards Roberto ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Fwd: [OSGeo GSoC Mentors] OSGeo GSoC 2014: Action required by mentors in the next 24-72 hours.
Hi all, we already have ideas page for upcoming GSoC. May I ask possible mentors to add their contacts to this page too or simply send email to s...@lists.osgeo.org or osgeo-gsoc-ment...@googlegroups.com. Also I ask ideas authors to extend descriptions of ideas if possible. -- Forwarded message -- From: Hamish hamish.bow...@gmail.com Date: 2014-02-13 3:19 GMT+02:00 Subject: [OSGeo GSoC Mentors] OSGeo GSoC 2014: Action required by mentors in the next 24-72 hours. To: osgeo-gsoc-ment...@googlegroups.com Hi all, a reminder for any projects wishing to participate in OSGeo's Google Summer of Code 2014: we need your ideas pages up and fully QA'd ASAP! We submit our org application tomorrow, and it will be assessed by Google early next week. They've repeatedly stated that the ideas pages are amongst the most important thing they look at, and the previous good-stead orgs have been rejected due to slack ideas pages. So far we only have links to ideas from GRASS, QGIS, pgRouting, and PyWPS. Last year we had 13 more projects than that involved, so I know there are more of you out there! :-) Also Google wishes to know ahead of time how many mentors we have lined up to help, so please add mentor names and how-to-contact info to each idea in your ideas pages where you can, /or say hello on this list or the public s...@lists.osgeo.org one. thanks, Hamish the OSGeo GSoC 2014 admin team ps- any questions just ask: you can find Anne, Dustan, or myself at various times through the day on IRC at #osgeo-soc (Freenode network) -- You received this message because you are subscribed to the Google Groups OSGeo GSoC Mentors group. To unsubscribe from this group and stop receiving emails from it, send an email to osgeo-gsoc-mentors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Alexander Bruy ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] QgsRubberBand RuntimeError: underlying C/C++ object has been deleted
On Thu, Feb 13, 2014 at 7:13 AM, Denis Rouzaud denis.rouz...@gmail.com wrote: Hi Radim, Can you show us the whole code? https://github.com/blazek/spline/blob/master/spline/spline.py Radim Cheers, Denis On 12. 02. 14 19:17, Radim Blazek wrote: On Wed, Feb 12, 2014 at 2:50 PM, Martin Dobias wonder...@gmail.com wrote: Hi Radim On Wed, Feb 12, 2014 at 8:03 PM, Radim Blazek radim.bla...@gmail.com wrote: On Wed, Feb 12, 2014 at 1:45 PM, Radim Blazek radim.bla...@gmail.com wrote: I am using rubber band in Python plugin: self.rb = QgsRubberBand(self.canvas, QGis.Polygon) and on mouse move self.rb.addPoint( point, update ) It works well on most systems only for Win7/32bit (QGIS 2.0.1, Python 2.7.4) it was reported that it fails with RuntimeError: underlying C/C++ object has been deleted When does it report the error - when closing QGIS? I don't know but I presume when map tool is used, it is called from QgsMapTool::canvasMoveEvent(). Radim I see that ownership of rubber band is passed to map canvas QgsRubberBand( QgsMapCanvas* mapCanvas /TransferThis/, QGis::GeometryType geometryType = QGis::Line ); that is OK, but QgsMapCanvas should not delete QGraphicsItem until it is destructed. So how can the QgsRubberBand be deleted before QGIS is closed? BTW, because true owner of QGraphicsItem is QGraphicsScene, should not we first mScene-removeItem() (which returns ownership) before item is deleted in QgsMapCanvas destructor? That's the correct approach in Python (IIRC). You can remove the item in your map tool's deactivate() method. 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] Fwd: [OSGeo GSoC Mentors] OSGeo GSoC 2014: Action required by mentors in the next 24-72 hours.
Alex, please add me as a mentor to the LiDAR in QGIS effort. I am on the road travelling between Bangkok and Manila while working on a sweet Valentine's release for LAStools and have lost the overview on which page how to add what ... (-; Martin @rapidlasso On Thu, Feb 13, 2014 at 8:31 AM, Alexander Bruy alexander.b...@gmail.comwrote: Hi all, we already have ideas page for upcoming GSoC. May I ask possible mentors to add their contacts to this page too or simply send email to s...@lists.osgeo.org or osgeo-gsoc-ment...@googlegroups.com. Also I ask ideas authors to extend descriptions of ideas if possible. -- Forwarded message -- From: Hamish hamish.bow...@gmail.com Date: 2014-02-13 3:19 GMT+02:00 Subject: [OSGeo GSoC Mentors] OSGeo GSoC 2014: Action required by mentors in the next 24-72 hours. To: osgeo-gsoc-ment...@googlegroups.com Hi all, a reminder for any projects wishing to participate in OSGeo's Google Summer of Code 2014: we need your ideas pages up and fully QA'd ASAP! We submit our org application tomorrow, and it will be assessed by Google early next week. They've repeatedly stated that the ideas pages are amongst the most important thing they look at, and the previous good-stead orgs have been rejected due to slack ideas pages. So far we only have links to ideas from GRASS, QGIS, pgRouting, and PyWPS. Last year we had 13 more projects than that involved, so I know there are more of you out there! :-) Also Google wishes to know ahead of time how many mentors we have lined up to help, so please add mentor names and how-to-contact info to each idea in your ideas pages where you can, /or say hello on this list or the public s...@lists.osgeo.org one. thanks, Hamish the OSGeo GSoC 2014 admin team ps- any questions just ask: you can find Anne, Dustan, or myself at various times through the day on IRC at #osgeo-soc (Freenode network) -- You received this message because you are subscribed to the Google Groups OSGeo GSoC Mentors group. To unsubscribe from this group and stop receiving emails from it, send an email to osgeo-gsoc-mentors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Alexander Bruy ___ 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] QgsRubberBand RuntimeError: underlying C/C++ object has been deleted
On Thu, Feb 13, 2014 at 8:35 AM, Radim Blazek radim.bla...@gmail.com wrote: On Thu, Feb 13, 2014 at 7:13 AM, Denis Rouzaud denis.rouz...@gmail.com wrote: Hi Radim, Can you show us the whole code? https://github.com/blazek/spline/blob/master/spline/spline.py And traceback: Traceback (most recent call last): File C:\Users\user1/.qgis2/python/plugins\spline\spline.py, line 174, in canvasMoveEvent self.setRubberBandPoints(points ) File C:\Users\user1/.qgis2/python/plugins\spline\spline.py, line 207, in setRubberBandPoints self.rb.addPoint( point, update ) RuntimeError: underlying C/C++ object has been deleted Radim Radim Cheers, Denis On 12. 02. 14 19:17, Radim Blazek wrote: On Wed, Feb 12, 2014 at 2:50 PM, Martin Dobias wonder...@gmail.com wrote: Hi Radim On Wed, Feb 12, 2014 at 8:03 PM, Radim Blazek radim.bla...@gmail.com wrote: On Wed, Feb 12, 2014 at 1:45 PM, Radim Blazek radim.bla...@gmail.com wrote: I am using rubber band in Python plugin: self.rb = QgsRubberBand(self.canvas, QGis.Polygon) and on mouse move self.rb.addPoint( point, update ) It works well on most systems only for Win7/32bit (QGIS 2.0.1, Python 2.7.4) it was reported that it fails with RuntimeError: underlying C/C++ object has been deleted When does it report the error - when closing QGIS? I don't know but I presume when map tool is used, it is called from QgsMapTool::canvasMoveEvent(). Radim I see that ownership of rubber band is passed to map canvas QgsRubberBand( QgsMapCanvas* mapCanvas /TransferThis/, QGis::GeometryType geometryType = QGis::Line ); that is OK, but QgsMapCanvas should not delete QGraphicsItem until it is destructed. So how can the QgsRubberBand be deleted before QGIS is closed? BTW, because true owner of QGraphicsItem is QGraphicsScene, should not we first mScene-removeItem() (which returns ownership) before item is deleted in QgsMapCanvas destructor? That's the correct approach in Python (IIRC). You can remove the item in your map tool's deactivate() method. 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