Hello there,
I'm very impressed with the capabilities of OpenMap, thanks to all involved.
However, have a problem I've been trying for a few hours to fix to no
avail.
I've been trying to get an applet to load a shapefile defined in the
openmap.properties file as an EsriPluginLayer.
I copied the demo applet and openmap.properties file and defined in the
properties file a shapefile for the applet to load from the server.
This works as the esriPluginLayer when the applet is run locally but not
when it is run on the server. It does work as a ShapeLayer when run from the
server.
This is the error when trying to load the EsriPluginLayer on the server.
*** ERROR ***
PropUtils: AccessControlException trying to access data/shape/cfp.shp
*************
Despite the shapefile not displaying, 'show data table' will display the dbf
file fine.
Text added to the properties file :
cfp.class = com.bbn.openmap.plugin.esri.EsriPlugIn
cfp.prettyName = CFP
cfp.shp=data/shape/cfp.shp
cfp.dbf=data/shape/cfp.dbf
cfp.shx=data/shape/cfp.shx
#test loading as shapeLayer rather than esriPluginLayer
cfp2.class=com.bbn.openmap.layer.shape.ShapeLayer
cfp2.prettyName=CFP2
cfp2.shapeFile=data/shape/cfp.shp
cfp2.spatialIndex=data/shape/cfp.ssx
Any suggestions appreciated,
Thanks,
Andy
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Sun Mar 04 2007 - 10:51:53 EST