Since geoexplorer is giving us problems, we have started using QGIS to style our layers and then put the sld in geoserver. The wellknownname for a square comes out as 'rectangle' from QGIS and geoserver doesn't recognize that. There is a team that has to do styles this way and would prefer to find a way around replacing rectangle with square every time they do a style. Can I get geoserver to recognize 'rectangle'?


1 Answer 1


This issue was worked on during the OSGeo code sprint in Bonn. There is a pull request, that should be acted on soon: https://github.com/geotools/geotools/pull/1288/files It adds rectangle to the known shapes.

  • 1
    I've merged the PR - it should appear in the latest jars later today
    – Ian Turton
    Sep 2, 2016 at 8:57
  • This is great. But how do I add it to my current geoserver?
    – bl8rchk
    Sep 2, 2016 at 19:13
  • You'll have to get the latest version of Geoserver
    – underdark
    Sep 2, 2016 at 19:46
  • 1
    We'll eventually try to backport to GeoServer 2.9.x as well. It's too late for 2.8.x though, that series is not likely to see any more releases. Sep 3, 2016 at 13:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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