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

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:

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

Environment

None

Activity

Show:
Ben Caradoc-Davies
October 2, 2015, 9:10 PM

Pull request merged on master:
https://github.com/geoserver/geoserver/pull/1246

Discussion:
http://osgeo-org.1560.x6.nabble.com/Re-Geotools-devel-Make-GML-3-the-default-in-the-Layer-Preview-page-td5225805.html

Stefano, I have left this open as I am not sure if you want to make some more changes (top-level-geometry-less GML links, backports). Please resolve this issue if you think it is done.

Stefano Costa
October 5, 2015, 3:54 PM
Edited

Ben, I addressed your question about the missing GML link for the GeologicUnit on GitHub. I will close the issue as soon as we are sure that question has been sorted out and I've done the backports.

Ben Caradoc-Davies
October 8, 2015, 12:32 AM

Stefano solved the mystery of the missing GeologicUnit GML link:
https://github.com/geoserver/geoserver/pull/1246

I have now added a layer.xml for GeologicUnit and fixed the titles and abstracts for both types (neglected before as they never worked).

Stefano Costa
October 12, 2015, 9:29 PM

Backported to stable and maintenance.

Andrea Aime
February 15, 2017, 11:48 AM

Mass closing all resolved issues not modified in the last 4 weeks

Fixed

Assignee

Stefano Costa

Reporter

Stefano Costa

Triage

None

Fix versions

Affects versions

Components

Priority

Medium