I was looking for a command to take region objects and convert them to
Point or Symbols. I found the solution on the MapInfo Products Knowledge
Base. I do not know what I am doing wrong but I get the message "Numeric
Values required" This is what I am typing in:

update RushCreek-LV-Poole-Poles-UTMz11 set obj =
createpoint(centroidX(obj), centroidY(obj))

Below is a copy of the write up on the the MapInfo Products Knowledge Base
What am I doing Wrong?

Product: MapInfo
Version: 4.x\5.x\6.x
Platform: Not Platform Related
Category: Table Operations

Summary:
Converting table of region objects to a table of points.

Question:
How can a table of points be created from a table of region objects for use
in a thematic map?

Answer:
Start with a copy of the region objects table as the region objects will be
removed by converting them to points. After copying, open up the copy of
the table and display the MapBasic Window. Type in the following command
and press enter:

update <tablename> set obj = createpoint(centroidX(obj), centroidY(obj))

This will now convert the regions to their geographic centroids (points)
which can be saved and used as a point table for thematic mapping, etc.

Last Modified: 03/30/2001 10:30:57 AM

Gary W. Talbott
Technical Specialist
Real Estate Sales & Service Mapping & GIS
Corporate Real Estate
Work:     (714) 895-0571   FAX (714) 895-0593
PAX: 54571     FAX: 54593
For Work Requests:
http://edna.sce.com/map/gisrequest.shtml



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to