Hello,
Can you run the com.bbn.openmap.dataAccess.dted.DTEDFrame class directly on the frame file you think is giving you trouble? It should print out the attributes and display that frame, and is a good test to see if the data is valid. The DSI is a section of the frame file, and the error below is saying the parser is not finding numbers where expected.
> java -cp openmap.jar com.bbn.openmap.dataAccess.dted.DTEDFrame <path to file>
Is the layer displaying any of the frames?
-Don
On Jun 18, 2010, at 1:25 AM, subratkrsethi_at_bel.co.in wrote:
> Hi,
>
> I am trying to read dted level 1 data
> after putting file in \e074\n34.dt1 as per openmamp program procedure.
> All files are loaded when openmap program run.
> but it give exception error from the following file
>
> DTEDFrameDSI.java
>
>
> *** ERROR ***
> DTEDFrameDSI: Number format error!
> java.lang.NumberFormatException: For input string: "
> *************
> Exception in thread "Thread-247" java.lang.NumberFormatException: For input string: "I*"
> at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1224)
> at java.lang.Float.valueOf(Float.java:388)
> at com.bbn.openmap.layer.dted.DTEDFrameUtil.stringToLon(DTEDFrameUtil.java:91)
> at com.bbn.openmap.layer.dted.DTEDFrameUHL.<init>(DTEDFrameUHL.java:59)
> at com.bbn.openmap.layer.dted.DTEDFrame.read(DTEDFrame.java:186)
> at com.bbn.openmap.layer.dted.DTEDFrame.<init>(DTEDFrame.java:148)
> at com.bbn.openmap.layer.dted.DTEDFrame.<init>(DTEDFrame.java:128)
> at com.bbn.openmap.layer.dted.DTEDFrameCache.load(DTEDFrameCache.java:257)
> at com.bbn.openmap.layer.util.cacheHandler.CacheHandler.get(CacheHandler.java:105)
> at com.bbn.openmap.layer.dted.DTEDFrameCache.get(DTEDFrameCache.java:216)
> at com.bbn.openmap.layer.dted.DTEDCacheHandler.getNextImage(DTEDCacheHandler.java:355)
> at com.bbn.openmap.layer.dted.DTEDCacheManager.getRectangle(DTEDCacheManager.java:341)
> at com.bbn.openmap.layer.dted.DTEDLayer.prepare(DTEDLayer.java:607)
> at com.bbn.openmap.layer.dted.DTEDLayer$DTEDWorker.construct(DTEDLayer.java:280)
> at com.bbn.openmap.util.SwingWorker$2.run(SwingWorker.java:127)
> at java.lang.Thread.run(Thread.java:619)
> BUILD SUCCESSFUL (total time: 30 seconds)
>
>
>
> Confidentiality Notice
>
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of
> the addressee(s) and may contain confidential or privileged
> information. If you are not the intended recipient, please notify
> the sender at Bharat Electronics or support_at_bel.co.in immediately
> and destroy all copies of this message and any attachments.
>
> --
> [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"]
--
[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 Fri Jun 18 2010 - 09:12:56 EDT