Hi Vairoj,
You can still use the EsriPlugIn's API for data access without display.
The DbfTableModel is the object that holds the attribute data, and the
OMGraphicList holds the geometries. You can sift through the values in
the DbfTableModel, note the index of the valid results, then get those
entries on the list.
- Don
On Sunday, July 20, 2003, at 11:24 PM, Vairoj Arunyaangkul wrote:
> Hello,
>
> Thank you Don. Howerver, the application we are developing needed to
> access
> the data on the shapefile just for internal calculation. It means that
> we do
> not display map GUI for the client (for this part). How to query the
> data on
> the shapefile from the API?
>
> Regards,
> Vairoj
>
> ----- Original Message -----
> From: "Don Dietrick" <dietrick@bbn.com>
> To: "Vairoj Arunyaangkul" <va@waveman.com>
> Cc: <openmap-users@bbn.com>
> Sent: Sunday, July 20, 2003 6:56 AM
> Subject: Re: [OpenMap Users] Query shapefile
>
>
>> Hi Vairoj,
>>
>> The best way to do this is to start with the
>> com.bbn.openmap.plugin.esri.EsriPlugIn. The plugin is already set up
>> to react to mouse events over geometries, and to find the
>> cooresponding
>> entry in the dbf file (which has been loaded into the DbfTableModel
>> object). If you have the table visible (via the palette) you'll see
>> your selection highlighted.
>>
>> In case you are wondering, you can add PlugIns to the OpenMap
>> application the same way you add layers - add an entry to the
>> openmap.layers property of the openmap.properties file.
>>
>> Hope this helps,
>>
>> Don
>>
>>
>> On Friday, July 18, 2003, at 07:02 AM, Vairoj Arunyaangkul wrote:
>>
>>> Hello,
>>>
>>> I'm just start using OpenMap. What I want to do is to query the
>>> geometry
>>> (ie. point, polyline, polygon) from shapefiles base on their
>>> attribute
>>> values. How could I achieve this using OpenMap?
>>>
>>> Regards,
>>>
>>> Vairoj Arunyaangkul
>>> Infowave (Thailand) Co., Ltd.
>>> va@waveman.com
>>> Tel: +66.2.654.3550
>>> Fax: +66.2.654.3555
>>> http://www.waveman.com
>>>
>>>
>>> --
>>> [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 Mon Jul 21 18:53:01 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT