Maybe you are looking for the Buffer function
If you have your table (SCANNING) with coordinates and radius in 3 columns, let's call
them X, Y and RADIUS, and you have made your table mappable in the same projection as
your coordinates are stored in, you can use this:
1. Open the MapBasic window
2. Enter this line followed by hitting the ENTER button
Set CoordSys Table SCANNING
3. Now we'll create buffer in your table simply by buffering points in the specified
location. Enter this line followed by hitting the ENTER button
Update SCANNING Set OBJ = Buffer(CreatePoint(X, Y), 24, RADIUS, "m")
Note that the Buffer function reads the buffer width from the RADIUS column and that
it uses the distance unit "m" for meters, You could also specify "mi" for miles etc.
24 specifies how many line segments should be used to describe a circle, can be from
Also note that the CreatePoint() function creates a point at the specified location
read from the X and Y columns.
And finally note that the objects in your table, if any did exist, are now overwritten
by these buffer objects.
HTH,
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
Sidste frist for tilmelding til MapInfo Konferencen er den 6. august 2004.
Tilmelding samt yderligere information kan ses p�: http://www.cowi.dk/GIS
-----Original Message-----
From: Rena Jones [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 27, 2004 4:14 PM
To: [EMAIL PROTECTED]
Subject: MI-L drawing specific circles
I feel as if I've seen this before but I'm not finding what I'm looking for in the
list archives.
I'm doing some cluster mapping. I have X,Y coordinates and a radius which defines a
circular scanning window for each cluster.
Isn't there a tool in MapInfo to draw a circle using X,Y and radius? Simply drawing
using the Ellipse tool around a point is not what I am looking for becuase I need them
to be exact.
Thanks for your help,
RJ
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe,
e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 12746
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 12747