Opened 8 years ago

Closed 8 years ago

#6461 closed defect (fixed)

XYZ regression - "too many stepY values" erroneous failure

Reported by: shot2 Owned by: warmerdam
Priority: normal Milestone: 2.0.3
Component: GDAL_Raster Version: 2.0.0
Severity: normal Keywords: XYZ


Bug observed with GDAL 2.1.0beta1 Win32 (from Gisinternals) and SVN-trunk Linux-amd64.

When reading a valid XYZ dataset (see attached minimal example: regularly-spaced X and Y values as float, none missing) various raster utilities e.g. gdalinfo fail with the error message

ERROR 1: Ungridded dataset: At line 10, too many stepY values

This error was not present in the 1.10.x (Ubuntu 14.04) and 1.11.x (GisInternals) releases.

As far as I can tell, it might be related to the introduction of a new stringent StepY=0 test at some point around rev 27401-27409 of xyzdataset.cpp.

Attachments (1) (560 bytes ) - added by shot2 8 years ago.
Minimal XYZ ascii test file

Download all attachments as: .zip

Change History (2)

by shot2, 8 years ago

Attachment: added

Minimal XYZ ascii test file

comment:1 by Even Rouault, 8 years ago

Component: defaultGDAL_Raster
Milestone: 2.0.3
Resolution: fixed
Status: newclosed
Version: svn-trunk2.0.0

trunk r34021, branches/2.1 r34022 (post 2.1.0RC1), branches/2.0 r34023 "XYZ: be more robust to not exactly equal X and Y spacing (#6461)"

Note: See TracTickets for help on using tickets.