Sure,
Make a copy of your table and open this copy
In the MapBasic window enter thsi line followed by ENTER:
Update MYTABLE Set OBJ = Centroid(OBJ)
Replace MYTABLE with the name the copy of your table
Peter Horsb�ll M�ller
GIS Developer
Geographical Information & IT
COWI A/S
Odensevej 95
DK-5260 Odense S.
Denmark
Tel +45 6311 4900
Direct +45 6311 4908
Mob +45 5156 1045
Fax +45 6311 4949
E-mail [EMAIL PROTECTED]
http://www.cowi.dk/gis
-----Original Message-----
From: John Nott [mailto:[EMAIL PROTECTED]
Sent: Monday, October 18, 2004 12:27 PM
To: [EMAIL PROTECTED]
Subject: MI-L Extracting Polygon Centroids
Hi All!!,
I have a couple of hundred polygons and I need to calculate drivetimes to their
centroids. Problem is I haven't got their centroids. Is there a way of calculating the
centroids and outputting them as a list of points but maintaining the attributes of
the polygons??
Thanks for all your help,
- john
John Nott
Consultant/GIS Analyst
ROGER TYM & PARTNERS
Fairfax House, 15 Fulwood Place, London, WC1V 6HU
t 020 7831 2711
f 020 7831 7653
e [EMAIL PROTECTED]
w www.tymconsult.com
The information in this email is confidential. It may also be legally privileged. It
is intended only for the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy, circulate or
in any other way use or rely upon the information contained in this email. Such
unauthorised use may be unlawful. If you have received this email in error, please
reply immediately to this effect and delete it (and all copies) from your system (with
thanks). This message and any attached files have been scanned for the presence of
computer viruses. However, you are advised that you open any attachment at your own
risk.
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 13742