RE: MI-L too many maps into 1 map

2005-10-06 Thread David Reid
Use caution appending or merging these files together. From my experience,
the different tables created from dwg's during conversion have different MBR
or Coordsys Bounds. When two tables of different mbr are combined, any data
from one, outside the bounds of the other will be truncated and rendered
useless if care is not taken.

There's surely a solution for this, but I've yet to come across such.

HTH
Dave


-Original Message-
From: Juan José Del Toro Madrueño [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 06, 2005 10:30 PM
To: mapinfo-l@lists.directionsmag.com
Subject: MI-L too many maps into 1 map


Dear Friends;

 

I once again come to you asking for help, this time I have 266 AutoCAD DWG
Maps that I have imported into TAB format and now I have 6,156

Maps, most of them had several layers; I would like to have one map per
layer of the 266 original maps; I can do this manually by 

Doing this

Insert Into F13D66E1C3_P3M_MANZ ( COL1) Select COL1 From F13D55E4B3_P3M_MANZ

But do you know of a MapBasic programme that would do this automatically? I
am using MapBasic 3.0

 

Thanks for everything once again

 

¡Saludos! / Greetings!

Juan José Del Toro Madrueño

[EMAIL PROTECTED]

Guadalajara, Jalisco MEXICO

01-33-3171-0896

MSN [EMAIL PROTECTED]

N 20° 40’ 33.95’’

W 103° 26’ 39.47’’

 

 

 


-- 

Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.11/121 - Release Date: 10/06/2005
 

-- 
Outgoing mail is certified Virus Free
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.11/121 - Release Date: 10/06/2005
 


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



RE: MI-L too many maps into 1 map

2005-10-07 Thread Terry McDonnell
Juan

Are there many tables with similar names, maybe with a numeric increment in 
them, such as:

F13D66E1C3_P3M_MANZ
F13D66E1C3_P4M_MANZ
F13D66E1C3_P5M_MANZ
...? (same with source tables)

If so you could build up the table names in code and put the whole thing in a 
loop.  E.g

For I = 1 to 266
  lcDestTable = "F13D66E1C3_P" + Rtrim$( VAL( I)) + "M_MANTZ"
  For J = 1 to lnNumSourceTables
lcSourceTable = ...
'   Build up the source table name in a similar manner
Insert Into lcDestTable  ( COL1) Select COL1 From lcSourceTable
  End For
End For

Bit simplified but I hope you get the drift.  This is based upon an assumption 
as you haven't given us any more to go on.

HTH

Terry McDonnell

-Original Message-
From: Juan José Del Toro Madrueño [mailto:[EMAIL PROTECTED] 
Sent: 07 October 2005 05:58
To: Terry McDonnell
Subject: MI-L too many maps into 1 map

Dear Friends;

 

I once again come to you asking for help, this time I have 266 AutoCAD DWG Maps 
that I have imported into TAB format and now I have 6,156

Maps, most of them had several layers; I would like to have one map per layer 
of the 266 original maps; I can do this manually by 

Doing this

Insert Into F13D66E1C3_P3M_MANZ ( COL1) Select COL1 From F13D55E4B3_P3M_MANZ

But do you know of a MapBasic programme that would do this automatically? I am 
using MapBasic 3.0

 

Thanks for everything once again

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