WFS 2.0 and QGIS

Ian Walberg <[email protected]>
Newsgroups gmane.comp.gis.mapserver.user
Message-ID <[email protected]>
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

_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.