Hi,
Just to make sure: Is it possible to retrieve the styles embedded in the MapInfo TAB files ?
Each native TAB file stores a style with each feature, the type of which depends on the topological type of the feature, and when saving these on e.g. Sql Server 2008, it's saved in an automatically added text column typically named MI_STYLE. The content may be a line style spec like: " Pen (1, 2, 0) "
I've created custom style classes to handle these when using Sql Server 2008 feature layers, but am I able to do it with TabFeatureLayers too, e.g. thru an automatically added text column ?
I know for a fact that MITab includes routines to featch the style information, e.g. "mitab_c_get_pen_color ( mitab_feature feature )", but can't seem to find any reference to getting this information thru neither the TabFeatureLayer nor the TabFeatureSource classes (which I presume is based on MITab).
I've browsed this thread - gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/12/aft/9904/afv/topic/Default.aspx - but its solution was to replicate the styles with the builtin methods.
Any thoughts on how to retrieve the saved styles embedded in TAB datasets ?