Opened 14 years ago

Closed 14 years ago

Last modified 11 years ago

#3473 closed defect (fixed)

gdalrasterize is going into an infinite loop when GDALGetCacheMax() returns 0

Reported by: chaitanya Owned by: chaitanya
Priority: normal Milestone:
Component: Algorithms Version: unspecified
Severity: normal Keywords:
Cc:

Description

I noticed this issue when I tried to run_all.py. The test script tiff_write.py sets GDAL cache to 0 in some places and reverts. If there is an error in between the cache is left to 0.

GDALRasterizeLayers() uses this value to set the number of lines to process in a single iteration.

Change History (3)

comment:1 by chaitanya, 14 years ago

Resolution: fixed
Status: newclosed

Fixed gdalrasterize.cpp and the tiff_write.py script in trunk (r19078), 1.7 branch (r19079) and 1.6 branch (r19080).

comment:2 by chaitanya, 14 years ago

Component: defaultAlgorithms

comment:3 by Even Rouault, 11 years ago

Milestone: 1.6.4

Milestone 1.6.4 deleted

Note: See TracTickets for help on using tickets.