Opened 24 years ago
Last modified 24 years ago
#5 closed defect (fixed)
GXF open fails for files with more ROWs than POINTs
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
in gdal/frmts/gxf/gxfopen.c routine GXFGetRawScanline you have /* -------------------------------------------------------------------- */ /* Validate scanline. */ /* -------------------------------------------------------------------- */ if( iScanline < 0 || iScanline >= psGXF->nRawXSize ) Shouldn't the scanline be tested against nRawYSize instead of X? What I'm seeing is a failure here because my file is taller than it is wide so when gdal_translate tries to read the row past nRawXSize it returns an error.
Note:
See TracTickets
for help on using tickets.