[mapserver-users] How use the LABELANGLEITEM

Francisco fsalas at geocuba.co.cu
Wed May 28 14:33:57 EDT 2008


Hi Dean, this is my Layer definition
I put the ANGLE FOLLOW, but without change in label map, then put ANGLE AUTO 
but Neither I had aftermath desired

This  is my layer definition for a road layer  What´s wrong?

**************

*
*
LAYER
NAME "Calles"
GROUP "Mapa"
STATUS on
CONNECTIONTYPE POSTGIS
CONNECTION "dbname=salud user=salud password=salud host=localhost"
DATA "the_geom from calles"
TYPE LINE
TOLERANCE 3
CLASSITEM "name"
LABELITEM "name"
LABELMAXSCALE 1250
CLASS
EXPRESSION /./
LABEL
ANGLE AUTO
SHADOWCOLOR 218 218 218
SHADOWSIZE 2 2
TYPE BITMAP
SIZE GIANT
POSITION CC
PARTIALS FALSE
BUFFER 2
END
CLASS
NAME "Calles"
TEMPLATE "query.phtml"
STYLE
OUTLINECOLOR 0 0 0
MINSIZE 1
MAXSIZE 100
END
END
END

Francisco Salas

----- Original Message ----- 
From: <deangadoury at subpixelmedia.com>
To: "Francisco" <fsalas at geocuba.co.cu>
Cc: <mapserver-users at lists.osgeo.org>
Sent: Wednesday, May 28, 2008 12:08 PM
Subject: RE: [mapserver-users] How use the LABELANGLEITEM


> Hi Francisco,
>
> To have road labels follow the angle of the road you do not need to use 
> labelangleitem. In the label object simply use ANGLE FOLLOW and labels 
> will follow the angle of the road features.
>
> Dean Gadoury
> subpixelmedia.com
>
>> -------- Original Message --------
>> Subject: [mapserver-users] How use the LABELANGLEITEM
>> From: "Francisco" <fsalas at geocuba.co.cu>
>> Date: Wed, May 28, 2008 8:11 am
>> To: <mapserver-users at lists.osgeo.org>
>>
>> Hi, i need to visualize the road label that follow the line angle
>> It's possible
>> best regards Francisco Salas
>>
>> ___________________________________
>> Este mensaje esta libre de virus.
>> Revisado por Kaspersky Antivirus
>> Engine version:  4.0.1.14
>> Engine date:  2002/06/25
>> Definition count:  712871
>> Definition date:  2008/05/24
>> MDAV version: 2.2.9
>>
>> Dpto de Sistemas Informáticos
>> Oficina Central Grupo Empresarial GEOCUBA
>>
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 


___________________________________
Este mensaje esta libre de virus. 
Revisado por Kaspersky Antivirus
Engine version:  4.0.1.14
Engine date:  2002/06/25
Definition count:  712871
Definition date:  2008/05/24
MDAV version: 2.2.9

Dpto de Sistemas Informáticos
Oficina Central Grupo Empresarial GEOCUBA




More information about the mapserver-users mailing list