Hi All
I tried to post this yesterday and i dont think it worked.
I am trying to use a True Type Font (.tff) symbol to style a polygon. I
followed the post on the Blog and have got it working, however there are
three things that i would like to be able to do or change;
http://www.nabble.com/file/p21855746/symbology.jpg
1. The symbol is upside down (see attached image) - i have since flipped
some of the Fonts in the .tff library and they now appear the correct way
up. Is there a way to do this in the SLD rather than having to flip all my
symbols??
2. The symbol seems to be appear regularly across the polygon, in a grid.
this is too strict so wondering if there was a way for a random amount of
symbols to appear in the polygon?
3. The size of the symbol chnages based on the scale. Can i lock it to just
being a particular size no matter what scale.
This is my SLD rule that i am using
<Rule>
<Name>0000 Foreshore</Name>
<Title>0000 Foreshore</Title>
<!--Filter based on Dotted Eyes Legend Classification -->
<ogc:Filter>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>LEGEND</ogc:PropertyName>
<ogc:Literal>0000 Foreshore</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<!-- Max scale to show this layer-->
<MaxScaleDenominator>7000</MaxScaleDenominator>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#BEFFFF</CssParameter>
</Fill>
</PolygonSymbolizer>
<PolygonSymbolizer>
<Fill>
<GraphicFill>
<Graphic>
<Mark>
<WellKnownName>ttf://OSMasterMap#0x4F</WellKnownName>
<!-- this will need changing depending on the symbol -->
<Fill>
<CssParameter name="fill">#0099ff</CssParameter>
</Fill>
<Stroke>
<CssParameter
name="stroke-fill">#0099ff</CssParameter>
<CssParameter name="stroke-width">0.087</CssParameter>
<CssParameter name="stroke-opacity">1</CssParameter>
</Stroke>
</Mark>
<Size>1</Size> <!-- this value needs to be altered to give
a random pattern to the symbology -->
</Graphic>
</GraphicFill>
</Fill>
</PolygonSymbolizer>
</Rule>
It would be great to solve these as i want to used the OS styling guide
Thanks
Tim
--
View this message in context: http://www.nabble.com/SLD-Issue---PolygonSymbolizer-with-Cartographic-Symbols-on-top-tp21855746p21855746.html
Sent from the GeoServer - User mailing list archive at Nabble.com.