Bug report #19801

WFS not working at all

Added by Willem Buitendyk over 5 years ago. Updated about 5 years ago.

Status:Open
Priority:High
Assignee:-
Category:Web Services clients/WFS
Affected QGIS version:3.2.2 Regression?:Yes
Operating System:MacOs 10.13.6 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:27626

Description

Upgraded to 3.2.2 on Mac. WFS is completely non-responsive using WFS 1.1 or WFS 2.0. Error coming back is:

Server generated an exception in GetFeature response: org.opengis.referencing.NoSuchAuthorityCodeException: No authority was defined for code "". Did you forget "AUTHORITY:NUMBER"?

In addition I'm also seeing that upon initially loading the canvas is truncated. Opening python console or messages console, resizing and then closing allows the canvas to snap to entire screen.


Related issues

Related to QGIS Application - Bug report #21441: Multiple issues and deadlocks with WFS Open 2019-03-01

History

#1 Updated by Willem Buitendyk over 5 years ago

WFS Error: "Did you forget "AUTHORITY:NUMBER"?" was related to a bad EPSG on geoserver.

However, WFS still loads incredibly slowly or not at all compared to 2.14. The geoserver connection I am using is drawing from a postgis backend which may be part of the problem, yet I did not have this problem on 2.14

#2 Updated by Giovanni Manghi over 5 years ago

  • Status changed from Open to Feedback
  • Regression? changed from No to Yes

Can you share the service URL? Thanks.

#3 Updated by Willem Buitendyk over 5 years ago

Unfortunately I can't as our WFS server is private data. I will try to find some other large public WFS datasets to see if there is any difference.

#4 Updated by Willem Buitendyk over 5 years ago

I've made some progress. An old EPSG code was causing some issues so I changed it from 4030 to 4326. WFS 1.1 works somewhat. WFS 2.0 does not work at all. It all works on Windows but WFS 2.0 is very slow compared to WFS 1.1.

Here is my wild guess - it has something to do with the pop-up progress bar and large datasets.

No doubt though on either Windows or Mac, WFS is much much slower.

#5 Updated by Giovanni Manghi over 5 years ago

  • Subject changed from WFS not working at all. Canvas not fully sized on new instance of QGIS to WFS not working at all

The canvas size issue on macOS is known and was already filed in a different ticket.

#6 Updated by Giovanni Manghi over 5 years ago

Willem Buitendyk wrote:

I've made some progress. An old EPSG code was causing some issues so I changed it from 4030 to 4326. WFS 1.1 works somewhat. WFS 2.0 does not work at all. It all works on Windows but WFS 2.0 is very slow compared to WFS 1.1.

Here is my wild guess - it has something to do with the pop-up progress bar and large datasets.

No doubt though on either Windows or Mac, WFS is much much slower.

I'm testing a Mapserver (sorry no Geoserver here) that publishes layers with millions of features, and can't see any particular slowdown compared to 2.18 (Linux here).

A test service URL that shows the issue for you is really necessary in order to be able to diagnose/troubleshoot the problem.

#7 Updated by Willem Buitendyk over 5 years ago

Giovanni Manghi wrote:

Willem Buitendyk wrote:

I've made some progress. An old EPSG code was causing some issues so I changed it from 4030 to 4326. WFS 1.1 works somewhat. WFS 2.0 does not work at all. It all works on Windows but WFS 2.0 is very slow compared to WFS 1.1.

Here is my wild guess - it has something to do with the pop-up progress bar and large datasets.

No doubt though on either Windows or Mac, WFS is much much slower.

I'm testing a Mapserver (sorry no Geoserver here) that publishes layers with millions of features, and can't see any particular slowdown compared to 2.18 (Linux here).

A test service URL that shows the issue for you is really necessary in order to be able to diagnose/troubleshoot the problem.

Yes fair enough. I will have to try map server with the postgis backend. In the meantime I've started moving all of my datasets to postgis directly as it seems to be faster and have given up on WFS. For whatever reason that alludes me my geoserver, serving postgis data doesn't work with QGIS 3. It still works fine with QGIS 2. Strange.

#8 Updated by Giovanni Manghi over 5 years ago

Yes fair enough. I will have to try map server with the postgis backend. In the meantime I've started moving all of my datasets to postgis directly as it seems to be faster and have given up on WFS. For whatever reason that alludes me my geoserver, serving postgis data doesn't work with QGIS 3. It still works fine with QGIS 2. Strange.

that could be very well a QGIS 3 issue and means that must be fixed, yet is difficult to find the issue without having the necessary environment/scenario to test.

#9 Updated by Paolo Cavallini about 5 years ago

Any test case available?

#10 Updated by Giovanni Manghi about 5 years ago

#11 Updated by Giovanni Manghi about 5 years ago

This is likely a duplicate of #21441

#12 Updated by Giovanni Manghi about 5 years ago

  • Status changed from Feedback to Open

Also available in: Atom PDF