Opened 12 years ago

Last modified 12 years ago

#2257 new defect

ossimElevationDatabase does not cache state of unexisting files

Reported by: jmichelotb Owned by: sbortman
Priority: normal Milestone: OSSIM 2.0
Component: Performance and Stability Version: OMAR 1.8.8
Severity: normal Keywords:
Cc: mathieu.velten@…; julien.malik@…

Description

In ossimElevationDatabase, line 116 (http://trac.osgeo.org/ossim/browser/trunk/ossim/src/ossim/elevation/ossimElevationDatabase.cpp)

If the evelation cell file does not exist on the filesystem, the status is not recorded in cache, and the unkown file may be looked up each time elevation is requested, leading to filesystem overload.

See possible patch attached.

Attachments (1)

bug-srtm.patch (889 bytes ) - added by jmichelotb 12 years ago.
Possible patch

Download all attachments as: .zip

Change History (2)

by jmichelotb, 12 years ago

Attachment: bug-srtm.patch added

Possible patch

comment:1 by dburken, 12 years ago

Holding on this. Concerns:

If a cell is added it won't be picked up without a restart of the manager. Perhaps use a time tick. Talked to Garrett about this and he has some ideas.

Note: See TracTickets for help on using tickets.