[Geoserver-users] SLD Issue - PolygonSymbolizer with Cartographic Symbols on top

Hi All

I am been trying to create an SLD that will use a rule to style a polygon based on an attribute with just a FILL, but i also need a cartographic symbol to be scattered across the polygon too.

I have got as far as creating the following SLD

0387 Heath 0387 Heath LEGEND 0387 Heath #D2FFB4 ttf://osmmFillSymbol#0x3F #000000 1 75

using this SLD creates the attached image. There are two issues

  1. I am making a call to the tff (great feature by the way) and it seems to flip the symbol upside down! No idea why - the font is correct in the tff file

So i am wondering if this is because i am using ESPG:27700

Has anyone else come across this?

  1. I do not want the symbology to be so ordered. I would like it scattered across the polygon. i do not have any point features that i could use a instead.

I have seen in the tutorial on Complex Labelling the use of

<!-- add a tiny bit of extra space around the label so the map isnt too cluttered-->

	    
	    <VendorOption name="spaceAround">1</VendorOption>

when i ahve tried to add this line to my SLD it flags a Schema error.

So can anyone help in randomly places the symbols across the polgyon.

many thanks

Tim

symbology.JPG