RE: [OpenMap Users] DTED

From: Andrew Schulak <aschulak_at_gestalt-llc.com>
Date: Thu, 8 Jul 2004 13:49:19 -0400

Rockstar! Thank you everyone for your help!

> -----Original Message-----
> From: Don Dietrick [mailto:dietrick_at_bbn.com]
> Sent: Thursday, July 08, 2004 12:44 PM
> To: Andrew Schulak
> Cc: openmap-users_at_bbn.com
> Subject: Re: [OpenMap Users] DTED
>
>
> Hi Andrew,
>
> On Jul 8, 2004, at 12:31 PM, Andrew Schulak wrote:
>
> > So basically I have this:
> >
> > Properties dtedProps = new Properties();
> > dtedProps.put("openmap.layers","jdted");
> > dtedProps.put("openmap.startUpLayers","jdted");
> > dtedProps.put("jdted.paths","C:/dev/eclipse/workspace/UX/client/
> > release/
> > dted");
> > dtedProps.put("jdted.opaque","255");
> > dtedProps.put("jdted.number.colors","216");
> > dtedProps.put("jdted.level","1");
> > dtedProps.put("jdted.contrast","3");
> > dtedProps.put("jdted.view.type","5");
> > dtedProps.put("jdted.band.height","25");
> > dtedProps.put("jdted.min.scale","20000000");
> > //dtedProps.put("dted.min.scale","0");
> > dtedProps.put("jdted.class","com.bbn.openmap.dted.DTEDLayer");
> > dtedProps.put("jdted.kill.cache","true");
> > DTEDLayer dtedLayer = new DTEDLayer();
>
> You've scoped the properties above with the jdted keyword, but you
> didn't tell the layer to notice that:
>
> > dtedLayer.setProperties(dtedProps);
>
> Should be:
>
> dtedLayer.setProperties("jdted", dtedProps);
>
> Or you can remove the "jdted." from the properties above.
>
> Make sure you zoom in closer than your minimum scale, over your data.
>
> - Don
>
>
> > dtedLayer.setVisible(true);
> > mapHandler.add(dtedLayer);
> >
> > And nothing is showing up. I verified that the .dt1 file is valid
> > using the info in Don's post.
> >
> > The /dted directory is /dted/w084/n34.dt1
> >
> > Thanks all,
> > Andrew
> >
> > -----Original Message-----
> > From: Catania, Luke A ERDC-TEC-VA
> > [mailto:Luke.A.Catania_at_erdc.usace.army.mil]
> > Sent: Thursday, July 08, 2004 11:50 AM
> > To: Andrew Schulak; openmap-users_at_bbn.com
> > Subject: RE: [OpenMap Users] DTED
> >
> >
> > None. Just add to the properties file and change the paths
> to match
> > where your dted file is and make sure your .dt1 is in a
> structure that
> > resembles the DTED directory structure. That is, make sure
> it is in a
> > directory structure such as:
> >
> > C:\Data\DTED1\dted\e000
> >
> > where:
> >
> > \e00\ is the longitude directory and is required.
> >
> > Add it to the layers and startUpLayers property.
> >
> > openmap.layers= jdted
> > openmap.startUpLayers= jdted
> >
> > and the have something such as below with changes as appropriate to
> > your
> > path:
> >
> > ### Java DTED properties
> > jdted.class=com.bbn.openmap.layer.dted.DTEDLayer
> > jdted.prettyName=DTED1
> > # This property should reflect the paths to the DTED level
> 0 and 1 #
> > directories. These levels can be combined.
> > jdted.paths=C:/Data/DTED1/dted # DTED Level 2 data!
> > jdted.level2.paths=
> > # Number between 0-255: 0 is transparent, 255 is opaque
> > jdted.opaque=255
> > # Number of colors to use on the maps - 16, 32, 216
> > jdted.number.colors=216
> > # Level of DTED data to use on startup (0, 1, 2)
> > jdted.level=1
> > # Type of display for the data on startup
> > # 0 = no shading at all
> > # 1 = greyscale slope shading
> > # 2 = band shading, in meters
> > # 3 = band shading, in feet
> > # 4 = subframe testing
> > # 5 = elevation, colored
> > jdted.view.type=5
> > # Contrast setting on startup, 1-5
> > jdted.contrast=5
> > # height (meters or feet) between color changes in band shading on
> > startup
> > jdted.band.height=25
> > # Minumum scale to display images. Larger numbers mean
> smaller scale,
> > # and are more zoomed out.
> > jdted.min.scale=200000000
> > jdted.cacheSize=40
> > jdted.kill.cache=true
> >
> > Luke
> > -----Original Message-----
> > From: Andrew Schulak [mailto:aschulak_at_gestalt-llc.com]
> > Sent: Thursday, July 08, 2004 10:49 AM
> > To: openmap-users_at_bbn.com
> > Subject: [OpenMap Users] DTED
> >
> >
> > Hey all, I have a .dt1 map file I need to view. What would be the
> > minimal amount of code to setup this layer and view it?
> >
> > Thanks for helping a newbie,
> > Andrew
> > --
> > [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"]
> >
> >
>
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Don Dietrick, dietrick_at_bbn.com
> BBN Technologies, Cambridge, MA
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>
--
[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 Thu Jul 08 2004 - 13:49:43 EDT

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