Re: [Qgis-developer] Canvas rotation.

2015-04-02 Thread Sandro Santilli
On Wed, Apr 01, 2015 at 02:04:03PM -0500, G. Garibaldi wrote: Thanks. Very nice. GIS operators the world over are in your debt. Thank you ! It would be great if some of them could payback the debt by providing improvements to it, under form of automated tests, bugfixes and GUI enhancements :)

[Qgis-developer] Map canvas zoom resets visibility of QgsRubberBand

2015-04-02 Thread Anatoliy Golubev
Hi devs! I found another issue with QgsRubberBand which appear after fixing #12392. See #12486 for details. Im trying to fix this issue and have a questions about expected behavior of QgsRubberBand. When we create QgsRubberBand: QgsRubberBand *rb = new QgsRubberBand(mCanvas, 0); constructor

Re: [Qgis-developer] Map canvas zoom resets visibility of QgsRubberBand

2015-04-02 Thread Sandro Santilli
On Thu, Apr 02, 2015 at 09:24:42AM +0300, Anatoliy Golubev wrote: Hi devs! I found another issue with QgsRubberBand which appear after fixing #12392. See #12486 for details. Im trying to fix this issue and have a questions about expected behavior of QgsRubberBand. When we create

Re: [Qgis-developer] QGIS Web-Client Cant display HelloWorld example

2015-04-02 Thread Marc Beiling
Hi Andreas, thanks for your immediate reply! It was my fault and a permissions problem. The web folder had to be owned by www-data, but was owned by my personal user after i cloned the project from git. Now everything (both examples) works fine. I dont get the opacity-complaint from javascript

[Qgis-developer] programmatically load a plugin

2015-04-02 Thread PIERRE Sylvain
Hello, I would like to programmatically load a plugin from QGIS official repository (eg in startup python script) I’ve found QgsPluginManagerInterface class but I’m not sure addPluginMetadatahttp://qgis.org/api/classQgsPluginManagerInterface.html#aeec85580f92725f55047069be6273c97 can do the

[Qgis-developer] Thoughts about multi-type tables in QGIS

2015-04-02 Thread Olivier Dalang
Hi, In some projects of mine, I work with multiple geometry types in one postgis table, using a column of type geometry(Geometry,4326). This is very well supported by postgis. It is possible to load such a table in QGIS by manually selecting the geometry type you want to load. This means that to

Re: [Qgis-developer] Thoughts about multi-type tables in QGIS

2015-04-02 Thread Nathan Woodrow
I would not be in favour of supporting a many geometry type per layer type setup, it just makes things a heap more complicated IMO for little gain. Also makes your code a lot more complicated, you now have to check each geometry for type because you are never sure what you will get. MapInfo did

Re: [Qgis-developer] Adding grass commands to the processing toolbox

2015-04-02 Thread Paolo Cavallini
Il 02/04/2015 12:40, Olivier Dalang ha scritto: Yes but for now I only looked at the binding for v.net.centrality, shouldn't we be a bit more general and bind the all the v.net.* functions before making a pull request ? This could be even better, but one is better than nothing. All the best,

Re: [Qgis-developer] Adding grass commands to the processing toolbox

2015-04-02 Thread Paolo Cavallini
Hi Olivier, Il 01/04/2015 16:26, Olivier Dalang ha scritto: And now I've the function right in QGIS's toolbox, and it works perfectly ! Could you please submit it as a Pull Request? Thanks. -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: http://www.faunalia.eu/training.html

Re: [Qgis-developer] Thoughts about multi-type tables in QGIS

2015-04-02 Thread Denis Rouzaud
Hi Olivier, I think you can easily extend your reasoning to the support of multiple geometry columns in QGIS. I believe that this would come in QGIS at some point. If QGIS 3 is getting closer, our company will support this feature. As you suggest, the layer could have different geometry

[Qgis-developer] Drag Drop into MapCanvas

2015-04-02 Thread Boehnke, Christian
Hello, I wrote a QGIS Plugin to load MS Access Databases into a QTreeWidget. At a first step, I'm able to display the tables as a temporary shape file by clicking a button and executing a proper function. Now I want to drag the tables into the QGIS Map Canvas (and to be shown as temporary

Re: [Qgis-developer] Thoughts about multi-type tables in QGIS

2015-04-02 Thread Matthias Kuhn
I agree with Nathan, for algorithms, symbology and a lot of small things it will become very complicated. As an alternative approach, we could think about having some layer settings defined on group level (and maybe even a merged attribute table for the whole group). That would already make a lot

Re: [Qgis-developer] Adding grass commands to the processing toolbox

2015-04-02 Thread Olivier Dalang
Hi, Could you please submit it as a Pull Request? Yes but for now I only looked at the binding for v.net.centrality, shouldn't we be a bit more general and bind the all the v.net.* functions before making a pull request ? In the meantime, I found how to make it work on mac too. The

Re: [Qgis-developer] Map canvas zoom resets visibility of QgsRubberBand

2015-04-02 Thread Anatoliy Golubev
This changes can be made in next major version with another API changes and for now I think it is better to save compatibility with existing user stuff. 2015-04-02 12:20 GMT+03:00 Sandro Santilli s...@keybit.net: My personal preference (for ease and intuitiveness) would be: - On construction

Re: [Qgis-developer] Thoughts about multi-type tables in QGIS

2015-04-02 Thread Bo Victor Thomsen
As an old MapInfo user/developer my opion is: Don't do it. It has always been a problem in MapInfo and it will be a problem in QGIS - if implemented. A better approach is to have the possibility to let different QGIS layers share some common characteristics (for example labelling). And - of

Re: [Qgis-developer] Thoughts about multi-type tables in QGIS

2015-04-02 Thread Olivier Dalang
Hi, Would it really be more complicated ? I mean, for now, an algorithm that works only with line layers already has to check whether the layer is of type line. That's done before iterating the features. Exactly in the same way, there would be functions to determine whether a layer supports a

[Qgis-developer] QGIS WPS plugin misses one parameter

2015-04-02 Thread Yannick Tylle
Hello everybody, I set up a Web Processing Service with 52°North and GRASS (using the wps-grass-bridge). All went smooth and I get a proper DescribeProcess for i.cluster similar to the demo here: http://geoprocessing.demo.52north.org:8080/wps/WebProcessingService?REQUEST= DescribeProcess

[Qgis-developer] Setting up environment for developing with QGIS in c++

2015-04-02 Thread George Silva
Hello everyone, Is there a place where I can find documentation on what sort of environment I need to develop/debug QGIS itself? What's the motivation behind this is a blocker bug in Raster Calculator, that I reported. THanks -- George R. C. Silva SIGMA Consultoria

Re: [Qgis-developer] Background to Lable

2015-04-02 Thread Nikhil Murarka
/20150402/fb00ce95/attachment-0001.html -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150402

Re: [Qgis-developer] Setting up environment for developing with QGIS in c++

2015-04-02 Thread Richard Duivenvoorde
On 02-04-15 19:24, George Silva wrote: Hello everyone, Is there a place where I can find documentation on what sort of environment I need to develop/debug QGIS itself? What's the motivation behind this is a blocker bug in Raster Calculator, that I reported. Hi George, depending on your