Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.28.0 regression with WFS layers not showing any data #50935

Closed
2 tasks done
kommen opened this issue Nov 18, 2022 · 1 comment · Fixed by #50943
Closed
2 tasks done

3.28.0 regression with WFS layers not showing any data #50935

kommen opened this issue Nov 18, 2022 · 1 comment · Fixed by #50943
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Regression Something which used to work, but doesn't anymore WFS data provider

Comments

@kommen
Copy link

kommen commented Nov 18, 2022

What is the bug or the crash?

A project's WFS layer which displays fine in 3.26.3 doesn't display any data when opened with 3.28.0

Steps to reproduce the issue

  1. open this minimal sample project: wfsbug.qgz.zip
  2. try do display the data of the Radabstellanlagen layer in QGIS 3.28.0.

The features of that layer are shown in the Attribute Table, but not on the map. The layer doesn't even have a check box in the Layers panel to show it.

This works fine when opened with QGIS 3.26.3.

Versions

QGIS version 3.28.0-Firenze QGIS code revision ed3ad04
Qt version 5.15.2
Python version 3.9.5
GDAL/OGR version 3.3.2
PROJ version 8.1.1
EPSG Registry database version v10.028 (2021-07-07)
GEOS version 3.9.1-CAPI-1.14.2
SQLite version 3.35.2
PDAL version 2.3.0
PostgreSQL client version unknown
SpatiaLite version 5.0.1
QWT version 6.1.6
QScintilla2 version 2.11.5
OS version macOS 13.0
       
Active Python plugins
QuickOSM 2.1.1
vector_tiles_reader 3.2.2
quick_map_services 0.19.32
splitmultipart 1.0.0
GeoCoding 2.18
qgis2web 3.16.0
mmqgis 2021.9.10
StreetView 3.2
processing 2.12.99
sagaprovider 2.12.99
grassprovider 2.12.99
db_manager 0.1.20
MetaSearch 0.3.6
qgiscloud 3.7.1

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

  • I tried with a new QGIS profile

Additional context

Note: this is my first QGIS bug report, please let me know if the report is incorrect or incomplete in any way.

@kommen kommen added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Nov 18, 2022
@agiudiceandrea agiudiceandrea added Regression Something which used to work, but doesn't anymore WFS data provider labels Nov 19, 2022
pathmapper added a commit to pathmapper/QGIS that referenced this issue Nov 20, 2022
@pathmapper
Copy link
Contributor

pathmapper commented Nov 20, 2022

@kommen thanks for reporting!

This regressed in ec96b49.

The issue is, that with this change for WFS 1.0 there was no GetFeature on one feature anymore to guess the geometry type if we do not know the exact geometry type from DescribeFeatureType:

if ( !mShared->mWFSVersion.startsWith( QLatin1String( "1.0" ) ) &&

Possible fix in #50943.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Regression Something which used to work, but doesn't anymore WFS data provider
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants