Graham,
�
I worked this one out a while ago (with a bit of help from Chris Hogan at
MapInfo Australia) and its SOOOO simple once you know - no need for MapBasic
or anything!!
�
Here's how you do it.
1. Open the table in MapInfo. And note the projection of the table (Map >
Options > Projection)
2. Choose from the menu Table > Export to export the table as a DXF file.
3. Change the Save File as Type box to AutoCAD DXF (*.dxf)
4. Choose the location to save the DXF file
5. In the DXF Export Information dialog box, Uncheck "Preserve Multi-Polygon
Regions
as DXF Blocks", Check "Preserve Attribute Data". Click OK
6. Choose from the menu Table > Import
7. Change the File as Type box to AutoCAD DXF (*.dxf)
8. Choose the location of the file, click Open
9. Check "Preserve Attribute Data", Uncheck "Preserve Multi-Polygon Regions
as DXF Blocks", Choose the projection of the file.
You should now have a table containing the multi polygon objects broken down
into separate objects.
�
Chris Perry
Systems Development CoOrdinator
Parks Victoria, Melbourne, Australia
Ph: 61 3 9816 6800
Fax: 61 3 9816 9876
[EMAIL PROTECTED]
�
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, 1 August 1999 0:54
To: [EMAIL PROTECTED]
Subject: MI Splitting polygons
Hi everyone,
�
I have a MapInfo layer containing a large number of records. Most of the
records are single geometric shapes (polygons), but some are comprised of
geographically separate polygons that have been combined into a single
record. I need to be able to split these combined polygons so that in the
resulting table every record in the table represents a single geometric
shape (polygon).
�
Does anyone know how this can be done automatically using mapbasic?� I know
that it can be done interactively, by drawing a shape around a polygon in
the cosmetic layer and using the "Split" command, but I have around 50,000
records in the table and it would take forever to do this manually. Is there
some way of identifying from the .MAP file whether a record consists of more
than one polygon?
�
Graham Smith
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
�
�
�
�
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]