Don Dietrick wrote:
> Hi Adam,
>
> You have to use the contents of the dbf file to find the field your
> are interested in, and then note the record number - that record
> number corresponds to the index of the shape geometry from the shp
> file. You can use the OMGraphicList and get that OMGraphic with that
> index (there may be a off by one situation there).
Just in case someone else in the universe is interested in this: there
is actually an "off by two error" with the zcta files from the US
census(http://www.census.gov/geo/www/cob/bdy_files.html) in that there
is an off by one error just as Don said but you also have to allow for a
header row at the top of the file.
>
>
> The com.bbn.openmap.plugin.esri.EsriPlugIn does this with the
> DbfTableModel and the OMGraphicList, using MouseEvents to select
> records in the table GUI when something on the map is clicked. If you
> click on a table entry the map graphic will highlight. That same
> mechanism will work for you.
>
>>
-- [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 Thu Jul 31 11:44:05 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT