Bug report #20603

QGIS interprets wfs integer value NULL as '0'

Added by Frode Hansen over 5 years ago. Updated about 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Web Services clients/WFS
Affected QGIS version:3.4.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:no timely feedback
Crashes QGIS or corrupts data:No Copied to github as #:28423

Description

Using qgis 3.4.1, when displaying attributes of type INT via WFS 1.1.0 (Geoserver), NULL values is displayed as "0". WFS does not transmit nodes with null values in GML, and qgis should not interpret these as "0". This issue was produced both in qgis 2.18.25 (LTS) and 3.4.1 on different machines here. This issue references #18674, which was closed as not replicable.

snip_20181127080240.png (15.6 KB) Frode Hansen, 2018-11-27 08:02 AM

History

#1 Updated by Giovanni Manghi over 5 years ago

  • Status changed from Open to Feedback

Please provide an URL we can use for tests.

#2 Updated by Frode Hansen over 5 years ago

This is a Geoserver test service: http://82.147.38.116/geoserver/TI_TestWorkspace/wfs?Request=GetCapabilities&typeNames=TI_TestWorkspace:poi_heop2

example. the attribute "type" will show null values as described.

#3 Updated by Giovanni Manghi over 5 years ago

  • Operating System deleted (Windows 8 and Windows 10)
  • Status changed from Feedback to Open

#4 Updated by Even Rouault about 5 years ago

  • Status changed from Open to Feedback

The test URL doesn't respond. Could you make sure the server is properly setup ?

#5 Updated by Giovanni Manghi about 5 years ago

  • Status changed from Feedback to Closed
  • Resolution set to no timely feedback

Closing for lack of feedback.

Also available in: Atom PDF