Re: [OpenMap Users] A couple of newbie questions

From: Don Dietrick <dietrick@bbn.com>
Date: Sun Feb 09 2003 - 09:23:47 EST

Hi Owen,
On Sunday, February 9, 2003, at 01:31 AM, Owen Densmore wrote:

> I just downloaded openmap and am having some startup problems.
> I'm able to start the openmap application using the bin/openmap
> script .. works fine (on my Mac OS X Jaguar system).
>
> But there are a few problems:
> - When I change the mouse to "distance" mode, nothing showes on the
> map when I mouse click and drag. I think a circle and angle line
> should draw, right?

The Distance mode works a little differently. You click, then move the
mouse. The stuff gets drawn without the mouse button down. You can
then click again to set another point, with the angle and current
distance being tracked from the last mouse click, and a running total
distance from the first mouse click.

> - Help fails with the message:
> Exception occurred during event dispatching:
> java.lang.NoClassDefFoundError: edu/stanford/ejalbert/BrowserLauncher
> at com.bbn.openmap.util.WebBrowser.sendTo(Unknown Source)
> ..sounds like its not finding the BrowserLauncher class even though
> classes/openmap/edu/stanford/ejalbert/BrowserLauncher.class exists.

Yeah, that's a bug in the build.xml file. The BrowserLauncher is/gets
compiled but wasn't included in the jar file. It's been fixed for the
next version. You can modify your build.xml file by modifying the
section on creating the openmap.jar file (around line 105) to look like
this:

        <jar jarfile="${openmap.home}/lib/openmap.jar"
             basedir="${openmap.classes}"
             manifest="${openmap.home}/share/manifest.txt"
             includes="openmap.properties,
                       **/*.class,
                       **/*.gif, **/*.png,
                       **/*.properties"
             excludes="${corba.excludes}"/>

> - Finally, I tried to add the etopo package to the system and could
> not
> get it to show up on the layers menu. I tried both a
> ~/openmap.properties
> file w/ just the etopo properties, and adding those to the
> OPENMAP_HOME
> version. Is there some documentation that might help a beginner for
> this?

The ~/openmap.properties file should work and is the easiest. You have
to add a marker name to the openmap.layers property, and then create a
set of properties for that marker name elsewhere in the file.

> Thanks! The systems looks really sweet. I plan to try to do agent
> simulation
> with it, using RePast.

Cool. Let us know how it works out.

Regards,

Don

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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 Sun Feb 9 09:46:32 2003

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