geoserver/geoserver — pull request #753 by dwins (2014-09-19 20:42:27+00:00)
Title: Render LinearRings in WPS WKT output as LineStrings

The JTS library defines a LinearRing geometry type; however, this
geometry type is not defined in WKT. As noted in the API documentation
for JTS' WKTWRiter:

> A non-standard LINEARRING tag is used for LinearRings. The SFS WKT spec
> does not define a special tag for LinearRings. Under it, rings are
> output using LINESTRING.

In my use case OpenLayers does not account for this nonstandard encoding
and I believe the best fix is for GeoServer to ensure standard compliant
output.