[OpenMap Users] Bug in DTEDFrameCache.getElevation()

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

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:33:58 EDT

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