How do I have a polygon that has both a fill and an outline with a width?
Zum InhaltsverzeichnisHow do I have a polygon that has both a fill and an outline with a width? Whenever I put both a color (fill) and an outlinecolor with a width on a polygon within a single STYLE, the outline width isn't respected.
For historical reasons, width has two meanings within the context of filling polygons and stroke widths for the outline. If a polygon is filled, then the width defines the width of the symbol inside the filled polygon. In this event, the outline width is disregarded, and it is always set to 1. To acheive the effect of both a fill and an outline width, you need to use two styles in your class.
STYLE # solid fill COLOR 255 0 0 END STYLE # thick outline (could use a circle symbol with size too) OUTLINECOLOR 0 0 0 WIDTH 3 ANTIALIAS TRUE END
Diese FAQ betrifft: MapServer 4.8, MapServer 4.10
A similar problem
LAYER
NAME "Potencial-Medio"
STATUS ON
DATA "ajos/ajoceb-Medio"
TYPE POLYGON
CLASSITEM "GRIDCODE"
CLASS
NAME "Medio"
EXPRESSION "3"
STYLE
COLOR 255 173 0
OUTLINECOLOR -1 -1 -1 <----me it does not respect it, I want to clear the line or the contour and to leave to nothing but the bottom -->
END
END
END