Layer style render is not the same as older version
---------------------------------------------------
Key: GEOS-4878
URL: https://jira.codehaus.org/browse/GEOS-4878
Project: GeoServer
Issue Type: Bug
Components: CSS
Affects Versions: 2.1.2
Environment: Windows/Linux
Reporter: Cegelec-Centre Est
Assignee: Andrea Aime
Attachments: geoserver_problem.png, routeB2.png, route_s3.png, routeW.png
With the last version of geoserver, the style application of my road layer looks Ugly. I used the same style but the render is not the same in geoserver 2.0.2 and 2.1.2
here is my style:
{code:xml}
<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd"
xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<NamedLayer>
<Name>reseau</Name>
<UserStyle>
<Title>reseau</Title>
<FeatureTypeStyle>
<Rule>
<MinScaleDenominator>0</MinScaleDenominator>
<MaxScaleDenominator>10000</MaxScaleDenominator>
<LineSymbolizer>
<Stroke>
<GraphicStroke>
<Graphic>
<ExternalGraphic>
<OnlineResource xlink:href="../www/img/reseaupng/route_s3.png" />
<Format>image/png</Format>
</ExternalGraphic>
<Size>18</Size>
</Graphic>
</GraphicStroke>
</Stroke>
</LineSymbolizer>
</Rule>
<Rule>
<MinScaleDenominator>10000</MinScaleDenominator>
<MaxScaleDenominator>75000</MaxScaleDenominator>
<LineSymbolizer>
<Stroke>
<GraphicStroke>
<Graphic>
<ExternalGraphic>
<OnlineResource xlink:href="../www/img/reseaupng/route_s3.png" />
<Format>image/png</Format>
</ExternalGraphic>
<Size>12</Size>
</Graphic>
</GraphicStroke>
</Stroke>
</LineSymbolizer>
</Rule>
<Rule>
<MinScaleDenominator>75000</MinScaleDenominator>
<LineSymbolizer>
<Stroke>
<GraphicStroke>
<Graphic>
<ExternalGraphic>
<OnlineResource xlink:href="../www/img/reseaupng/routeB2.png"/>
<Format>image/png</Format>
</ExternalGraphic>
<Size>6</Size>
</Graphic>
</GraphicStroke>
</Stroke>
</LineSymbolizer>
<LineSymbolizer>
<Stroke>
<GraphicStroke>
<Graphic>
<ExternalGraphic>
<OnlineResource xlink:href="../www/img/reseaupng/routeW.png"/>
<Format>image/png</Format>
</ExternalGraphic>
<Size>1</Size>
</Graphic>
</GraphicStroke>
</Stroke>
</LineSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
{code}
"route_s3" and "routeB2" files are 10x10 png pictures. "routeW" is 1x1 blank png picture.
data come from a postgreSQL 8.4 server with PostGIS 1.5 extension
the geometry is MultiLine
See in attached file 2 screenshots to compare. A picture is better than long explanation.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira