GeoServer

PointSymbolizer use on polygon features plots all symbol a the top left of the output

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0.1
  • Fix Version/s: 2.0.2
  • Component/s: WMS
  • Labels:
    None
  • Environment:
    Sun jdk 1.6.0.17
  • Number of attachments :
    2

Description

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>

Issue Links

Activity

Hide
Andrea Aime added a comment -

Hi, looked a bit into this one and found a little glitch in some maps using polygon + point styles, but nothing compared to yours.
Can you try out a nightly build of the 2.0.x series, starting from tomorrow's build? (which will have the little fix I've made in GEOT-3011).

If the problem is still there can you attach the data and the full SLD so that I can reproduce on my side?

Show
Andrea Aime added a comment - Hi, looked a bit into this one and found a little glitch in some maps using polygon + point styles, but nothing compared to yours. Can you try out a nightly build of the 2.0.x series, starting from tomorrow's build? (which will have the little fix I've made in GEOT-3011). If the problem is still there can you attach the data and the full SLD so that I can reproduce on my side?
Hide
Maxence Laurent added a comment -

Ok the problem doesn't appear anymore

Thanks

Show
Maxence Laurent added a comment - Ok the problem doesn't appear anymore Thanks

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: