Hi, I'm experimenting with the ground unit uom SLD extension in geoserver as described here: http://docs.geoserver.org/latest/en/user/styling/sld-extensions/uom.html using the geoserver 2.2-RC1 binaries.
while it seems that the ground unit uom extension works fine for simple strokes, it doesn't seem to work with non-trivial strokes. for example, when trying to use this feature with a dasharray, say: <sld:PolygonSymbolizer uom="http://www.opengeospatial.org/se/units/metre"> <sld:Stroke> <sld:CssParameter name="stroke">#000000</sld:CssParameter> <sld:CssParameter name="stroke-width">50</sld:CssParameter> <sld:CssParameter name="stroke-dasharray">6 3 6 3 24 3</sld:CssParameter> </sld:Stroke> </sld:PolygonSymbolizer> no dashes are displayed, the rendered stroke is a continous stroke. or, when trying to use this with a graphic mark, for example trying to create 1m wide strokes at right angles with the original line (to depict a railway): <sld:LineSymbolizer uom="http://www.opengeospatial.org/se/units/metre"> <sld:Stroke> <sld:CssParameter name="stroke">#000000</sld:CssParameter> <sld:CssParameter name="stroke-width">8</sld:CssParameter> </sld:Stroke> </sld:LineSymbolizer> <sld:LineSymbolizer uom="http://www.opengeospatial.org/se/units/metre"> <sld:Stroke> <sld:GraphicStroke> <sld:Graphic> <sld:Mark> <sld:WellKnownName>shape://vertline</sld:WellKnownName> <sld:Stroke> <sld:CssParameter name="stroke">#000000</sld:CssParameter> <sld:CssParameter name="stroke-width">1</sld:CssParameter> </sld:Stroke> </sld:Mark> <sld:Size>12</sld:Size> </sld:Graphic> </sld:GraphicStroke> <sld:CssParameter name="stroke-dasharray">12 18</sld:CssParameter> </sld:Stroke> </sld:LineSymbolizer> here, geoserver actually hangs (it uses a lot of CPU power, but no images are returned in the openlayers preview window) might it be the case that this extension is limitied to trivial strokes? if I wanted to make this work for the above cases as well, where would I look in the code for it? Akos ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
