Wauw, this was new information to me. Never actually thought about how this 
information was stored before, and I never imagined that there would be a limit 
to the number of possible styles per table.

Uffe, would you know if the style for regions (Pen+Brush) is stored as a single 
style or as two separate styles in the resource block ? If the later then you 
could actually only have 127 different region styles, if they vary in both pen 
and brush.

This also explains why MapInfo very fast can figure out the styles used in a 
table !

What other information is stored in this resource block ? Is there some way to 
get the information from the resource block ?

Peter Horsbøll Møller
GIS Developer, MTM
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

COWI har fået ny hjemmeside. Ydelserne GIS og IT, kort, kortlægning, 3D 
visualisering og arealforvaltning ligger under SAMFUND. Se mere her : 
www.cowi.dk

COWI has changed its homepage. Our services within cadastre and 
landadministration, geodataproducts, mapping and GIS can be seen under SOCIETY. 
See our services here: www.cowi.com


-----Original Message-----
From: Uffe Kousgaard [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 23, 2005 5:44 PM
To: Mapinfo-L
Subject: Re: MI-L Default .tab color


Small correction for those into the details:

The .MAP file has a list of a maximum of 255 different styles (the "resource 
block") and for each object there is a pointer to that list. So if you ever 
try to create more than 255 styles in the same table, you should run into 
problems. If anyone has tried this, it would be interesting to hear about 
it.

Kind regards

Uffe Kousgaard
www.routeware.dk

----- Original Message ----- 
From: "Spencer Simpson" <[EMAIL PROTECTED]>
To: "'Mapinfo List'" <[email protected]>
Sent: Tuesday, August 23, 2005 5:35 PM
Subject: RE: MI-L Default .tab color


There is no "default". In MapInfo tables, each object has its own styles. The 
styles are stored in the .MAP file with each object.

Hope this helps
Spencer



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



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

Reply via email to