I am trying to make a WMS service for complicated Polygons using geoserver pointed at postGIS.

When some of the polygons are being rendered by the WMS the polygon fill crosses the geometry of the polygon, see the image for a better idea of whats going on.

Why is the polygon not being styled correctly?

My geoserver version is 2.7.6, the polygon has a srid of 3857 WMS fill not respecting geometry of Polygon

SLD for the Polygons in question :

              <se:SvgParameter name="fill">#a5bfdd</se:SvgParameter>
              <se:SvgParameter name="fill-opacity">1.0</se:SvgParameter>
              <se:SvgParameter name="stroke">#000001</se:SvgParameter>
              <se:SvgParameter name="stroke-width">1</se:SvgParameter>
              <se:SvgParameter name="stroke-linejoin">bevel</se:SvgParameter>
  • 1
    Issues like that have been fixed in the past, 2.7.6 is really old, try a 2.12.x release instead. I don't remember particular workarounds, sorry. Mar 15, 2018 at 12:02
  • 1
    are you sure the polygon is valid?
    – Ian Turton
    Mar 15, 2018 at 12:12

1 Answer 1


Updating the Geoserver version from 2.7.6 to 2.12.2 fixed the issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.