[OpenMap Users] Bug in DTEDFrameCache.getElevation()

From: Greg Jewell <greg17_at_email.domain.hidden>
Date: Wed Apr 14 2010 - 15:33:03 EDT

Hi All,

I discovered a bug in the
com.bbn.openmap.layer.dted.DTEDFrameCache.getElevation(float lat, float lon)
method. The method iterates backwards on DTED levels to try to determine
the elevation at the point specified. However, the loop counts back from
1. So, if the user loads DTED level 2 data, OpenMap can't determine the
elevation.

In order to work around the problem, I had to subclass DTEDCacheManager,
DTEDCacheHandler, and DTEDFrameCache. Is there an easier way (through
properties or something)?

Thanks,
Greg Jewell

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Apr 14 15:41:52 2010

This archive was generated by hypermail 2.1.8 : Wed Apr 14 2010 - 15:41:53 EDT