[mapserver-users] Dynamic Label Size

Andrew de Klerk andrew.deklerk at gmail.com
Thu Jul 16 15:02:32 EDT 2009


That worked - thanks steve

-----Original Message-----
From: Steve Lime [mailto:Steve.Lime at dnr.state.mn.us] 
Sent: 16 July 2009 08:27 PM
To: stretch; mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Dynamic Label Size

Try...  map.layer[Compartments].class[0]=LABEL+SIZE+10+END

Steve

>>> On 7/16/2009 at 7:21 AM, in message
<1247746900943-3268099.post at n2.nabble.com>,
stretch <andrew.deklerk at gmail.com> wrote:

> Hi
> 
> A couple of weeks ago, i posted a question about dynamically changing the
> label field through the URL. Steve pointed me to the answer of using a
> VALIDATION pattern and Substitution. This worked very well. 
> 
> I am now in another instance needing to look at changing the label size.
> 
> I have tried adding a "size" validation pattern -i.e.:
>  VALIDATION 
>        'size' '^7|8|9|10|11|12$' 
>     END
> 
>  as well as tried "map.layer[Compartments].class[0].label[0]=SIZE+10"
> 
> both to no joy
> 
> Could some please lead me in the right direction
> 
> Thanks in advance
> Andrew

Checked by AVG - www.avg.com 
Version: 8.5.375 / Virus Database: 270.13.13/2236 - Release Date: 07/16/09
05:58:00



More information about the mapserver-users mailing list