[mapserver-users] Symbol problem
Christy Nieman
cnieman at dmsolutions.ca
Wed Apr 8 04:53:36 PDT 2009
Hi,
If you use TYPE ANNOTATION instead of TYPE POINT only the symbols for
features that get labelled will be drawn.
Regards,
--
Christy Nieman
GIS Technician
DM Solutions Group, Inc.
Email: cnieman at dmsolutions.ca
Web: http://dmsolutions.ca
Web: http://research.dmsolutions.ca
Valeria Muñoz wrote:
> Hi
> I have problem with a Symbol, I define some configurations
> parameters for my labels, this works for labels but not for symbols
>
> if you look the image attached the red labels are from the symbol.. I
> need to display on the map only the symbols of the labels and not
> symbols with no labels.
>
> Layer:
>
>
> LAYER
> NAME 'centro_urbano_punto'
> TYPE POINT
> DATA 'centro_urbano_punto.shp'
> METADATA
> 'wms_title' 'centro_urbano_punto'
> END
> STATUS DEFAULT
> MAXSCALE 1988400
> TRANSPARENCY 100
> PROJECTION
> 'proj=longlat'
> 'ellps=WGS84'
> 'datum=WGS84'
> 'no_defs'
> ''
> END
> LABELITEM 'NAME'
> CLASS
> NAME 'centro_urbano_punto'
> STYLE
> SYMBOL 'circle'
> SIZE 3
> OUTLINECOLOR 161 189 196
> COLOR 0 0 0
>
> END
> LABEL
> SIZE 6
> TYPE TRUETYPE
> FONT georgia
> ANTIALIAS TRUE
> BUFFER 20
> COLOR 110 0 0
> OUTLINECOLOR 255 255 255
> OUTLINEWIDTH 3
>
> FORCE false
> MINDISTANCE -1
> MINFEATURESIZE -1
> OFFSET 2 0
> PARTIALS FALSE
> POSITION AUTO
> END
> END
> END
>
>
>
> #Circle symbol
> SYMBOL
> NAME 'CIRCLE'
> TYPE ellipse
> ANTIALIAS TRUE
> FILLED true
> POINTS
> 1 1
> END
> END
>
> I attach image
>
> help please...
>
> RG
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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