[Geoserver-users] GeoServer GML 3 GeometryCollection Encoding

Which of these two GML 3 encodings of a GeometryCollection is correct?

GeoServer 2.7.1 encodes a GeometryCollection containing a Polygon as:
<gml:MultiGeometry ...>
  <gml:geometryMember>
    <gml:Polygon ...>
      ...
    </gml:Polygon>
  </gml:geometryMember>
</gml:MultiGeometry>

GeoServer 2.9.1 encodes it as:
<gml:GeometryCollection ...>
  <gml:Polygon ...>
    ...
  </gml:Polygon>
</gml:GeometryCollection>

Also, it was mentioned in Andrea's comment on
[GEOT-5360] - Jira, but that bug was fixed for
GML 3.2 but not GML 3.

Steve Ikeoka

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-GML-3-GeometryCollection-Encoding-tp5300973.html
Sent from the GeoServer - User mailing list archive at Nabble.com.