First, thanks to those people who sent useful suggestions a couple of
months ago - when we have everything worked out we'll publish a summary.

We're still having trouble with selecting features and making new
layers at acceptable speeds, but more significantly our problem is now to
attach attribute data to selections of features (we can do it fine for a
whole table).

My understanding is as follows:

Layer.Add basically adds the graphical objects (.map file etc.) in a
MapInfo table to the map component, but not the textual (attribute) data
held in the .dat or .dbf file.

Datasets.Add binds the attribute data to the graphical objects, making
them behave like a MapInfo table. The behaviour of the binding can be
controlled with a BindLayer object.

Binding is very straightforward if you are simply binding the attribute
data from a MapInfo table with the graphical objects in the same table -
no need to specify a bindlayer object, it just does a 1:1 bind.

Binding is relatively straightforward if you have X and Y coordinate data
- you just specify reference columns.

Our problem is that we have performed a query to create a _feature
collection_. We then add this feature collection to a (new) map layer.
Following from what I've said above, all that goes across is the graphical
objects devoid of their attrribute data, so now we need to bind the
attribute data.

QUESTION: How do we bind the attribute data for the selected features
(which are polygons, not points) to the graphical objects in the feature
collection/new file?

Any help would be appreciated.

Regards

Ian Johnson

========================================================================
Ian Johnson  [[EMAIL PROTECTED]]
Director, Archaeological Computing Laboratory
Senior Research Fellow, School of Archaeology, 
A14 University of Sydney NSW 2006, Australia

http://www.archaeology.usyd.edu.au/
+61 2 9351 3142 tel
+61 2 9351 6392 fax


----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to