Re: [OpenMap Users] creating layer using zcta data from us census

From: Don Dietrick <dietrick@bbn.com>
Date: Wed Jul 30 2003 - 15:58:45 EDT

On Wednesday, July 30, 2003, at 03:48 PM, Adam Russell wrote:

> 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).
>>
>> 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.
>>
>> Hope this helps,
>>
>> - Don
>
>
> Thank you, this is a big help. However, I am using
> SimpleHttpImageServer to get the map image and it is not clear to me
> at what point I can get access to the map's OMGraphicList. Once I can
> do that, however, I think I am basically al set as far as having all
> the information I need for my layer.
> At what point I can get access to the map's OMGraphicList given that I
> am using SimpleHttpImage server to retrieve a map image?
>

I'd create/extend a layer that does what you need on the OMGraphicList
and the DbfTableModel, and if you need it to, have it provide access
methods to have information set or retrieved. Then, you'll have to
extend the SimpleHttpImageServer to have a hook into your layer, by
specifically creating and adding it to its list of layers.

- Don

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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 Wed Jul 30 15:58:55 2003

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