Opened 19 years ago
Closed 19 years ago
#1151 closed defect (fixed)
</Mark> twice in generated SLD
Reported by: | Owned by: | mapserverbugs | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | WMS Client | Version: | 4.4 |
Severity: | normal | Keywords: | |
Cc: |
Description
When using the following CLASS definition on a WMS client layer (native type is polygon): CLASS NAME "< 25000" EXPRESSION ([INWONERS] < 25000) METADATA END STYLE COLOR 255 136 0 OUTLINECOLOR 0 0 0 SYMBOL "circle" END END The generated SLD contains two end Mark elements. <StyledLayerDescriptor version="1.0.0" xmlns="http://www.opengis.net/sld" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengeospatial.net/sld/1.0.0/StyledLayerDescriptor.xsd"> <NamedLayer> <Name>Gemeentes</Name> <UserStyle> <FeatureTypeStyle> <Rule> <Name>< 25000</Name> <ogc:Filter> <ogc:PropertyIsLessThan><ogc:PropertyName>INWONERS</ogc:PropertyName><ogc:Literal>25000</ogc:Literal></ogc:PropertyIsLessThan></ogc:Filter> <PolygonSymbolizer> <Fill> <GraphicFill> <Graphic> <Mark> <WellKnownName>circle</WellKnownName> <Fill> <CssParameter name="fill">#ff8800</CssParameter> </Fill> </Mark> </Mark> </Graphic> </GraphicFill> <CssParameter name="fill">#ff8800</CssParameter> </Fill> <Stroke> <CssParameter name="stroke">#000000</CssParameter> </Stroke> </PolygonSymbolizer> </Rule> </FeatureTypeStyle> </UserStyle> </NamedLayer> </StyledLayerDescriptor> So the original map is returned without the SLD applied.
Note:
See TracTickets
for help on using tickets.