Bug report #12407

Regression - ASCII XYZ rasters with increasing Y no longer work in 2.8

Added by Kilian Hagemann over 5 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Rasters
Affected QGIS version:2.8.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:20580

Description

In QGIS <2.8 (tested with 2.6.1), both of the attached ascii xyz rasters open and display just fine in the correct place, just off the coast of Cape Town (use UTM zone 34S CRS).

In QGIS 2.8.1, however, only the y_decreasing raster works, the y_increasing version is always anchored at coordinate (0,0) no matter what CRS is assigned to it. According to the GDAL driver specifications (http://www.gdal.org/frmt_xyz.html), both increasing and decreasing Y coordinates are allowed, as long as X is always increasing. However, it seems that some broken VRT magic in QGIS results in a misplacement for any increasing Y coordinate xyz rasters.

test_y_decreasing.xyz (154 Bytes) Kilian Hagemann, 2015-03-19 04:41 AM

test_y_increasing.xyz (154 Bytes) Kilian Hagemann, 2015-03-19 04:41 AM

History

#1 Updated by Nyall Dawson over 5 years ago

  • Resolution set to fixed/implemented
  • Status changed from Open to Closed

Already fixed in master and the 2.8 branch. Will be included in 2.8.2

Also available in: Atom PDF