Uploaded image for project: 'GeoTools'
  1. GEOT-5669

Geometries not created when using WFS data store 2.0.0

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 15.5, 16.3, 17.2
    • Component/s: xsd-gml
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              nmco Nuno Oliveira
              Reporter:
              nmco Nuno Oliveira
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: