Uploaded image for project: 'GeoServer'
  1. GEOS-7226

Default GML links in Layer Preview page do not work for app-schema layers

    Details

      Description

      The default GML link generated by the layer preview page uses WFS 1.0.0 as protocol and GML2 as output format, but this does not work for app-schema layers, since GML2 does not support complex features at all.

      Clicking on the link results in a ServiceException response with the following error message:

      java.lang.ClassCastException: org.geotools.feature.type.ComplexFeatureTypeImpl cannot be cast to org.opengis.feature.simple.SimpleFeatureType org.geotools.feature.type.ComplexFeatureTypeImpl cannot be cast to org.opengis.feature.simple.SimpleFeatureType
      

      Ideally, the generated GML link for app-schema layers should:

      • use WFS 1.1.0 as protocol
      • use either GML 3.1.1 or GML 3.2 as output format, depending on the schema
      • use the global OWS service instead of virtual services, to avoid problems accessing secondary namespaces

        Attachments

          Activity

            People

            • Assignee:
              ridethepenguin Stefano Costa
              Reporter:
              ridethepenguin Stefano Costa
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: