Bug report #14666

delimitedtext provider "fills" missing coordinates

Added by Kai Borgolte about 8 years ago. Updated about 8 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Data Provider/Delimited Text
Affected QGIS version:2.14.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:22630

Description

When reading a text file with coordinates, QGIS doesn't complain about missing values in X/Y fields. Instead the values from the previous line are used.

Doing the same in 2.8.2 Wien I get the message "Errors in file C:/Daten/Qgis/xytab.txt 2 records discarded due to missing geometry definitions"

xytab.txt Magnifier - sample text file (83 Bytes) Kai Borgolte, 2016-04-12 06:48 AM

xytab.qgs - sample QGIS file (19.1 KB) Kai Borgolte, 2016-04-12 06:48 AM

Associated revisions

Revision 02e0e3f9
Added by Nyall Dawson about 8 years ago

Fix other feature's geometries are shown instead of null geometry
in delimited text provider (fix #14666)

Add tests, also fix virtual layer, mssql and db2 providers which
suffered the same bug

Revision 6880b53e
Added by Nyall Dawson about 8 years ago

Fix other feature's geometries are shown instead of null geometry
in delimited text provider (fix #14666)

Add tests, also fix virtual layer, mssql and db2 providers which
suffered the same bug

(cherry-picked from 02e0e3f95925356c4da8ed5effa4634e92fd44f8)

History

#1 Updated by Nyall Dawson about 8 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF