[mapserver-users] WFS 2.0 and QGIS

Ian Walberg ian.walberg at airborne.aero
Fri Mar 22 10:34:45 PDT 2019


Adding a layer using WFS version 1.0 works but selecting auto or 1.1/2.0 give the error below.

Any ideas what is causing this? Using GetCapabilites or GetFeature requests from a browser URL return data as expected for all WFS versions  However the xml returned from a WFS version 2.0 DescribeFeatureType does not get recognized by chrome as xml but a version 1.0 DescribeFeatureType does.

2019-03-22T10:25:04     CRITICAL    Layer is not valid : The layer pageSize='0' pagingEnabled='true' restrictToRequestBBOX='1' srsname='EPSG:4326' typename='Cities' url='http://192.168.2.181/cgi-bin/mapserv-7.2.1?map=/tmp/navhome/map.data/mapfiles/wfs_features.map' version='2.0.0' table="" sql= is not a valid layer and can not be added to the map. Reason:

2019-03-22T10:33:57     WARNING    DescribeFeatureType network request failed for url pageSize='0' pagingEnabled='true' restrictToRequestBBOX='1' srsname='EPSG:4326' typename='ms:Cities' url='http://192.168.2.181/cgi-bin/mapserv-7.2.1?map=/tmp/navhome/map.data/mapfiles/wfs_features_iw.map' version='2.0.0' table="" sql=: Download of feature type failed: Protocol "" is unknown
2019-03-22T10:33:57     WARNING    Download of feature type failed: Protocol "" is unknown

Thanks


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20190322/77ddf049/attachment.htm>


More information about the MapServer-users mailing list