PointSymbolizer use on polygon features plots all symbol a the top left of the output
-------------------------------------------------------------------------------------
Key: GEOS-3802
URL: http://jira.codehaus.org/browse/GEOS-3802
Project: GeoServer
Issue Type: Bug
Components: WMS
Affects Versions: 2.0.1
Environment: Sun jdk 1.6.0.17
Reporter: Maxence Laurent
Assignee: Andrea Aime
Attachments: MisplacedPoint_tiledVersion.png, MisplacedPointSymbolizer.png
When a PointSymbolizer is defined within a style which apply on polygon features, all the punctual symbol are plotted at the top left of the WMS output. When I do a tiled query, the problem is the same but only quarter-circle appears on some tiles...
The correct behavior should to select a point inside each polygon and to plot each symbol at the corresponding point.
See the attached WMS outputs.
Here is the rule element of my sld: (note that making two rules doesn't change anything)
<Rule>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#eeeeee</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">#000000</CssParameter>
<CssParameter name="stroke-width">1</CssParameter>
</Stroke>
</PolygonSymbolizer>
<PointSymbolizer>
<Graphic>
<Mark>
<WellKnownName>circle</WellKnownName>
<Fill>
<CssParameter name="fill">#ff0000</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">#000000</CssParameter>
<CssParameter name="stroke-width">1</CssParameter>
</Stroke>
</Mark>
<Size>
<ogc:Mul>
<ogc:PropertyName>EEE_BILAT</ogc:PropertyName>
<ogc:Literal>10</ogc:Literal>
</ogc:Mul>
</Size>
</Graphic>
</PointSymbolizer>
</Rule>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira