GeoServer

PointSymbolizer on polygon features results in an icon at the edge of the polygon (should be inside)

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.6.1
  • Fix Version/s: 1.6.4, 1.7.0-beta1
  • Component/s: WMS
  • Labels:
    None
  • Number of attachments :
    2

Description

See attached screenshot and SLD. The expected behavior would be a point symbol inside the polygon, not at a corner.

Issue Links

Activity

Hide
Andrea Aime added a comment -

Andreas, do you happen to have a data sample for me? In the meantime I'll try to reproduce this on with sample data.
Is that a shapefile or a postgis table btw? (the rendererer are unfortunatley different, shapefile has its own optimized version).

Show
Andrea Aime added a comment - Andreas, do you happen to have a data sample for me? In the meantime I'll try to reproduce this on with sample data. Is that a shapefile or a postgis table btw? (the rendererer are unfortunatley different, shapefile has its own optimized version).
Hide
Andreas Hocevar added a comment -

I just reproduced it with the tasmania_water_bodies shapefile that ships with geoserver. And yes, the error also occured with a shapefile.

Show
Andreas Hocevar added a comment - I just reproduced it with the tasmania_water_bodies shapefile that ships with geoserver. And yes, the error also occured with a shapefile.
Hide
Andrea Aime added a comment -

yeah, me too with sf:restricted. And also with a postgis based layer there is a bug in how the position is computed, but a different one... Will look in both of them

Show
Andrea Aime added a comment - yeah, me too with sf:restricted. And also with a postgis based layer there is a bug in how the position is computed, but a different one... Will look in both of them
Hide
Andrea Aime added a comment -

Fixed in geotools, should be included in gs 1.6.4

Show
Andrea Aime added a comment - Fixed in geotools, should be included in gs 1.6.4
Hide
Andrea Aime added a comment -

Reopening to edit the "fix for" field

Show
Andrea Aime added a comment - Reopening to edit the "fix for" field

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: