[mapserver-users] Labelitem in MapScript
Tamas Szekeres
szekerest at gmail.com
Mon Nov 16 05:13:35 PST 2009
Vinicius,
How about using layerObj.labelitem ?
Best regards,
Tamas
2009/11/13 Vinicius Maeda <viniciusmaeda at yahoo.com.br>:
>
> Hi guys,
>
> I have the code above in a mapfile and I'm trying to use it in MapScript ,
> in spetial case the usage of LabelItem. Is someone can help me?
>
>
> LAYER
> NAME "BR"
>
> CONNECTIONTYPE PLUGIN
> PLUGIN "C:/ms4w/Apache/specialplugins/msplugin_mssql2008.dll"
> CONNECTION "server=localhost;uid=user;pwd=pwd;database=db;Integrated
> Security=false"
> DATA "the_geom FROM (SELECT the_geom, Etiqueta, ID FROM
> TE_Cabeceira_E_Foz_Rios_Escopo_ES WHERE CodigoRio = '104432') AS FOO USING
> SRID=4326 USING UNIQUE ID"
> TYPE POINT
> STATUS DEFAULT
> LABELITEM "Etiqueta"
>
> CLASS
> NAME "NAME"
> SYMBOL "circle"
> SIZE 5
> COLOR 0 0 255
> LABEL
> COLOR 255 255 255
> FONT arial
> SIZE small
> POSITION AUTO
> PARTIALS FALSE
> OUTLINECOLOR 0 0 255
> END
> END
> END
>
> Regards,
> Vinicius
> --
> View this message in context: http://n2.nabble.com/Labelitem-in-MapScript-tp4000655p4000655.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list