[OpenMap Users] Re: Bug in DTEDFrameCache.getElevation()

From: Greg Jewell <greg17_at_jewell.net>
Date: Wed, 14 Apr 2010 15:35:51 -0400

I see that the problem has been fixed in OpenMap 5 source. Are there plans
to release any more 4.6 fixes?

Thanks again,

On Wed, Apr 14, 2010 at 3:33 PM, Greg Jewell <greg17_at_jewell.net> wrote:

> 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_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Apr 14 2010 - 15:36:05 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:09 EDT