On Thu, Oct 4, 2012 at 10:04 AM, Andrea Peri <aperi2...@gmail.com> wrote:
> Hi,
> I have a label with the size from a field of attributes.
> But I need to change this size adding always a costant factor.
>
> I need someting like:
>
> LABEL
>   ...
>   SIZE expression([field1]+10)
>   ANGLE [field2]
> END
>
> This seem don't allowed.
>
> Is this right ?
correct. if you are using a db backend, you can let the db do this for you:

DATA "the_geom from (select id,the_geom,field1+10 as field1, field2
from mytable) as foo using unique id using srid=xxx"

>
> Thx,
>
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to