I use geoserver wms to visualize vector data, which are small line segments
in my case. Each line segment has a float value associated with it and I use
the SLD interpolate function to color it.
When I zoom in everything looks fine, but when zooming out the stroke width
is getting incorrect, as you can see in the second screenshot. It looks like
it renders the stroke-with always with the same angle related to the line
and doesn't consider the line curves.
It should look like in the first screenshot.
Correct (zoomed in):
<http://osgeo-org.1560.x6.nabble.com/file/n5259354/2.png>
Incorrect (zoomed out):
<http://osgeo-org.1560.x6.nabble.com/file/n5259354/1.png>
My SLD:
<LineSymbolizer>
<Stroke>
<CssParameter name="stroke">
<ogc:Function name="Interpolate">
<ogc:PropertyName>VALUE</ogc:PropertyName>
<ogc:Literal>0</ogc:Literal>
<ogc:Literal>#F1FFE6</ogc:Literal>
<ogc:Literal>3.5</ogc:Literal>
<ogc:Literal>#528332</ogc:Literal>
<ogc:Literal>color</ogc:Literal>
</ogc:Function>
</CssParameter>
<CssParameter name="stroke-width">50</CssParameter>
</Stroke>
</LineSymbolizer>
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/SLD-wrong-stroke-width-at-low-zoom-level-tp5259354.html
Sent from the GeoServer - User mailing list archive at Nabble.com.