bug in gdallocationinfo
|Reported by:||warmerdam||Owned by:||warmerdam|
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.