Re: [Qgis-developer] Expression Builder Questions

2012-07-24 Thread Nathan Woodrow
24 Jul 2012 13:43:45 +0200 >>> From: a.neum...@carto.net >>> To: madman...@gmail.com >>> CC: qgis-developer@lists.osgeo.org >>> Subject: Re: [Qgis-developer] Expression Builder Questions >> >>> >>> Hi Nathan, >>> >>> Th

Re: [Qgis-developer] Expression Builder Questions

2012-07-24 Thread Etienne Tourigny
toreal( toint( X * 100)) / 100 > > Leyan > >> Date: Tue, 24 Jul 2012 13:43:45 +0200 >> From: a.neum...@carto.net >> To: madman...@gmail.com >> CC: qgis-developer@lists.osgeo.org >> Subject: Re: [Qgis-developer] Expression Builder Questions > >> >&g

Re: [Qgis-developer] Expression Builder Questions

2012-07-24 Thread leyan ouyang
For the rounding issue: as a workaround, you can do some ugly things like toreal( toint( X * 100)) / 100 Leyan > Date: Tue, 24 Jul 2012 13:43:45 +0200 > From: a.neum...@carto.net > To: madman...@gmail.com > CC: qgis-developer@lists.osgeo.org > Subject: Re: [Qgis-developer] Exp

Re: [Qgis-developer] Expression Builder Questions

2012-07-24 Thread Andreas Neumann
Hi Nathan, Thanks for the reply. It is not so urgent for me - and I agree that the scale issue would be better solved with rule-based labeling. Andreas On Tue, 24 Jul 2012 20:46:54 +1000, Nathan Woodrow wrote: Hey Andreas, On Tue, Jul 24, 2012 at 5:21 PM, Andreas Neumann wrote: Hi all -

Re: [Qgis-developer] Expression Builder Questions

2012-07-24 Thread Nathan Woodrow
Hey Andreas, On Tue, Jul 24, 2012 at 5:21 PM, Andreas Neumann wrote: > Hi all - esp. Nathan ;-), > > I have a couple of questions regarding the expression builder: > > 1. Would it be possible to add a $scale support which we could combine with > CASE ? This would be quite powerful to add condidit

[Qgis-developer] Expression Builder Questions

2012-07-24 Thread Andreas Neumann
Hi all - esp. Nathan ;-), I have a couple of questions regarding the expression builder: 1. Would it be possible to add a $scale support which we could combine with CASE ? This would be quite powerful to add condiditional labeling depending on scale ranges. 2. Is there a rounding function av