| GML 3.1 and GML 3.2 encoding utilities delegate most of the work on encoding GMLEncodingUtils: https://github.com/geotools/geotools/blob/master/modules/extension/xsd/xsd-gml2/src/main/java/org/geotools/gml2/bindings/GMLEncodingUtils.java MultiLinesStringPropertyType and MultiPolygonPropertyType are deprecated in GML 3.2, types MultiCurvePropertyType and MultiSurfacePropertyType should be used instead. Currently GMLEncodignUtils only take in consideration the first ones: https://github.com/geotools/geotools/blob/master/modules/extension/xsd/xsd-gml2/src/main/java/org/geotools/gml2/bindings/GMLEncodingUtils.java#L305-L311 This means that a feature type that as geometry attributes of type MultiLinesString or MultiPolygons will not be correctly encoded in GML3.2 if the corresponding XSD type is generated using GML32EncodingUtils. |