Re: [Qgis-developer] Qgis-server in single-symbol renderer don't use the metadata title.

2014-10-13 Thread René-Luc Dhont
Hi Andrea, It's a regression since the merge of the new Layer Tree. Can you open an issue ? Thanks, René-Luc Le 13/10/2014 20:49, Andrea Peri a écrit : Hi, In qgis-server (i tested with last dev), when use a category renderer, and request a GetLegendGraphics. The return use the LayerName a

Re: [Qgis-developer] Virtual Fields - Allow adding fields out of edit mode

2014-10-13 Thread Bernhard Ströbl
Hi Matthias, thank you for your work! However I have some small issues and a bug [1] - I do not see any notification when not in edit mode but my action requires edit mode (edit mode is turned on, though, when clicking OK) - shouldn't "create virtual field" be the default when layer is not in e

Re: [Qgis-developer] QGIS Processing Modeler - Graphical Notation

2014-10-13 Thread Victor Olaya
Filip, No way to change the design of objects from the interface. I am not familiar with the subject of your thesis, but as the creator of the Processing Modeler, I will be happy to ask questions about it, so just let me know. Cheers 2014-10-13 21:51 GMT+02:00 Filip Hric : > Hi all, > I would

[Qgis-developer] QGIS Processing Modeler - Graphical Notation

2014-10-13 Thread Filip Hric
Hi all, I would like to ask for a couple of questions about VPL component QGIS Processing Modeler. The topic of my bachelor thesis at the university is "Evaluation of QGIS Processing Modeler according to physics of notation". I will evaluate diagrams created in Processing Modeler and I will u

[Qgis-developer] Qgis-server in single-symbol renderer don't use the metadata title.

2014-10-13 Thread Andrea Peri
Hi, In qgis-server (i tested with last dev), when use a category renderer, and request a GetLegendGraphics. The return use the LayerName as title of the layer in the Legend. Like this sample show: http://tinyurl.com/kwvoo6h Or this other: http://tinyurl.com/qaravsm AFAIK should be better to h

Re: [Qgis-developer] Virtual Fields - Allow adding fields out of edit mode

2014-10-13 Thread Matthias Kuhn
Hi all, The changes have been merged to master today. * Virtual fields are now defined from the field calculator. * The field calculator is always available, regardless of provider support and edit mode. * If an action from the field calculator requires to turn edit mode on, the user will b

Re: [Qgis-developer] Please stop spamming commit logs!

2014-10-13 Thread Vincent Picavet
Hi, Le lundi 13 octobre 2014 14:12:08, Nathan Woodrow a écrit : [..] > The reality is this: > > 1) Some companies want to see it for record, or contract. > 2) It doesn't pollute the log > 3) It's at the bottom so you don't see it unless you do a full log (git log > --oneline if you didn't know yo

Re: [Qgis-developer] Please stop spamming commit logs!

2014-10-13 Thread Richard Duivenvoorde
On 13-10-14 14:09, Nyall Dawson wrote: > +1 . Can I request that the psc please make a final ruling about this > issue so that we can close this discussion and all move on? Speaking here with my PSC hat on <|:-) Nice example of a 'community discussion/rise-up' I think, but as noted by Anita earli

Re: [Qgis-developer] Please stop spamming commit logs!

2014-10-13 Thread Nathan Woodrow
Honestly. I don't really think it's that big of a deal. If you pay for something in your time and would like credit for it there are lots of ways to get credit: blogs, twitters, commit logs, github stats. If I do something and I want people to think "oh look a new feature Nathan added" (or someone

Re: [Qgis-developer] Please stop spamming commit logs!

2014-10-13 Thread Nyall Dawson
On 13/10/2014 11:01 pm, "Matthias Kuhn" wrote: > > Hi Jonathan, > > I don't think that this is the message that QGIS wants to spread. If it > would be, we would do popups that ask you to sponsor for every new > feature you created ;-) > > But as you state, sponsorship is a means to an end. As such

Re: [Qgis-developer] Please stop spamming commit logs!

2014-10-13 Thread Matthias Kuhn
Hi Jonathan, I don't think that this is the message that QGIS wants to spread. If it would be, we would do popups that ask you to sponsor for every new feature you created ;-) But as you state, sponsorship is a means to an end. As such it is a prerequisite for moving this software on and therefor

Re: [Qgis-developer] Please stop spamming commit logs!

2014-10-13 Thread Jonathan Moules
> Every single log line has the committer's GitHub name so it isn't anonymous. I know, but that also includes the paid-for devs; my point was that if QGIS wishes to highlight those paying for work with money, then highlighting those paying for work with time seems fair too. Other than that, I'm

Re: [Qgis-developer] Please stop spamming commit logs!

2014-10-13 Thread Nathan Woodrow
On Mon, Oct 13, 2014 at 7:31 PM, Jonathan Moules wrote: > At the risk of being a dissenting voice, is this really the message QGIS > wants to spread? That sponsorship is king? As an Open Source GIS project, I > would hope that its prowess lay in producing exceptional GI software rather > than fin

Re: [Qgis-developer] how to set square symbol in a point layer with python

2014-10-13 Thread Stefano Masera
Perfect! Thank you very mach! ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Please stop spamming commit logs!

2014-10-13 Thread Alessandro Pasotti
2014-10-13 13:23 GMT+02:00 Andrea Peri : > I guess no fiscale advantage there are for any funding GFOSS. > So seeing to fiscale advantage the fund to GFOSS are fund lost. > > I guess however that if a developer named "Count zero" give some code > developed by its own. > Why dont write "code founded

Re: [Qgis-developer] Please stop spamming commit logs!

2014-10-13 Thread Andrea Peri
I guess no fiscale advantage there are for any funding GFOSS. So seeing to fiscale advantage the fund to GFOSS are fund lost. I guess however that if a developer named "Count zero" give some code developed by its own. Why dont write "code founded by count zero with its own time" ? The anonimy of t

Re: [Qgis-developer] how to set square symbol in a point layer with python

2014-10-13 Thread Salvatore Larosa
Hi, On Mon, Oct 13, 2014 at 11:51 AM, Stefano Masera wrote: > Thanks for the answer! > Sorry but I didn't understand how to use QgsSimpleMarkerSymbolLayerV2. > I did some attempt but I didn't manage.. > Below there's my code (with only two symbol item as example) > > myTargetField = field > myRan

Re: [Qgis-developer] how to set square symbol in a point layer with python

2014-10-13 Thread Stefano Masera
Thanks for the answer! Sorry but I didn't understand how to use QgsSimpleMarkerSymbolLayerV2. I did some attempt but I didn't manage.. Below there's my code (with only two symbol item as example) myTargetField = field myRangeList = [] myOpacity = 1 # symbol 1 mySymbol = QgsSymbolV2.de

Re: [Qgis-developer] Please stop spamming commit logs!

2014-10-13 Thread Jonathan Moules
Hi Larry, At the risk of being a dissenting voice, is this really the message QGIS wants to spread? That sponsorship is king? As an Open Source GIS project, I would hope that its prowess lay in producing exceptional GI software rather than finding sponsorship. The later is a means to an end. Al

Re: [Qgis-developer] how to set square symbol in a point layer with python

2014-10-13 Thread Salvatore Larosa
Hi, On Mon, Oct 13, 2014 at 10:11 AM, Stefano Masera wrote: > Hi list, > I wan't to set a square symbol in a point layer with python. > > Currently, I use a graduated symbol legend, and I have a circle (point) > symbol with this line for each item: > > symbol = QgsSymbolV2.defaultSymbol(layer.geo

[Qgis-developer] how to set square symbol in a point layer with python

2014-10-13 Thread Stefano Masera
Hi list, I wan't to set a square symbol in a point layer with python. Currently, I use a graduated symbol legend, and I have a circle (point) symbol with this line for each item: symbol = QgsSymbolV2.defaultSymbol(layer.geometryType()) But I want to set a square for one item. How can I do

[Qgis-developer] Custom SVG issue in QGIS API

2014-10-13 Thread Tendfly niu
Hi all, I'm using QGIS-2.4.0 API to developing application. I wrote a custom map canvas item called MyMapCanvasItemSvg that show SVG items in canvas. It is well to load and display SVG from symbol library of QGIS (i.e. file path: d:\QGIS Chugiak\apps\qgis\svg\symbol\*.svg), But when I