Opened 12 years ago

Closed 12 years ago

Last modified 10 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 by warmerdam, 12 years ago

Milestone: 1.8.2
Resolution: fixed
Status: newclosed

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

comment:2 by Even Rouault, 10 years ago

Milestone: 1.8.2

Milestone 1.8.2 deleted

Note: See TracTickets for help on using tickets.