Mapinfo Table Structure

124 views
Skip to first unread message

yur...@nwland.ru

unread,
Mar 28, 2008, 3:15:01 AM3/28/08
to mapi...@googlegroups.com
Hi!

I have question about Mapinfo table structure.
There is table from Autocad Map 2005 with this structure
--------------
!table
!version 300
!charset Neutral
Definition Table Type NATIVE Charset "Neutral"
Fields 23
BLOCKNAME Char (254) ;
DWGNAME Char (254) ;
LAYER Char (254) ;
LINETYPE Char (254) ;
ROTATION Float ;
STRING Char (254) ;
STYLE Char (254) ;
X1 Float ;
Y1 Float ;
col_1 Char (254) ;
col_2 Char (254) ;
col_3 Char (254) ;
col_4 Char (254) ;
col_5 Char (254) ;
col_6 Char (254) ;
col_7 Char (254) ;
col_8 Char (254) ;
col_9 Char (254) ;
col_10 Char (254) ;
col_11 Char (254) ;
col_12 Char (254) ;
col_13 Char (254) ;
col_4 Char (254) ;
-------------

Table normally opened in mapinfo and browse data,
but i cant do any operations with modifieing table: pack, update,
structure change.
When I try to change structure in Table maintenance, Mapinfo mentioned
about 4K record size limit.
Where is joke? Why AutoCad Map so cool, and Mapinfo so... especial.
Any ideas or comments?

With best regards,
Yuriy Fedorinov.


Uffe Kousgaard

unread,
Mar 28, 2008, 3:28:35 AM3/28/08
to mapi...@googlegroups.com
You have 2 "col_4" fields. That may be very cool in AutoCad Map, but most
other applications find that confusing.

Besides that, trim the length of your char fields to get below the 4K limit.

Regards
Uffe Kousgaard

yur...@nwland.ru

unread,
Mar 28, 2008, 3:45:04 AM3/28/08
to mapi...@googlegroups.com
Hello Uffe,

Friday, March 28, 2008, 10:28:35 AM, you wrote:

UK> You have 2 "col_4" fields. That may be very cool in AutoCad Map, but
most
UK> other applications find that confusing.
"col_4" twice is my mistake. I rename russian column names for table
structure example. Of cause every column have unique name.

Gajendra Salunkhe

unread,
Mar 28, 2008, 3:48:11 AM3/28/08
to mapi...@googlegroups.com
Try saving the table using File-> Save Copy As. MapInfo does not allow you to change or modify a table that have .txt as data source, Once you do "Save copy as" the data is copied into .DAT file and then you can do any thing with it.

Hope this Helps

Regards
Gajendra Salunkhe

Mats Elfström

unread,
Mar 28, 2008, 4:03:41 AM3/28/08
to mapi...@googlegroups.com
There is nothing cool about ridiculously long text fields.
That is just stupid.

2008/3/28, Gajendra Salunkhe <gsal...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages