MapTools.org

[Maplab-dev] [Bug 267] New: Font for labels is not applied for all classes

bugzilla-daemon@www.maptools.org bugzilla-daemon@www.maptools.org
Fri, 5 Mar 2004 13:22:29 -0500
http://www.maptools.org/bugzilla/show_bug.cgi?id=267

           Summary: Font for labels is not applied for all classes
           Product: MapLab
           Version: 3.0
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SECT (Studio)
        AssignedTo: maplab-dev@lists.maptools.org
        ReportedBy: bartvde@xs4all.nl


I have created an SLD document with 2 classes.
The first class has the following font:
monospace, oblique, 20

The second class:
monospace, bold, 10

But both classes show the same font in the Map image.

SLD:
<StyledLayerDescriptor version="1.0.0">
<NamedLayer>
<NAME>Gemeentes</NAME>
<UserStyle>
<FeatureTypeStyle>
<Rule>
<Filter><PropertyIsEqualTo><PropertyName>GEMNAAM</PropertyName><Literal>Deurne</Literal></PropertyIsEqualTo></Filter>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#0000b9</CssParameter>
<GraphicFill>
<Graphic>
<Size>1</Size>
<Mark>
<WellKnownName>cross</WellKnownName>
<Fill>
<CssParameter name="fill">#0000b9</CssParameter>
</Fill>
</Mark>
</Graphic>
</GraphicFill>
</Fill>
</PolygonSymbolizer>
<TextSymbolizer>
<Label>GEMNAAM</Label>
<Font>
<CssParameter name="font-family">monospace</CssParameter>
<CssParameter name="font-style">oblique</CssParameter>
<CssParameter name="font-size">20</CssParameter>
</Font>
<Fill>
<CssParameter name="fill">#000000</CssParameter>
</Fill>
<LabelPlacement>
<PointPlacement>
<AnchorPoint>
<AnchorPointX>0.5</AnchorPointX>
<AnchorPointY>0.5</AnchorPointY>
</AnchorPoint>
</PointPlacement>
</LabelPlacement>
</TextSymbolizer>
</Rule>
<Rule>
<Filter><PropertyIsEqualTo><PropertyName>GEMNAAM</PropertyName><Literal>Amsterdam</Literal></PropertyIsEqualTo></Filter>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#00dd00</CssParameter>
<GraphicFill>
<Graphic>
<Size>1</Size>
<Mark>
<WellKnownName>square</WellKnownName>
<Fill>
<CssParameter name="fill">#00dd00</CssParameter>
</Fill>
</Mark>
</Graphic>
</GraphicFill>
</Fill>
</PolygonSymbolizer>
<TextSymbolizer>
<Label>GEMNAAM</Label>
<Font>
<CssParameter name="font-family">monospace</CssParameter>
<CssParameter name="font-weight">bold</CssParameter>
<CssParameter name="font-size">10</CssParameter>
</Font>
<Fill>
<CssParameter name="fill">#000000</CssParameter>
</Fill>
<LabelPlacement>
<PointPlacement>
<AnchorPoint>
<AnchorPointX>1.0</AnchorPointX>
<AnchorPointY>0.5</AnchorPointY>
</AnchorPoint>
</PointPlacement>
</LabelPlacement>
</TextSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


This archive was generated by Pipermail.