Labelangleitem question

thomas bonfort thomas.bonfort at GMAIL.COM
Thu Sep 13 06:10:08 EDT 2007


you can use a custom query on your database

DATA "the_geom from
	(SELECT gid, nom, the_geom, (-angle) AS inv_angle FROM troncon_route)
	as foo using unique gid"

and then use
ANGLE [inv_angle] in your label block

tb

On 9/13/07, Stéphane RIFF <stephane.riff at cerene.fr> wrote:
> Hello,
>
> I want to invert the sign of the field I want to use in
> layer->labelangleitem.
> I don't want to it in the database because the information are sent by gps.
>
> I want to know if it's possible do it on the fly with mapscript and how
> (expression in the labelangleitem property ???) ?
>
> Thanks
> Steff
>



More information about the mapserver-users mailing list