03-13-2019 08:15 AM - edited 03-13-2019 08:18 AM
Hi all, I created a new WFS service using MyGeoservices section of the Studio.
The GetCapabilities seems to respond well. The GetFeature request seems to work, but returning no features (the data table is not empty).
I tried to access the service with QGIS 3.6, but after the creation of the new connection , I receive the following error and QGIS crashes :
"Il layer non è valido: Il layer user='training_2' password='xxx' pagingEnabled='true' restrictToRequestBBOX='1' srsname='http://www.opengis.net/gml/srs/epsg.xml#3857' typename='test_muster_province' url='https://mappenterprise.planetek.it/api/v1/geoservices/wfs/tenant_training_2/test_muster?' version='1.1.0' table="" sql= non è valido e non può essere aggiunto alla mappa. Motivo:"
03-14-2019 02:37 AM
I'm not so expert of QGIS to answer.
On the other hand, if I try to use the Feature Analyzer to access the WFS service :
I receive an error "There was an error reading the input feature data" and the Layer Name drop down list remain empty.
Are the paramenters I insert correct?
03-15-2019 11:17 AM - edited 03-15-2019 11:32 AM
To use the WFS inside Feature Analyzer you need to load the layer directly. To do so, you must give the name of the layer and the BBox allowing the analyzer to download the entire dataset and store it in memory. I´ve posted somewhere inside the forum how to send such requests properly. Use that request and pute it in the online source tab (use 4326 as EPSG). It is not as it yould work using the WFS option in external services, but it´s a work arround
03-18-2019 08:48 AM
Thank you for your reply S.Fonseca.
We need to publish some data as WFS and then provide the URL to other. So we need to understand if the WFS provided by M.App Enterprise is compliant with OGC or not.
Why are we having this difficulties in publishing and consuming this WFS?
Thank you very much
03-20-2019 01:23 AM
are you sure QGIS does support GeoJSON as output format? We currently support only this format (or plain JSON).
In case there is a specific issue please open a ticket.
03-20-2019 01:30 AM
thank you for your reply. My colleague talked about QGis just to make an example but in truth we are not able to consume the WFS created with M.App Enterprise in any client (Geomedia, QGis, Feature Analyzer, etc.). We need to better understand how to use this WFS service.
Thank you very much