Re: [Qgis-developer] Remaining HiDPI issues

2015-09-24 Thread DelazJ
Hi, This issue http://hub.qgis.org/issues/12700 might also be concerned since it seems to be side-effect of HiDPi improvements. Regards, DelazJ 2015-09-21 17:06 GMT+02:00 Alessandro Pasotti : > 2015-09-21 16:45 GMT+02:00 Anita Graser : > >> >> >> On Mon, Sep 21, 2015 at 8:07 AM, Alessandro Pasot

Re: [Qgis-developer] Highlight geometry when zoom to it

2015-09-24 Thread Luigi Pirelli
this is what is done inside qgis when identify a feature https://github.com/qgis/QGIS/blob/master/src/app/qgsidentifyresultsdialog.cpp#L1508 probably you forgot to do highlight.show() regards Luigi Pirelli

Re: [Qgis-developer] Highlight geometry when zoom to it

2015-09-24 Thread paulopires16
Thanks Luigi Pirelli I'm trying... QgsHighlight(self.iface.mapCanvas(), feature.geometry(), layer) QgsHighlight(self.iface.mapCanvas(), QgsGeometry.fromPoint(QgsPoint(x,y)).buffer(1,5), layer) QgsHighlight(self.iface.mapCanvas(),feature.geometry().buffer(1,5), layer) self.iface.mapCa

[Qgis-developer] Deselecting layer classes

2015-09-24 Thread Paolo Cavallini
Hi all, I need to select only a few classes from a complex legend. Deselecting the whole layer leaves all the classes selected, but not visible on the canvas. To show only a few of them, I need to unselect each of them, which is boring. Am I missing something, or this possibility is missing? Thanks

Re: [Qgis-developer] Highlight geometry when zoom to it

2015-09-24 Thread Luigi Pirelli
QgsHighlight http://qgis.org/api/classQgsHighlight.html#details Luigi Pirelli ** * LinkedIn: https://www.linkedin.com/in/luigipirelli * Elance: https://www.elance.com/s/edit/luigipirelli/ * GitHub: htt

[Qgis-developer] Highlight geometry when zoom to it

2015-09-24 Thread paulopires16
Hello Is possible highlight a geometry (temporarly: 0.001s) of a particular feature when make zoom to it? Python language Thanks -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Highlight-geometry-when-zoom-to-it-tp5225950.html Sent from the Quantum GIS - Developer mailin

[Qgis-developer] Getting geometry from canvas

2015-09-24 Thread paulopires16
Hello I'm develop my first plugin that allows interaction with geometry features. I already change the map canvas elements from plugin but now, I want to make the inverse, pick the geometry (point/line/polygon xy coordinates) from map canvas when I change it with mouse... Python language Thanks

Re: [Qgis-developer] Compiling ui files with custom widgets creates wrong imports

2015-09-24 Thread Luigi Pirelli
Hi Anita right click on sourceLayerCombo, in the contextual menu there is "Promoted Widgets" or "Promote to", there will open the menu with QgsMapLayerComboBox listed. You can find it's name in "Promoted class"... the error is that in the Line text "header file" have to write the python module na

Re: [Qgis-developer] Compiling ui files with custom widgets creates wrong imports

2015-09-24 Thread Denis Rouzaud
Hi Lauri, hi Jürgen, I think you're right and \apps\qgis-dev\python\PyQt4\uic\widget-plugins\qgis_customwidgets.py should be moved to \apps\Python27\Lib\site-packages\PyQt4\uic\widget-plugins. This file is not intended to change over QGIS versions and is totally generic. In fact, it will load the

[Qgis-developer] profiling python plugins

2015-09-24 Thread Robb Hill
Hello, I'm seeking advice on how to profile python plugins running within QGIS. Besides providing a useful tool to the development environment for plugins, it would also provide useful information from our continuous build process. My hope is that there is some way to conditionally start a profil

Re: [Qgis-developer] Compiling ui files with custom widgets creates wrong imports

2015-09-24 Thread Lauri Kajan
Hi Denis, Unfortunately this seems not to be enough. If pythonpath is set pyuic4 still produces wrong import. Here's my environment and command to compile ui file with QgsMapLayerComboBox. -- C:\OSGeo4W64>echo %PATH% C:\OSGEO4~1\apps\qgis-dev\bin;C:\OSGEO4~1\apps\Python27\Scripts;

Re: [Qgis-developer] New API for labeling Engine?

2015-09-24 Thread Tim Sutton
Hi > On 24 Sep 2015, at 15:56, Martin Dobias wrote: > > Hi Tim > > On Thu, Sep 24, 2015 at 4:20 PM, Tim Sutton > wrote: > Hi > > Labelling raster cells would be awesome! > > Indeed - identify tool or value tool are often not good enough when one wants > to investiga

Re: [Qgis-developer] Minidump when using GDAL in plugin

2015-09-24 Thread Radoslaw Guzinski
Hi, This issue is also present in PyQGIS console as reported here: http://hub.qgis.org/issues/13061 Cheers Rado -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Minidump-when-using-GDAL-in-plugin-tp5225874p5225900.html Sent from the Quantum GIS - Developer mailing list arc

[Qgis-developer] Fwd: Re: A few issues with 2.10 diagrams

2015-09-24 Thread Anita Graser
-- Forwarded message -- From: "Anita Graser" Date: Sep 24, 2015 2:09 PM Subject: Re: [Qgis-developer] A few issues with 2.10 diagrams To: "Paolo Cavallini" Cc: "qgis-developer" On Sep 24, 2015 12:16 PM, "Paolo Cavallini" wrote: > > Hi all, > diagrams are nicely improved in cur

Re: [Qgis-developer] Minidump when using GDAL in plugin

2015-09-24 Thread Blumentrath, Stefan
That is most likely exactly the issue which a couple of other plugins face... http://hub.qgis.org/issues/11901 http://hub.qgis.org/issues/10823 http://hub.qgis.org/issues/11891 Your report might be a step forward in solving this issues? Do we need a bug report up-streams for GDAL? Cheers Stefan

[Qgis-developer] Minidump when using GDAL in plugin

2015-09-24 Thread jawensi
Hello, I have problems with DEMto3D plugin. Using this plugin in QGIS 2.10.1, QGIS crash on exit. Instead I test it in QGIS 2.8.1 and works fine without minidump message on exit. I've tracked the problematic code and I find out that

[Qgis-developer] A few issues with 2.10 diagrams

2015-09-24 Thread Paolo Cavallini
Hi all, diagrams are nicely improved in current version. However, I found a few minor issues: * when giving a transparency to diagrams, on repoening the dialog the cursor is reset to 0, even if the values of transparency is correctly set * IMHO the default placement should be at the centroid of the

Re: [Qgis-developer] Styles bug?

2015-09-24 Thread Paolo Cavallini
Il 24/09/2015 10:30, Tom Chadwin ha scritto: > Confirmed on 2.10.1 Win7 x64 seen here on debian, osx and windows. ticket opened: https://hub.qgis.org/issues/13414 thanks. -- Paolo Cavallini - www.faunalia.eu QGIS & PostGIS courses: http://www.faunalia.eu/training.html

Re: [Qgis-developer] New API for labeling Engine?

2015-09-24 Thread Martin Dobias
On Thu, Sep 24, 2015 at 5:04 PM, Bernhard Ströbl wrote: >> If I understand your wish correctly, this is already possible: in vector >> layer's properties - Labels page - click the upper-right button to open >> (global) labeling engine configuration - uncheck "Show partial labels". > > > Will this

Re: [Qgis-developer] New API for labeling Engine?

2015-09-24 Thread Bernhard Ströbl
ls at the edge of the bbox? Thanks Bernhard Cheers Martin __ Information from ESET Mail Security, version of virus signature database 12303 (20150924) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-d

Re: [Qgis-developer] New API for labeling Engine?

2015-09-24 Thread Martin Dobias
Hi Tim On Thu, Sep 24, 2015 at 4:20 PM, Tim Sutton wrote: > Hi > > Labelling raster cells would be awesome! > Indeed - identify tool or value tool are often not good enough when one wants to investigate values of many cells. Very nice to see labelling get some love! I could add my wish to you

Re: [Qgis-developer] Styles bug?

2015-09-24 Thread Tom Chadwin
Confirmed on 2.10.1 Win7 x64 -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Styles-bug-tp5225824p5225842.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. ___ Qgis-developer mailing list Qgis-develope

Re: [Qgis-developer] New API for labeling Engine?

2015-09-24 Thread HAUBOURG
Hi Martin, Thanks for your lights. The idea is to write advanced QEP's by the end of the year. Then, we will try to fund coding on that roadmap (all is opened there). All good ideas are welcome for those QEP's. Oslandia is now funded on the QEP's part and will start the work and work on that a

Re: [Qgis-developer] New API for labeling Engine?

2015-09-24 Thread Tim Sutton
Hi > On 24 Sep 2015, at 15:12, Martin Dobias wrote: > > Hi Regis > > On Wed, Sep 23, 2015 at 4:19 AM, Régis Haubourg > wrote: >> Hi all, >> I just saw a recent commit labeled "New API for labeling engine >> (QgsLabelingEngineV2)" [0] >> >> Can anyone tell us more on that work that seems very

Re: [Qgis-developer] New API for labeling Engine?

2015-09-24 Thread Martin Dobias
Hi Regis On Wed, Sep 23, 2015 at 4:19 AM, Régis Haubourg wrote: > Hi all, > I just saw a recent commit labeled "New API for labeling engine > (QgsLabelingEngineV2)" [0] > > Can anyone tell us more on that work that seems very promising? This was motivated by my work on rule-based labeling (lande

[Qgis-developer] Strange dialog on osx

2015-09-24 Thread Paolo Cavallini
Hi all. Out of two OSXs here, one has a normal layout properties dialog, the other is missing part of the details: http://www.faunalia.eu/~paolo/layer_properties_osx.png Same Qt version, I cannot see an obvious explanation: am I missing something? All the best. -- Paolo Cavallini - www.faunalia.eu

[Qgis-developer] Styles bug?

2015-09-24 Thread Paolo Cavallini
Hi all. If I: * open a line layer * apply a style defined for polygons, rule based * then I go back to Single symbol style * the style remains of type polygon, and I cannot find a way to have my lines style back. I think this is a bug, does anyone confirms or knows whether there is a ticket? If not