Hi John,
The com.bbn.openmap.layer.shape package is the original OpenMap package,
and the com.bbn.openmap.plugin.esri package was submitted by Doug Van
Auken. There are differences between the packages:
1. The com.bnn.openmap.layer.shape package does require the .ssx file
but that's because it uses it to limit which shape file graphics are on
the map, limiting memory use to only what's needed. The plugin package
reads everything in, holds onto it, and lets java take care of clipping
unused graphics off the map. For smaller shape files, I use the plugin.
2. The plugin package has direct support for using the dbf file that
comes with the shp file. The plugin also lets you see the contents of
the dbf file in the plugin layer's palette. Selection of graphics on
the map highlights the table entry, and selection of a table entry
highlights the graphic on the map. The
com.bbn.openmap.layer.shape.areas package will be supporting dbf files
in version 4.5, but not to the extent of the plugin (yet).
3. The plugin package supports output of the dbf, shx and dbf files.
The layer package doesn't.
It would make sense to assume that at some point, the two packages would
be merging together, or at least the common parts of both would be
merged into a one package. I don't see that happening any time soon,
however. If you want to provide the changes you make to either of them,
I'm sure they would get rolled into any changes that happen.
Cheers,
Don
On Saturday, April 13, 2002, at 11:57 AM, John Hoffman wrote:
>
> Hello,
>
> In looking over the openmap javadocs, there are two different
> implementations for esri polygons.
>
> com.bbin.openmap.plugin.esri.EsriPolygon
> and
> com.bbn.openmap.layer.shape.ESRIPoly
>
> Why the difference? I need to make some significant modifications to
> one of these to add labelling of polylines. (see my last message.
> Thanks Dom for the answer, sorry to be so dense, I'm 2 for 2 on obvious
> questions. Your patience is infinite. )
>
> The differences seem to be that the plugin has some modest capabilities
> in handling .dbf files, and shapelayer requires .ssx indexing instead of
> .shx.
>
> Any recommendations as to which one is more "mainline" openmap? I do
> not want to code out on a dead branch.
>
> Thanks
>
> John
>
>
> --
> [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 Sun Apr 14 14:15:58 2002
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:32 EDT