On 10/12/2018 11:27 AM, magerlin wrote: > To be very specific - I can only open project using layer source b) in QGIS > 3.2.2 > > *a)* restrictToRequestBBOX='1' srsname='EPSG:25832' > typename='fingerplan17:fp17vf_stationer' > url='http://wfs1.erst.dk:80/fingerplan17/wfs' version='auto' table="" sql= > > *b)* restrictToRequestBBOX='1' srsname='EPSG:25832' > typename='fingerplan17:fp17vf_stationer' > url='http://wfs1.erst.dk:80/fingerplan17/wfs' version='1.0.0' table="" sql= > > *c)* restrictToRequestBBOX='1' srsname='EPSG:25832' > typename='fingerplan17:fp17vf_stationer' > url='http://wfs1.erst.dk:80/fingerplan17/wfs' version='1.1.0' table="" sql= > > *d)* restrictToRequestBBOX='1' srsname='EPSG:25832' > typename='fingerplan17:fp17vf_stationer' > url='http://wfs1.erst.dk:80/fingerplan17/wfs' version='2.0.0' table="" sql=
Hi Morten, From the debug info: Firing: http://wfs1.erst.dk:80/fingerplan17/wfs?SERVICE=WFS&REQUEST=GetFeature&VERSION=2.0.0&TYPENAMES=fingerplan17:test&STARTINDEX=0&COUNT=1&SRSNAME=urn:ogc:def:crs:EPSG::25832: Then your server has troubles serving data without primary key: ../src/core/qgsmessagelog.cpp: 27: (logMessage) [34ms] 2018-10-12T11:43:25 Qt[1] No QgsCoordinateTransformContext context set for transform ../src/providers/wfs/qgswfsfeatureiterator.cpp: 545: (run) [148ms] Got exception java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException java.lang.RuntimeException: java.io.IOException java.io.IOExceptionCannot do natural order without a primary key, please add it or specify a manual sort over existing attributes. Re-trying with paging disabled ../src/core/qgsmessagelog.cpp: 27: (logMessage) [0ms] 2018-10-12T11:43:25 WFS[1] Server generated an exception in GetFeature response: java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException java.lang.RuntimeException: java.io.IOException java.io.IOExceptionCannot do natural order without a primary key, please add it or specify a manual sort over existing attributes ../src/core/qgsmessagelog.cpp: 27: (logMessage) [2ms] 2018-10-12T11:43:26 WFS[1] Retrying request http://wfs1.erst.dk:80/fingerplan17/wfs?SERVICE=WFS&REQUEST=GetFeature&VERSION=2.0.0&TYPENAMES=fingerplan17:test&STARTINDEX=0&COUNT=1&SRSNAME=urn:ogc:def:crs:EPSG::25832: 1/3 ../src/core/qgsgml.cpp: 829: (startElement) [59ms] mEpsg = 25832 ../src/core/qgsproviderregistry.cpp: 437: (createProvider) [2ms] Instantiated the data provider plugin: WFS Then QGIS starst: http://wfs1.erst.dk/fingerplan17/wfs?SERVICE=WFS&REQUEST=GetFeature&VERSION=2.0.0&TYPENAMES=fingerplan17:test&STARTINDEX=0&COUNT=1000000&SRSNAME=urn:ogc:def:crs:EPSG::25832: which, when put in a browser says: Unable to support srsName: urn:ogc:def:crs:EPSG::25832: No authority was defined for code "EPSG:". Did you forget "AUTHORITY:NUMBER"? QGIS is not handling this apparently? As the dialog with 'Load features for layer fingerplan17:test' stays up. Hope this helps a little, Regards, Richard Duivenvoorde _______________________________________________ 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