Hi Eric,
Where did you get the DTED? It sounds like some of the parameters in
the file aren't filled in, and the parseInt() calls are choking on white
space. I put some try/catch statements in there for 4.5.x, but I didn't
do it for the coordinate parameters, since I figured at least *those*
would be filled in. I guess we should take a closer look at what parts
of the spec DTED providers may or may not decide to comply with.
- Don
On Friday, August 2, 2002, at 01:29 AM, Eric Vickery wrote:
> I was trying to display some DTED data at 19,000,000 scale and I got
> this
> exception. Anyone have any idea what is going on?
>
> java.lang.NumberFormatException:
> at java.lang.Integer.parseInt(Integer.java:426)
> at com.bbn.openmap.layer.dted.DTEDFrameDSI.<init>(Unknown
> Source)
> at com.bbn.openmap.layer.dted.DTEDFrame.read(Unknown Source)
> at com.bbn.openmap.layer.dted.DTEDFrame.<init>(Unknown Source)
> at com.bbn.openmap.layer.dted.DTEDFrame.<init>(Unknown Source)
> at com.bbn.openmap.layer.dted.DTEDFrameCache.load(Unknown
> Source)
> at
> com.bbn.openmap.layer.util.cacheHandler.CacheHandler.get(Unknown
> Source)
> at com.bbn.openmap.layer.dted.DTEDFrameCache.get(Unknown Source)
> at
> com.bbn.openmap.layer.dted.DTEDCacheHandler.getNextImage(Unknown
> Source)
> at
> com.bbn.openmap.layer.dted.DTEDCacheManager.getRectangle(Unknown
> Source)
> at com.bbn.openmap.layer.dted.DTEDLayer.prepare(Unknown Source)
> at
> com.bbn.openmap.layer.dted.DTEDLayer$DTEDWorker.construct(Unknown
> Source)
> at com.bbn.openmap.util.SwingWorker$2.run(Unknown Source)
> at java.lang.Thread.run(Thread.java:536)
>
> I have look a bit at the DTED source but not enough to begin tracking
> this
> down.
>
> Thanks,
> Eric
>
> --
> [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"]
>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, BBN Technologies, dietrick@bbn.com
10 Moulton Street, Cambridge, MA 02138
617-873-3031 [fax]-2794
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- [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 Fri Aug 2 09:00:13 2002
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT