Using the ESRI plugin layer and ScaleFilterLayer

From: Francois Rouaix <francois@rouaix.org>
Date: Wed Jun 26 2002 - 19:22:01 EDT

Hi folks,
I'm having some issues using the EsriLayer class
The following properties file does not work (doesn't
display park boundaries correctly). However
if I switch the class definition to use EsriPlugin,
(see commented line) then it works.
Now the problem is I want this layer to be used in
a ScaleFilterLayer. If I use EsriPlugin, I get an out of
bound array acces in parseScales, apparently due to the
fact that EsriPlugin is not an instance of Layer so it doesn't
get added to the layer list of the ScaleFilterLayer object
during its contruction.

Am I confused in the usage of the EsriPlugIn, or is
that a bug in the ScaleFilterLayer (or both) ?

usparks.class=com.bbn.openmap.plugin.esri.EsriLayer
# usparks.class=com.bbn.openmap.plugin.esri.EsriPlugIn
usparks.prettyName=US Parks
usparks.shp=file:///usr/local/openmap/share/data/park/park.shp
usparks.shx=file:///usr/local/openmap/share/data/park/park.shx
usparks.dbf=file:///usr/local/openmap/share/data/park/park.dbf
usparks.lineColor=ff000000
usparks.fillColor=ffff0000

NB: the park boundaries shape files are available from bts.gov

--f
François Rouaix
(310) 316 9529

--
[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 Wed Jun 26 19:22:24 2002

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