Hi,<br>unfortunately using the spatialite DB the sintax you suggest is not allowed.<br><br>It allow <br><br>DATA 'mytable'<br><br>but don't allow <br><br>DATA "the_geom from (select id,the_geom,field1+10 as field1, field2<br>

from mytable) as foo using unique id using srid=xxx"<br><br>I don't know if this miss is a lack of feature or a bug.<br><br>Andrea.<br><br><br><div class="gmail_quote">2012/10/4 Andrea Peri <span dir="ltr"><<a href="mailto:aperi2007@gmail.com" target="_blank">aperi2007@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ok, thx.<br><br>Infact I'm using spatialite db.<br>So I hope to have success to support this sintax.<br><br>Now I'm try.<br>
<br>Thx.<div class="HOEnZb"><div class="h5"><br><br><br><br><br><div class="gmail_quote">2012/10/4 thomas bonfort <span dir="ltr"><<a href="mailto:thomas.bonfort@gmail.com" target="_blank">thomas.bonfort@gmail.com</a>></span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Thu, Oct 4, 2012 at 10:04 AM, Andrea Peri <<a href="mailto:aperi2007@gmail.com" target="_blank">aperi2007@gmail.com</a>> wrote:<br>
> Hi,<br>
> I have a label with the size from a field of attributes.<br>
> But I need to change this size adding always a costant factor.<br>
><br>
> I need someting like:<br>
><br>
> LABEL<br>
>   ...<br>
>   SIZE expression([field1]+10)<br>
>   ANGLE [field2]<br>
> END<br>
><br>
> This seem don't allowed.<br>
><br>
> Is this right ?<br>
</div>correct. if you are using a db backend, you can let the db do this for you:<br>
<br>
DATA "the_geom from (select id,the_geom,field1+10 as field1, field2<br>
from mytable) as foo using unique id using srid=xxx"<br>
<div><br>
><br>
> Thx,<br>
><br>
> --<br>
> -----------------<br>
> Andrea Peri<br>
> . . . . . . . . .<br>
> qwerty אטלעש<br>
> -----------------<br>
><br>
><br>
</div>> _______________________________________________<br>
> mapserver-users mailing list<br>
> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
><br>
</blockquote></div><br><br clear="all"><br>-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty אטלעש<br>-----------------<br><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty אטלעש<br>-----------------<br><br>