Another way of achieving the same in one step is:
Create Object As { Buffer | Union | Intersect | Merge | ConvexHull}
From fromtable
[ Into { Table intotable | Variable varname } ]
[ Width bufferwidth [ Units unitname ] ] [Type { Spherical |
Cartesian } ] ]
[ Resolution smoothness ]
[ Data column = expression [ , column = expression . . .
] ]
[ Group By { column | RowID } ]
EG. Paste this to your MapBasic Window:
Set Coordsys Table BankTab
Create Object As Buffer From BankTab Into Table BankBufferTab Width 0.25
Units "miles" Resolution 12 Data ID=ID, Name=Name
This is what MapInfo Buffer does only in earlier versions it did not let you
specify what columns you wanted to carry across in the dialog boxes.
Best regards
Erik
-----Original Message-----
From: Peter Horsb�ll M�ller [mailto:[EMAIL PROTECTED]
Sent: 07 October 2004 07:41
To: Geoff Smith; [EMAIL PROTECTED]
Subject: RE: MI-L Question about Buffers
Try this:
1. Start by making a copy of your table as you will be replacing the exising
objects with the buffer 2. Open the copy 3. In the MapBasic window write the
following followed by ENTER:
Update MYTABLE Set OBJ = Buffer(OBJ, 12, 0.25, "miles")
Replace MYTABLE with the name of your table
12 is the resolution of your buffer indicating the number of nodes in a
circle
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
-----Original Message-----
From: Geoff Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 06, 2004 10:33 PM
To: [EMAIL PROTECTED]
Subject: MI-L Question about Buffers
Is it possible to create buffers around a number of points so that the
buffer polygons retain the point data? Specifically, I have geocoded a
number of bank branches. I want to create a .25 mile buffer around
each. I want these buffer polygons to have the data associated with the
point from which they were created. The buffers I have created appear
to be empty polygons. Any ideas would be appreciated.
Geoff
--
Geoff Smith
Project Director
Woodstock Institute
407 S. Dearborn, Suite 550
Chicago, IL 60605
Phone: 312-427-8070
Fax: 312-427-4007
www.woodstockinst.org
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com | To
unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 13603
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com | To
unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 13614
This message has been scanned for viruses by MailControl - (see
http://bluepages.wsatkins.co.uk/?4318150)
This email and any attached files are confidential and copyright protected.
If you are not the addressee, any dissemination of this communication is
strictly prohibited. Unless otherwise expressly agreed in writing, nothing
stated in this communication shall be legally binding.
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 13618