Re: [Qgis-developer] Python: viewing properties for an ComposerItem programmatically?

2014-09-25 Thread Luca Manganelli
On Wed, Sep 24, 2014 at 4:32 PM, Luca Manganelli luc...@gmail.com wrote: [CUT ALL] # these commands doesn't show the item properties composerView.selectedItemChanged.emit(composerMap) # doesn't work composer.showItemOptions ( composerMap ) # doesn't work I found a way to do

[Qgis-developer] Python: viewing properties for an ComposerItem programmatically?

2014-09-24 Thread Luca Manganelli
Hi, (i'm using qgis 2.4) how can view the object properties of a composer item I added with my plugin? I tried with showItemOptions(...) but it doesn't work in this example, I add a composerMap, but I cannot find a way on how to automatically view the properties in the Composer Window: # open

[Qgis-developer] QGIS Server and filtered layers

2014-09-19 Thread Luca Manganelli
Hi, with QGIS Server is possible to show some layers or attributes for a group of users, that are hidden for everyone else? I.e.: apache authenticated user: TESTSHOW can view the layer TESTLAYER in a project apache unautenticated user: the TESTLAYER is hidden in the same proejct. So this

Re: [Qgis-developer] Processing causes major slowness at QGIS startup

2014-09-19 Thread Luca Manganelli
On Thu, Aug 28, 2014 at 5:31 PM, Victor Olaya vola...@gmail.com wrote: I am away until Sept 5th, but will work on that once i am back. Didn't know about the init() and initGUI() separation, so thanks for the info. A large part of the time it takes to start Processing is probably spent in

Re: [Qgis-developer] PyDev Debugging Protocol changes; remote debug plug-in issues

2014-09-12 Thread Luca Manganelli
On Thu, Sep 11, 2014 at 6:37 PM, Bill Bishop qgis-de...@wrbishop.com wrote: Is anyone successfully using the remote debug plug-in with PyDev Eclipse? For me, it has never worked. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

Re: [Qgis-developer] Processing causes major slowness at QGIS startup

2014-08-27 Thread Luca Manganelli
On Wed, Aug 27, 2014 at 7:43 AM, Martin Dobias wonder...@gmail.com wrote: Actually since the adoption of metadata.txt for plugin metadata it is not necessary for QGIS to load all python plugins on start up. I have a suspicion that it is the plugin installer component which tries to load them

Re: [Qgis-developer] Processing causes major slowness at QGIS startup

2014-08-27 Thread Luca Manganelli
On Wed, Aug 27, 2014 at 9:23 AM, Paolo Cavallini cavall...@faunalia.it wrote: I have seen plugins occasionally getting broken: are you suggesting to do the check only on activating them (+ at install time of course)? All the best. No. As Martin Dobian suggested, when QGIS is loading, only

Re: [Qgis-developer] Processing causes major slowness at QGIS startup

2014-08-27 Thread Luca Manganelli
On Wed, Aug 27, 2014 at 10:24 AM, Bo Victor Thomsen bo.victor.thom...@gmail.com wrote: When and how will the creation of menu items and push buttons for the plugins be done? It can be done inside initGUI() function. ___ Qgis-developer mailing list

[Qgis-developer] Processing causes major slowness at QGIS startup

2014-08-26 Thread Luca Manganelli
Hi, in our organization with over 1,000 windows machines, we install QGIS on a windows samba share so it can be launched via a desktop shortcut. We discovered that the processing python plugin is the slowest plugin to load. The QGIS base install contains 5 python plugins (fTools, metaSearch,

Re: [Qgis-developer] Processing causes major slowness at QGIS startup

2014-08-26 Thread Luca Manganelli
On Tue, Aug 26, 2014 at 5:36 PM, RĂ©gis Haubourg regis.haubo...@eau-adour-garonne.fr wrote: Hi, interesting issue. More generaly, startup speed starts to be an issue here, and plugins take more than half the time of global startup. Right. If we remove all of those plugin, QGIS is much faster

Re: [Qgis-developer] Problem with search panel in Qgis Web Client

2014-08-05 Thread Luca Manganelli
On Tue, Aug 5, 2014 at 3:40 PM, Luca Manganelli luc...@gmail.com wrote: On Fri, Jul 25, 2014 at 9:49 AM, Luca Manganelli luc...@gmail.com wrote: Hi, has anyone had problems with qgis web client and the search panel in the left side? With any value, the qgis FCGI module returns always

[Qgis-developer] Problem with search panel in Qgis Web Client

2014-07-25 Thread Luca Manganelli
Hi, has anyone had problems with qgis web client and the search panel in the left side? With any value, the qgis FCGI module returns always an empty result. Maybe I must configure the qgis project to allow searches? ___ Qgis-developer mailing list

Re: [Qgis-developer] Please give us more time for testing and bugfixing

2014-06-20 Thread Luca Manganelli
On Fri, Jun 20, 2014 at 9:43 AM, Martin Dobias wonder...@gmail.com wrote: I agree with Andreas. Can we postpone the release for a few days? There is still quite steady flow of new bug reports worth addressing. I would suggest max. 7 days (without affecting the schedule of the next release).

[Qgis-developer] QGIS Server: using same layer name in different projects

2014-06-19 Thread Luca Manganelli
Hi, I discovered that if you use QGIS Server along two different project that share the same layer name. I.e.: first project: roads layer name --- I use the postgis table name roads, filtered by highways second project: roads layer name --- I use the postgis table name roads, with no

[Qgis-developer] Compiling QGIS 2.4 with GCC 4.4 (debian squeeze)?

2014-06-19 Thread Luca Manganelli
Hi, I'm trying to compile QGIS git (after having success with 2.2) on Debian Squeeze (6.0) which has GCC 4.4.2. The compilations stops with an make error (see below for error trace). In summary, GCC 4.4 doesn't like this line from qgsvectorlayerfeatureiterator.cpp (line 87):

Re: [Qgis-developer] QGIS Server: using same layer name in different projects

2014-06-19 Thread Luca Manganelli
On Thu, Jun 19, 2014 at 10:12 AM, Andreas Neumann a.neum...@carto.net wrote: Hi Luca, It is a known issue. It is not an issue about the layer name, but of layer ids. You have to make sure that layer ids in all of your projects are unique. You probably copy/pasted projects and this does not

Re: [Qgis-developer] Four month cycle too fast

2014-06-19 Thread Luca Manganelli
On Thu, Jun 19, 2014 at 4:29 PM, Randal Hale rjh...@northrivergeographic.com wrote: A 5 to 6 month release cycle would be fine for a user (at least for me) if there were bugfixes in between. +1 for me, too. In 2.0 there was a problem with spatialite - there was no fix until the next release.

Re: [Qgis-developer] Legend refactoring branch merged

2014-06-06 Thread Luca Manganelli
On Fri, Jun 6, 2014 at 4:39 PM, Paolo Cavallini cavall...@faunalia.it wrote: http://webapps.comune.trento.it/ogc BTW, the server throws an error when layers are added from the browser: Map request error (Title:Eccezione servizio; Error:La richiesta contiene un formato I see that your URL

Re: [Qgis-developer] Testing/Master renders 7times slower than 2.2

2014-06-03 Thread Luca Manganelli
On Tue, Jun 3, 2014 at 2:21 PM, Anita Graser anitagra...@gmx.at wrote: Thanks for your feedback. I'll check a second windows machine, maybe I just screwed up something on the Win8 machine to cause these huge differences. Test with an empty QGIS profile (try to rename that folder in

Re: [Qgis-developer] Implemented break lines on intersections option during line layers editing

2014-05-31 Thread Luca Manganelli
On Fri, May 30, 2014 at 6:56 PM, G. Allegri gioha...@gmail.com wrote: PS: probably we'll need a nested tree in case more options will be added for the different kind of layers. Marvellous! But we will see it on QGIS 2.5-2.6? ___ Qgis-developer mailing

Re: [Qgis-developer] QGIS Server (from git) and WMS GetCapabilities

2014-05-28 Thread Luca Manganelli
On Tue, May 27, 2014 at 4:02 PM, Luca Manganelli luc...@gmail.com wrote: have you tested the master version of QGIS Server with Qgis Web Client? It seems that Qgis Server, for WMS GetCapabilities, doesn't write the SERVICE section anymore (QGIS 2.0 did it), so this broke the Qgis Web Client

[Qgis-developer] QGIS Server (from git) and WMS GetCapabilities

2014-05-27 Thread Luca Manganelli
Hi, have you tested the master version of QGIS Server with Qgis Web Client? It seems that Qgis Server, for WMS GetCapabilities, doesn't write the SERVICE section anymore (QGIS 2.0 did it), so this broke the Qgis Web Client and cannot display map. I've tested it on same project with QGIS 2.0 and

Re: [Qgis-developer] Legend refactoring branch merged

2014-05-22 Thread Luca Manganelli
On Wed, May 21, 2014 at 7:11 PM, Martin Dobias wonder...@gmail.com wrote: Hi everyone I have just merged the first part of the legend refactoring work to master [1]. It does not really bring any new features for the end user, the changes are mainly under the hood. Things should ideally work

[Qgis-developer] GetLegendGraphic in QGIS Server with no text

2014-05-06 Thread Luca Manganelli
Hi, I am playing with Qgis Web Client in order to put all the legend images in the layer list. It seems that QGIS server doesn't render a legend image without text, see this image: http://postimg.org/image/gks0t6j0n/ If I pass the LAYERFONTSIZE or ITEMFONTSIZE with 0 as value, the text label

[Qgis-developer] Fwd: #8884 Symbol too small in legend when map units are used

2014-04-16 Thread Luca Manganelli
Forwarding to qgis-developer mailing list (he wrote to me :-) ) -- Forwarded message -- From: Andreas Neumann a.neum...@carto.net Date: Tue, Apr 15, 2014 at 3:14 PM Subject: Re: [Qgis-developer] #8884 Symbol too small in legend when map units are used To: Luca Manganelli luc

[Qgis-developer] #8884 Symbol too small in legend when map units are used

2014-04-15 Thread Luca Manganelli
Hi, anyone having issues with this bug? Simple test case: pick a vectorial point layer with the default style, see the TOC legend; open the style properties, go to Style and switch the units to Map units. As you can see, the symbol is very small. The situation is worse if you use a SVG symbol,

Re: [Qgis-developer] hub.qgis.org

2014-04-01 Thread Luca Manganelli
On Tue, Apr 1, 2014 at 11:07 AM, Werner Macho werner.ma...@gmail.comwrote: hmmm I've seen we've 41 security updates on that server pending and 11 package updates including apache2 among security updates there are mysql and postgis.. I don't know if it safe to just upgrade them (as I don't

Re: [Qgis-developer] Debugging Python plugin with Eclipse: breakpoints do not wotk

2014-03-25 Thread Luca Manganelli
On Tue, Mar 25, 2014 at 9:39 AM, Francesco Sozzi fso...@intercad.ch wrote: Hi Everybody, I'm new on QGis developing and Python and I'm trying to setup a developing environment for building plugins on QGis. My problem is that breakpoints on Eclipse do not work, process does not stop on

Re: [Qgis-developer] WMS load regression in 2.2

2014-03-25 Thread Luca Manganelli
On Tue, Mar 18, 2014 at 10:58 PM, Nyall Dawson nyall.daw...@gmail.comwrote: [...] After some investigations with Process Monitor, we discovered that QGIS 2.2, during the operation of adding a WMS Layer, is querying continuously the file srs.db. How did we discover it? - with QGIS installed on

Re: [Qgis-developer] WMS load regression in 2.2

2014-03-19 Thread Luca Manganelli
On Tue, Mar 18, 2014 at 10:58 PM, Nyall Dawson nyall.daw...@gmail.comwrote: Have you made a change to your WMS server? I can't replicate this - for me loading the server in 2.2 32 bit only takes a few seconds. However, I suspect that you may be encountering an issue I ran into with

[Qgis-developer] WMS load regression in 2.2

2014-03-17 Thread Luca Manganelli
Hi, on 32 bit Windows XP systems, loading WMS layers in QGIS 2.2 are considerately slower than in QGIS 2.0. On my tests, QGIS 2.2 takes more than a minute, while QGIS 2.0 loads the WMS in 1-2 seconds. To test, you can use our WMS server: http://webapps.comune.trento.it/ogc Another test: on a

[Qgis-developer] QgsMapCanvas.freeze and QgsInterface.AddRasterLayer

2014-01-18 Thread Luca Manganelli
Hi, I noticed that if I do: 1. QgsMapCanvas.freeze ( True ) - to stop drawing the mapcanvas 2. call QgsInterface.AddRasterLayer() two times to add two distinct WMS layers 3. QgsMapCanvas.freeze ( False ) - to enable drawing the mapcanvas 4. QgsMapCanvas.refresh - to redraw the map I

Re: [Qgis-developer] QT 5.2 is out

2013-12-13 Thread Luca Manganelli
On Fri, Dec 13, 2013 at 11:14 AM, Matthias Kuhn matthias.k...@gmx.chwrote: I think Marco already has access to the GPS on his Android port. I don't know how he did it, but I remember, that he has been showing it. Probabily he is using the native android functions.

Re: [Qgis-developer] QGIS for Windows 64bit crashes when using addSttributes on any vector data provider

2013-12-12 Thread Luca Manganelli
On Thu, Dec 12, 2013 at 1:08 PM, G. Allegri gioha...@gmail.com wrote: During a course students with QGIS Doufur 64 bit (on Windows 7) reported crashes when using QgsVectorDataProvider::dataProvider().addAttributes() method. It happens whatever provider we use. For curiosity, can you post

Re: [Qgis-developer] Single-file PyQGIS Cookbook

2013-12-11 Thread Luca Manganelli
On Wed, Dec 11, 2013 at 10:37 PM, Lee Hachadoorian lee.hachadooria...@gmail.com wrote: Is there a single-file version of the PyQGIS Developer Cookbook anywhere? Single-file HTML, EPUB, Kindle/MOBI, or PDF. Thanks, --Lee Hi, to achieve it I used HTTrack Web Copier and Calibre. Here's my

[Qgis-developer] Customizing Qgis Web Client Toolbar

2013-10-23 Thread Luca Manganelli
Hi, I've made a pull request to Qgis Web Client code: https://github.com/qgis/QGIS-Web-Client/pull/54 With this pull we can customize QWC toolbar by adding custom buttons. There is an example with a test button to get map coordinates. It will be easier to get updates from QWC repository,

[Qgis-developer] QgsHtmlAnnotation: cannot set html source directly?

2013-10-16 Thread Luca Manganelli
Hi, the setHTMLPage method wants a file name of an HTML as argument. So I must create a file to pass to the QgsHtmlAnnotation, but it would be nice to have setHTMLSourceCode ( ... ) to pass a html string directly. ___ Qgis-developer mailing list

Re: [Qgis-developer] Adding a WMS layer in QGIS 2.0 (python)

2013-10-03 Thread Luca Manganelli
On Wed, Oct 2, 2013 at 6:10 PM, Enzo Ciarmoli enzo.ciarm...@csi.it wrote: ** QgsRasterLayer constructor has changed, now it accept four arguments, the first is the uri string. To construct the uri string you must know what layers you want. You could try this: desired_layer = 'abcdefg'

[Qgis-developer] Python: Adding a WMS Raster Layer

2013-10-01 Thread Luca Manganelli
Hi, please update the code to add a WMS layer in the cookbook: http://www.qgis.org/en/docs/pyqgis_developer_cookbook/loadlayer.html that code is compatible only with Qgis 1.x ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

[Qgis-developer] Adding a WMS layer in QGIS 2.0 (python)

2013-10-01 Thread Luca Manganelli
Hi, the QgsRasterLayer costructor has changed. If I try this: rlayer = QgsRasterLayer(' http://testsrv/mapaccel?map=ciao.mapcrs=EPSG:25832format=image/png', 'test', 'wms') QgsMapLayerRegistry.instance().addMapLayer(rlayer) self.iface.mapCanvas().refresh() the wms raster layer is never added

Re: [Qgis-developer] Adding a WMS layer in QGIS 2.0 (python)

2013-10-01 Thread Luca Manganelli
On Tue, Oct 1, 2013 at 4:10 PM, Luca Manganelli luc...@gmail.com wrote: Hi, [...] using the QgisInterface.addRasterLayer popus a dialog box with this error: GDAL provider: Cannot open GDAL dataset http://testsrv/mapaccel?map=test.map: Failed to create temporary file:/tmp/test.map (d:\src

Re: [Qgis-developer] Thanks for the hackfest

2013-09-18 Thread Luca Manganelli
On Wed, Sep 18, 2013 at 11:07 AM, Victor Olaya vola...@gmail.com wrote: [...] can we have a report of the HJ (including bug fixes, etc...) ? ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

Re: [Qgis-developer] Suppress rendering of small features

2013-09-12 Thread Luca Manganelli
On Thu, Sep 12, 2013 at 8:51 AM, Andreas Neumann a.neum...@carto.netwrote: [...] I don't know if it would really speed up things. One would have to test. Programmers waste enormous amounts of time thinking about, or worrying about, the speed of noncritical parts of their programs, and these

Re: [Qgis-developer] QGIS 2.0 and beyond

2013-05-30 Thread Luca Manganelli
On Wed, May 29, 2013 at 10:16 PM, Sandro Santilli s...@keybit.net wrote: Luca, what about taking the responsibility to maintain a stable branch ? I'd also love to see a 1.8.1 coming out :) It is not a bad idea. I'm pretty sure that if QGIS 2.0 will be out soon, it never will be used in

Re: [Qgis-developer] QGIS 2.0 and beyond

2013-05-29 Thread Luca Manganelli
On Wed, May 29, 2013 at 5:34 PM, Paolo Cavallini cavall...@faunalia.itwrote: Hi all. What is a blocker? something that prevents users from upgrading to the newer version. This is why we (in a public organization) are still using 1.7.4, due to a stupid blocker (the famous postgres duplicate

Re: [Qgis-developer] Merging of incompatible changes

2012-10-26 Thread Luca Manganelli
Il 26/10/2012, Paolo Cavallini ha scritto: For me it's not a problem if we release every 6 months. The most important thing is to release fixpacks (i.e. 1.7.1, 1.7.2, etc). For example, we cannot use 1.8.0 because of bugs not present in 1.7.4 and it seems that we never see a 1.8.1

Re: [Qgis-developer] Merging of incompatible changes

2012-10-25 Thread Luca Manganelli
Il 25/10/2012, qgis-developer-boun...@lists.osgeo.org ha scritto: * we could release every 6 month like ubuntu, but I am not sure we have the manpower to do so. If yes, this will be the best IMHO For me it's not a problem if we release every 6 months. The most important thing is to release

Re: [Qgis-developer] qgis.org is very slow this morning

2012-10-17 Thread Luca Manganelli
Il 17/10/2012, qgis-developer-boun...@lists.osgeo.org ha scritto: It seems to be Rails competing with redmine and a compile process with gcc in the background .. struggling for computing time .. and then apache and mysql are jumping in to complete the field ;) probably time to move some

[Qgis-developer] QGIS down?

2012-09-04 Thread Luca Manganelli
the site www.qgis.org seems down. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer

<    1   2