Hi Steve,
The dbf file doesn't contain any information about where the attributes
go. You have to use the shp file for that. The order matches up
between the files. Look at the com.bbn.openmap.plugin.esri.EsriPlugIn
for an example of using both files. While that plugin doesn't really
display the contents of the dbf file, it does access the information
from it for a particular OMGraphic being moused over and you can use
that information to create OMText objects (or any other object you want
to represent that attribute).
I'd get the layer/plugin working in the application first, since that's
easier to debug, and then just stick those properties for your
layer/plugin in the properties file for your MapRequestHandler after
it's working.
- Don
On Apr 20, 2004, at 3:17 AM, Steve Pang wrote:
> Hi everybody, I am using maprequesthandler with a
> openmap properties file to produce a map image from
> shp files. I am wondering can I add this line to the
> properties file:
>
> layer.dbfFile=c:\......
>
> to display all attributes in the dbf file in the map?
>
> If it can't be implemented in this way, how can I
> display attributes within a dbf file?
>
> Thank you for your help and attention.
>
> Steve
>
> _________________________________________________________
> 必殺技、飲歌、小星星...
> 浪漫鈴聲 情心連繫
> http://us.rd.yahoo.com/evt=22281/*http://ringtone.yahoo.com.hk/
> --
> [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"]
>
-- [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 Sat Apr 24 11:04:11 2004
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:38 EDT