John,

The easiest way to make a copy of the table and in that copy use an
update expression where you replace the object with the centroid of the
polygon.
You can create this centroid simply, by using the Centroid function. In
MapBasic this would result in:

Update <mytablename> set Obj = Centroid(Obj)

Hope this helps.

Kind regards,
 
Pieter Ouwerkerk


-----Oorspronkelijk bericht-----
Van: John Nott [mailto:[EMAIL PROTECTED] 
Verzonden: maandag 18 oktober 2004 12:27
Aan: [EMAIL PROTECTED]
Onderwerp: 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.

 



**********************************************************************
De disclaimer van e-mail van de gemeente Velsen vindt u op
The e-mail disclaimer can be found here: 
http://www.velsen.nl/e-maildisclaimer0209.html 

**********************************************************************


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 13743

Reply via email to