We've released version 4.2 of OpenMap(tm) at
OpenMap is open source software. New for this release:
* Added the com.bbn.openmap.io package, and moved all the I/O
classes from com.bbn.openmap.util into it. BinaryFile was also
reworked. This is BIG news. BinaryFile now uses a new InputReader
class to access data files, instead of using a RandomAccessFile object.
There are three new InputReaders: FileInputReader, JarInputReader, and
StreamInputReader. A BinaryFile (and the BinaryBufferedFile) can be
used to access a local file, a file contained in a jar file, or a URL.
The constructor for a BinaryFile takes a string argument which
can be an absolute path to a file, a relative path to a file, or a URL.
The BinaryFile will use the CLASSPATH to find the file for a relative
path. If the file can be found on the local file system, a
FileInputReader (RandomAccessFile) will be used internally. If the file
is found in a jar file (the path from the internal root of the jar
should be used), the JarInputReader will be used. For paths starting
with 'http:', the StreamInputReader will be used.
The Shape, RPF, VPF and DTED packages have all been modified to
use the BinaryFile, and this data can now be accessed in a variety of
ways.
There are some issues: Windows users have to use forward
slashes in their paths (/), even for local files. We're still trying to
figure out how to get applets to use data stored in a separate jar file
in the codebase - but unpackaged data in the codebase works. Some
packages may need to be optimized for better network performance - they
were written for random access, so they may not be so efficient when it
comes to dealing with streams.
* Added the com.bbn.openmap.plugin package, replacing the
com.bbn.openmap.layer.plugin package. Plugins have been redefined, and
are the easiest way to get data on the map. Plugins must implement the
com.bbn.openmap.plugin.PlugIn interface, but classes that extend the
AbstractPlugIn can provide data with only one method being written -
that method takes a projection and provides an OMGraphicList. PlugIns
are an object that hook up to a PlugInLay that needs an OMGraphicList.
PlugIns can be written to receive MouseEvents and/or provide a GUI, and
they can work with the BeanContext to contact other objects in the
application.
* Modified the actions of the OMDrawingTool. When
edits/creations are completed on the graphic, clicking on the map brings
up a popup menu with options on what to do with the graphic.
* Fixed the LLXY projection, which happens to be the SRS EPS
4326 projection that can be used with a OGC Web Map Server.
* Updated the LayerUtils.getResourceOrFileOrURL method, so it
doesn't break on Windows file URL pathnames.
* ProfileGenerator in the TerrainLayer has been updated to
display the profile image in a JFrame, instead of trying to create a
temporary file to send to the browser. You lose the ability to save the
image this way, but it makes the layer compatible with any environment
OpenMap is running in.
* Int the RPF package: Fixed bug in MakeToc that wouldn't let
you create a A.TOC from multiple RPF directories. Commented out the
code that checks for updated RPF directories. With the inclusion of the
new BinaryFile code, this gets to be really cumbersome. This will be
replaced soon with enchanced RPF directory management.
* Fixed a bug in the LocationLayer so that MouseMoved events get
passed through if they aren't consumed.
* Added methods to DTEDFrame so you can ask it for an image of
its contents without the DTEDCacheHandler in the way. Also, if you run
DTEDFrame on a frame file, it will bring up a window with that image of
the data inside.
* Created the com.bbn.openmap.proj.Length class, which provides
a class standard for Length units, and coversion methods between a given
unit type and radians. Modified the MouseModes, OMGraphics and Link
package to use the Length class.
* Modified the PropertyHandler to look for the given properties
file in the CodeBase when running in an Applet environment. This only
happens if it hasn't found any properties elsewhere.
* Modified the Windows environment to use the XWindowsWorkaround
algorithm for pre-clipping OMGraphics, which gets rid of the zoom-in
delay on vector graphics.
See http://openmap.bbn.com/com/bbn/openmap/ChangeLog for a complete list
of changes.
OpenMap is a JavaBeans-based toolkit for building applications and
applets needing geographic information. Using OpenMap components, you
can access data from legacy applications, in-place, in a distributed
setting. At its core, OpenMap is a set of Swing components that
understand geographic coordinates. These components help you show map
data and help you handle user input events to manipulate that data.
OpenMap is a trademark of BBNT Solutions LLC (a part of Verizon).
-----
See http://openmap.bbn.com for OpenMap(tm) info.
Use openmap@spam_me_not.bbn.com for OpenMap qestions.
Remove the "spam_me_not." part first!
-- [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 Jun 19 21:51:54 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT