DTED, RPF woes

From: Jeremy Zacker <jeremy.zacker@lmco.com>
Date: Mon Oct 08 2001 - 17:28:21 EDT

Hello, I am new to OpenMap, so forgive me if this question has been
answered.

I am trying to display DTED and Rpf coverage. I have tried everything I
can think of, but with
no success. When loading DTED, the code seems to work fine (progress
indicator displays,
loading takes time). But no DTED coverage is displayed. I tried to zoom
in on the area so that
the scale was less than 20M, but it did not work. I was also told I
need to use a CADRG projection, but that
didn't work either.

Then with Rpf data, it also seems to load with no problems (no error
messages). But again when I zoom
in on the area, nothing displays.

I have tried both DTED and Rpf using the GUIs provided (Layer.getGUI()),
but that doesn't seem to do anything.
I am sure my data is the correct format and that my paths are correct
Can anyone else make a suggestion, heres my code:

public class OpenMapTest extends JFrame
{
  public OpenMapTest(String[] args)
    {
      super("TEST");
      MapBean mapBean = new BufferedMapBean();

      Projection proj = mapBean.getProjection();
      CADRG cadrg = new CADRG(proj.getCenter(),

proj.getScale(),

proj.getWidth(),

proj.getHeight());
      mapBean.setProjection(cadrg);

      DTEDCoverageLayer dtedLayer = new TestDtedLayer();
      Properties dtedLayerProperties = new Properties();
      dtedLayerProperties.put("dtedcov1.prettyName", "Coverage Solid");
      dtedLayerProperties.put("dtedcov1.paths",
"/raid/MapData/Terrain/DTED1/tcd_dted101/dted");
      dtedLayerProperties.put("dtedcov1.coverageFile",
"/home/zacker/OPENMAP/test.dat");
      dtedLayerProperties.put("dtedcov1.level0.showcov", "true");
      dtedLayer.setProperties("dtedcov1", dtedLayerProperties);

      mapBean.add(dtedLayer);

      RpfLayer rpfLayer = new RpfLayer();
      Properties rpfLayerProperties = new Properties();
      rpfLayerProperties.put("rpf1.paths",
"/cdrom/cdrom0/cib/cib1/rpf");
      rpfLayer.setProperties("rpf1", rpfLayerProperties);

      mapBean.add(rpfLayer);

      MouseDelegator md = new MouseDelegator(mapBean);
      NavMouseMode2 nmm = new NavMouseMode2();
      md.setActiveMouseMode(nmm);

      pack();
      setSize(500, 500);
      setVisible(true);
    }

  static public final void main(String[] args)
    {
      new OpenMapTest(args);
    }
}

--
Jeremy "Slacker" Zacker  -  "BLAH!"
MCS Blk IV
(732) 450-7066
--
[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 Mon Oct 8 17:29:31 2001

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