Re: [OpenMap Users] Re: Problem viewing DTED data

From: Don Dietrick <dietrick@bbn.com>
Date: Tue Jan 07 2003 - 11:48:07 EST

On Tuesday, January 7, 2003, at 01:43 AM, Lee Chun Leong wrote:

>
>> Can you send me a listing of your dted directory contents (plus any
>> subdirectory contents?). The DTEDLayer is expecting:
>
>> dted/[ns]XXX/[ew]YY.dt[01]
>

I'm sorry, I had the ns and ew switched. At least I got the XXX and YY
right. :) My data matches yours, structurally.
Which does bring up what may be wrong - are you setting the layer up to
read level 1 data? The layer looks for level 0 by default.

You probably need to add a line to your program:

dtedLayerProps.put ("level", "1");

after dtedLayerProps is defined, but before it is set on the layer.

You can download DTED level 0 from http://geoengine.nima.mil

- Don

>> which is defined in the DTED specification. I don't think it's a
>> resolution problem.
>
> Hi Don,
>
> Thanks. My dted directory contents listing is as follows:
>
> C:.
> |---bak
> |----classes
> | ----com
> | | ----bbn
> | | ----openmap
> | | ----examples
> | | ----hello
> | ----package cache
> ----data
> | ----dted
> | |
> | ----[w/e]XXX
> |
> |
> ----src
> | |_ SimpleMap.java
> |
> ---- TestMap.jpx (using JBuilder project workspace)
>
> and containing within [we]XXX directory is my dted file which is
> [ns]YY.dt[01/02]
>
> and notice that that mine is different from yours, as you have 3
> digits to [ns] and 2 digits to [ew]. is that correct
> as is au contraire to that specify in the dted specification? anyway
> have tried both variants but still stuck. and also
> does it matter whether the extension is a dt01 or dt1? because
> according to what i see in the spec, it is only dt1
>
> one question, i encounter examples in the OpenMap API that directory
> is specified as e.g. /usr/local/matt/data/dted
> if i am not wrong this is a unix path instead of windows. so it is ok
> that i just specify /data/dted that it will look
> into my current working directory?
>
> perharps a last resort, is it possible to send me your working
> program and a sample dted0 data?(if that is possible). Thanks
>
> Regards
>
> Chun Leong
> --
> __________________________________________________________
> Sign-up for your own FREE Personalized E-mail at Mail.com
> http://www.mail.com/?sr=signup
>
> Meet Singles
> http://corp.mail.com/lavalife
>
> --
> [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 Tue Jan 7 11:48:55 2003

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:34 EDT