Hello,

> Hello. I'm trying to extract and save(as dbf or other) the x,y
> coordinates of the nodes for a bunch of tracts. I'm able to
> extract centroids using SQL Select but haven't had any success
> with the nodes. Any suggestions? Thanks.

Extracting nodes is a little more complicated. In the same way CentroidX()
and CentroidY() work, you can use ObjectNodeX() and ObjectNodeY(). The
parameters for both functions are [1] object, [2] polygon or segment number
and finally [3] node number. This is fine for single node queries but you
want to iterate through them all.

You could explore the use of Table>Export to save your data in MIF/MID
format. The MIF file contains lists of coordinates with a short header and
footer. The attribute data is stored in the MID file. With some editing (I
don't know how much data you have and whether this is going to be a regular
task) you could turn it into something which could be imported into Access
or Excel and then exported as DBF.

The best solution would be to write a MapBasic program. It should be a
relatively short program which would not take long to develop and would
perform your task quickly and easily.

Regards,
Warren Vick
Europa Technologies Ltd, U.K.
http://www.europa-tech.com

----------------------------------------------------------------------
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