[OpenMap Users] DTEDFrameCache

From: Tylee, J L <j.l.tylee_at_boeing.com>
Date: Wed, 9 Jul 2008 11:48:29 -0700

Can anyone provide any sample code to use DTEDFrameCache to provide
single elevation values for a lat/lon pair. I've tried this, but only
get -500 for elevation:

       String[] dtedPaths = {"c:" + File.separator + "dteddata" +
File.separator + "area04", "c:" + File.separator + "dteddata" +
File.separator + "area05"};
        DTEDFrameCache dtedCache = new DTEDFrameCache();
        dtedCache.setDtedDirPaths(dtedPaths);

        int e = dtedCache.getElevation((float) 33.467, (float)
-111.717);

Lou Tylee, PhD
Associate Technical Fellow
Applied Mathematics
Boeing Phantom Works
Cell (206) 930-2698 (Best Number to Call)
Office (425) 373-2684
Home (206) 725-4859


--
[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 Jul 09 2008 - 14:51:22 EDT

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