Ticket #2257 (new defect)

Opened 4 months ago

Last modified 3 months ago

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@…

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

bug-srtm.patch Download (0.9 KB) - added by jmichelotb 4 months ago.
Possible patch

Change History

Changed 4 months ago by jmichelotb

Possible patch

Changed 3 months ago by dburken

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.