Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#4181 closed defect (fixed)

bug in gdallocationinfo

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone:
Component: Utilities Version: 1.8.0
Severity: normal Keywords: gdallocationinfo


Dear Frank,

I just had a look at gdallocationinfo. There is a little bug which prevents handling further queries when reading data from stdin after a point outside the current data set was encountered. In gdal-1.8.0/apps/gdallocationinfo.cpp line 398 clears the band list. This list, however, is required in subsequent runs of the loop starting at line 337. Just deleting line 398 suffices.

Change History (2)

comment:1 Changed 5 years ago by warmerdam

  • Milestone set to 1.8.2
  • Resolution set to fixed
  • Status changed from new to closed

The problem has been correct in 1.8 (r22853) and trunk (r22854).

comment:2 Changed 4 years ago by rouault

  • Milestone 1.8.2 deleted

Milestone 1.8.2 deleted

Note: See TracTickets for help on using tickets.