| Use the attached shape file and add a layer with that Generate a GML file for the layer with WFS GML 3.1 or 3.2. The resulting GML specifies srsDimension="3", but the coordinates are only x and y.
...
<cheshire:the_geom>
<gml:MultiSurface srsName="http://www.opengis.net/gml/srs/epsg.xml#27700" srsDimension="3">
<gml:surfaceMember>
<gml:Polygon>
<gml:exterior>
<gml:LinearRing>
<gml:posList>
353161.3992 344461.998 353060.1004 344222.1967 352801.997 343906.797 352629.9967 343719.7005 352306.3039 343429.7035 352086.0041 343316.396 352036.7976 ...
Tested on Windows, using installed version 2.8.2 and reproduced in forked development version 2016-03-19 on master. It may be related to GEOT-4607, GEOT-1692. If strict CITE is enabled for WFS service (GEOT-4152, GEOS-5131) then the srsDimension is not set at all and the application I use interprets the GML correctly. Looking at the related issues, I come to think that this might actually a GeoTools bug. I will have a look at the code now that I can debug it locally. |