Ticket #2191 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

ASCII Surfer files (GSAG) read upside down

Reported by: ReedC Assigned to: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords:
Cc:

Description

Golden Surfer ASCII grid files are being read in upside down. The file format specifies that the file should be defined with data organized in rows starting at Y min and progressing to Y max, but GDAL is reading it assuming that the data is organized from Y max to Y min.

See: http://www.risoe.dk/vea/projects/nimo/WEngHelp/FileFormatofGRD.htm for details on the file format.

Attachments

gsagdataset.cpp (49.9 kB) - added by ReedC on 02/08/08 15:36:53.
Fix for this bug and #1616

Change History

02/03/08 17:07:03 changed by rouault

#1616 is a duplicate of this one

02/08/08 15:36:53 changed by ReedC

  • attachment gsagdataset.cpp added.

Fix for this bug and #1616

02/08/08 15:37:08 changed by ReedC

Attached file fixes this driver, as well as solves the final issues in #1616.

02/21/08 12:22:41 changed by ReedC

  • status changed from new to closed.
  • resolution set to fixed.

This was corrected in changeset (r13776). See #2224 for full details.