Re: [Qgis-developer] Plugin Re-approval: VoGIS Profiltool

2013-11-04 Thread Wilhelm Berg
Hi, i just removed the Experimental flag. Now says again: This plugin has no public version yet. Please approve again: http://plugins.qgis.org/plugins/VoGisProfilTool/ Thanks, Wilhelm On Tue, Oct 22, 2013 at 12:26 PM, Wilhelm Berg w...@bergwerk-gis.at wrote: Hi, I had to change the name

[Qgis-developer] Plugin [376] VoGIS-Profiltool approval notification.

2013-11-04 Thread noreply
Plugin VoGIS-Profiltool approval by NathanW. The plugin version [376] VoGIS-Profiltool 1.7.6 is now approved Link: http://plugins.qgis.org/plugins/VoGisProfilTool/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

[Qgis-developer] Varying scale of size bar

2013-11-04 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all. I think we hit a bug: http://hub.qgis.org/issues/8995 It seems strange to me that nobody has found it before: am I missing something? Is there a workaround? All the best, and thanks. - -- Paolo Cavallini - Faunalia www.faunalia.eu Full

[Qgis-developer] how to know if QPainter comes from a print job ?

2013-11-04 Thread A Huarte
Hi! Within of qgis_core I need know if a QgsRenderContext comes from a print job (from composer) in order to disable one functionality. I get that information from QPainter, QPaintDevice, QPaintEngine::Type ? Thank your very much! ___ Qgis-developer

Re: [Qgis-developer] how to know if QPainter comes from a print job ?

2013-11-04 Thread Marco Hugentobler
Hi You cannot get that information from the painter itself (a print composition can be printed into QImage, pdf, QPrinter, etc...). The safest guess is probably to look at the QgsRenderContext. If the parameter 'scaleFactor' is very close to 1.0, it is most likely the rendering comes from a

Re: [Qgis-developer] how to know if QPainter comes from a print job ?

2013-11-04 Thread A Huarte
Hi Marco, thank you very much for your reply,  I will try it! De: Marco Hugentobler marco.hugentob...@sourcepole.ch Para: qgis-developer@lists.osgeo.org Enviado: Lunes 4 de noviembre de 2013 11:37 Asunto: Re: [Qgis-developer] how to know if QPainter comes

[Qgis-developer] Does spatial index improve performance using the class QgsGeometry.intersects()?

2013-11-04 Thread Stefano Masera
Hi list, I don't know exactly how spatial index works, so I ask this question. I have two layers and I want to check which features of the first layer intersect the features of the second one. I write a simple script where I create the spatial index for both themes and I use the class

Re: [Qgis-developer] Topology editing in QGis

2013-11-04 Thread Sandro Santilli
On Sun, Nov 03, 2013 at 11:48:31AM +0100, Radim Blazek wrote: Topology models are usually using multiple geometry types (e.g. nodes, edges). Multi geometry type layers may also be useful for non topological

Re: [Qgis-developer] Does spatial index improve performance using the class QgsGeometry.intersects()?

2013-11-04 Thread Daniel
Try it http://nathanw.net/2013/01/04/using-a-qgis-spatial-index-to-speed-up-your-code/ Best regards. On Mon, Nov 4, 2013 at 9:16 AM, Stefano Masera stefano.mas...@arpa.piemonte.it wrote: Hi list, I don't know exactly how spatial index works, so I ask this question. I have two layers and

Re: [Qgis-developer] how to know if QPainter comes from a print job ?

2013-11-04 Thread A Huarte
Hi, Marco, finally I added a flag in 'QgsRenderContext' class indicating that it works in a 'print composition' task. The ScaleFactor is distinct of 1 when the composition engine must paint the map to one specific map scale. At any rate, thank you very much!

Re: [Qgis-developer] how to know if QPainter comes from a print job ?

2013-11-04 Thread Marco Hugentobler
The ScaleFactor is distinct of 1 when the composition engine must paint the map to one specific map scale. I think you are mixing up QgsRenderContext::scaleFactor() and QgsRenderContext::rendererScale(). Regards, Marco On 04.11.2013 16:29, A Huarte wrote: Hi, Marco, finally I added a flag

Re: [Qgis-developer] how to know if QPainter comes from a print job ?

2013-11-04 Thread A Huarte
Hi Marco, in QgsMapRenderer::render method there is ...   //calculate scale factor   //use the specified dpi and not those from the paint device   //because sometimes QPainter units are in a local coord sys (e.g. in case of QGraphicsScene)   double sceneDpi = mScaleCalculator-dpi();   double

Re: [Qgis-developer] Multi-threaded Rendering in QGIS

2013-11-04 Thread Andreas Neumann
Hi all, I am wondering if you had any feedback regarding the call for funding around the multi-threaded renderer. From the Swiss QGIS user group we decided to split this into 2013 and 2014. We can already pay CHF 3000 (approx. €24xx - depening on the exchange rate) in 2013 (approval pending on

[Qgis-developer] Roadmap for 2.2

2013-11-04 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all. Do we have a definite plan for QGIS 2.2 release? Thanks. - -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario -BEGIN PGP SIGNATURE-

[Qgis-developer] Rendering bugs: QGIS or Qt?

2013-11-04 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all. I suspect a few issues surfacing on QGIS are indeed upstream Qt bugs: http://hub.qgis.org/issues/8980 http://hub.qgis.org/issues/8974 Do you agree? Anyone has QGIS compiled against newer (5?) version of Qt, to see it it behaves better? They

Re: [Qgis-developer] Roadmap for 2.2

2013-11-04 Thread Jürgen E . Fischer
Hi Paolo, On Mon, 04. Nov 2013 at 19:16:21 +0100, Paolo Cavallini wrote: Do we have a definite plan for QGIS 2.2 release? Not yet - at least as far as I know. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13

Re: [Qgis-developer] Roadmap for 2.2

2013-11-04 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 04/11/2013 19:51, Jrgen E. Fischer ha scritto: Not yet - at least as far as I know. wouldn't it a good time to do it now then? :) thanks. - -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc Nuovi corsi

Re: [Qgis-developer] Roadmap for 2.2

2013-11-04 Thread Andreas Neumann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I would like to see multi-threaded rendering in QGIS 2.2. Martin Dobias could work on it. QGIS-CH could sponsor parts of it - but we would need additional sponsors. See these emails:

Re: [Qgis-developer] Roadmap for 2.2

2013-11-04 Thread Andreas Neumann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Marco Hugentobler is working on DXF export and there are also label speed improvements in the pipeline that did not make it into 2.0 Nyall is working on improving the print composer to behave better like a DTP/graphic application, including

Re: [Qgis-developer] Roadmap for 2.2

2013-11-04 Thread Mathieu Pellerin
As others have pointed out, there's already a substantial amount of new features in qgis master. Beyond what was mentioned above, there's: world file on qgis composer export, expression based {categorized, graduated} symbology, notable improvements in the spatialite postegresql drivers,

Re: [Qgis-developer] Roadmap for 2.2

2013-11-04 Thread Nathan Woodrow
expression based {categorized, graduated} symbology, Which just need some fixing but seem to be working fine. It would be cool if we could do a Christmas release for 2.2 and then we can look at things like multithreading for the next one. I don't think trying to rush in something like

Re: [Qgis-developer] Rendering bugs: QGIS or Qt?

2013-11-04 Thread Denis Rouzaud
Hi Paolo, You can add the problem of dashed lines rendering. I don't think there is an issue entered but we were facing this while introducing the dashed line in digitization. It has been fixed in Qt5 [0]. [ 0] https://bugreports.qt-project.org/browse/QTBUG-24762 Cheers, Denis On

[Qgis-developer] Troubles with features (QgsVectorLayer)

2013-11-04 Thread hubbatov
Try this code. When i add feature to layer it says to me that id is negative and not depend from layer (-2, -3, -4... for first and -6,-7,-8... for second layer), but feature iterator says that ids are positive (1, 2, 3 .. for first layer and 1, 2, 3 ... for second layer). Is this a bug? What i`m