| I have a geoserver endpoint serving INSPIRE compliant environmental data (EPSG:3035) as WFS 2.0 (GML 3.2) through AppSchema from a PostGIS (pg 9.4) database. There is a validation error for the WFS request if the "return bounding box with each feature" is checked. For the wfs:boundedBy element there is no declaration of srsName, and while that bounding box is correct and valid, since the srsName isn't specified, GML validators, like the one from opengeospatial, http://cite.opengeospatial.org/teamengine/viewSessions.jsp, will not validate my GML, saying that the bounding box for WFS doesn't have a SRS associated. This issue is with any WFS 2.0 generated GML3.2, none of the requests seem to generate the required attributes for the WFS's Envelope (i tried both complex feature types as well as simple feature types: shapefile, direct postgis data connections etc). I have confirmed this issue with Andrea Aime as well as with Ben Caradoc-Davies: Andrea wrote: _Double checked, indeed it seems the srsName is never encoded for envelopes of WFS 2.0 responses, even if they are made of simple features. E..g: http://demo.geo-solutions.it/geoserver/tiger/ows?service=WFS&version=2.0.0&request=GetFeature&typeName=tiger:tiger_roads&count=1 vs: http://demo.geo-solutions.it/geoserver/tiger/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=tiger:tiger_roads&maxFeatures=1 So no, the issue was not known (possibly because many try to avoid computing/encoding the bounds, as it adds extra cost). Please report it at the bug tracker _ In a WFS request, for example administrative units (request: http://inspire.biodiversity.ro/geoserver/ows?service=wfs&version=2.0.0&request=getfeature&typename=au:AdministrativeUnit&featureID=BC) I get the following response: _<wfs:boundedBy> <gml:Envelope> <gml:lowerCorner>2687567.4042999963 5533251.203599997</gml:lowerCorner> <gml:upperCorner>2781594.9288999955 5660608.522499993</gml:upperCorner> </gml:Envelope> </wfs:boundedBy> <wfs:member> <au:AdministrativeUnit gml:id="BC"> <gml:boundedBy> <gml:Envelope srsDimension="2" srsName="urn:ogc:def:crs:EPSG::3035"> <gml:lowerCorner>2687567.4042999963 5533251.203599997</gml:lowerCorner> <gml:upperCorner>2781594.9288999955 5660608.522499993</gml:upperCorner> </gml:Envelope> </gml:boundedBy>_ |