Opened 16 years ago
Closed 15 years ago
#2548 closed defect (fixed)
Mapserver SLD PointSymbolizer stroke color doensn't work
Reported by: | crocq | Owned by: | assefa |
---|---|---|---|
Priority: | normal | Milestone: | 5.4 release |
Component: | WMS Server | Version: | 5.0 |
Severity: | normal | Keywords: | |
Cc: | sdlime |
Description
I am using Mapserver 5.0 Windows precompile version. (Also tried it on the latest one 5.02).
I have a problem with styling point symbols through SLD's. When I only use a stroke section inside de Mark section for a PointSymbolizer then the color stays #808080 R:128, G:128, B:128 which is the standard color op Mapserver. It seems to me that mapserver is ignoring a color styling for point symbols when only a stroke section is used.
Because when I use a Fill section also inside the Mark Section then the color styling for symbols is correct for the fill and stroke section.
Is this a bug in Mapserver? Or does I always have to use a Fill section for coloring symbols.
With kind regards,
Tibor
As example the SLD i'm using.
<?xml version="1.0" encoding="utf-8"?> <StyledLayerDescriptor version="1.0.0">
<Name>Verlichting</Name> <UserStyle>
<Title>MastenStyle</Title> <FeatureTypeStyle>
<Rule>
<Filter>
<PropertyName>ID_SES</PropertyName> <Literal>-2</Literal>
</Filter> <PointSymbolizer>
<Graphic>
<Mark>
<WellKnownName>circle</WellKnownName> <Stroke>
<CssParameter name="stroke">#ff0000</CssParameter> <CssParameter name="width">4</CssParameter>
</Stroke>
</Mark> <Size>12</Size> <Rotation>0</Rotation>
</Graphic>
</Rule>
Change History (4)
comment:1 by , 16 years ago
Component: | MapServer C Library → WMS Server |
---|---|
Owner: | changed from | to
comment:2 by , 16 years ago
Cc: | added |
---|
comment:3 by , 15 years ago
Milestone: | → 5.2.1 release |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:4 by , 15 years ago
Milestone: | 5.2.1 release → 5.4 release |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
tested. Closing.
committed in trunk r8017.