Hi Brent,
Odd, I have not seen that exact error before. But there could be a
problem with the geometry returned. Be sure to set the
"gml_include_items" and "gml_featureid" metadata in your layer in the
mapfile. (see examples at https://mapserver.org/ogc/wfs_server.html
)
Also, here is a proper DescribeFeatureType response, in case that helps
to see (save response as .xml and open in text editor)
https://demo.gatewaygeomatics.com/cgi-bin/wfs_gateway?SERVICE=WFS&REQUEST=DescribeFeatureType&VERSION=2.0.0&TYPENAMES=ms:park&TYPENAME=ms:park
Oh, and use Richard's great QGIS Network Logger plugin to get your exact
DescribeFeatureType url (to compare to my server's response above).
Cheers from the east coast of Canada,
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
https://gatewaygeomatics.com/
On 2020-03-18 7:57 p.m., Brent Wood wrote:
Hi,
I'm setting up mapserver to provide WFS services to be consumed by QGIS.
The capabilities doc works fine from a browser, and connecting from QGIS
I get the available layer listed fine, so QGIS works fine with the WFS
to at least get the capabilities doc.
I get an error when trying to retrieve the layer, and have found a few
references but nothing helpful. I need help interpreting the QGIS error
before I can attempt to fix the error in the mapfile (if there is one).
Error msg: (same in QGIS 2.18, 3.4, 3.10)
2020-03-19T11:52:38 1 Analysis of DescribeFeatureType response failed
for url srsname='EPSG:4326' typename='ms:Specimens'
url='http://wellmapsrvdev.niwa.co.nz/cgi-bin/mapserv?map=/usr/lib/cgi-bin/mapfiles/specify.map'
version='auto' table="" sql=: it is probably a schema for Complex Features
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user