ThinkGeo.com    |     Documentation    |     Premium Support

Cannot load my test tab files in v12

Cannot load these tab files in v12, but it worked fine in v10 in my unit test.
Exception:
The TAB file(s) cannot be read due to an unsupported format.
Tab Test Files.zip (3.0 KB)

Hey @Mahdi_Rastegari,

I ran into the issue that the index for the TAB file was not found. Can you do the following before creating your layer and see if it works for you?

TabFeatureSource.BuildIndexFile(@"path\to\Tab Test Files\polygon tab.tab");

After building the index, I am able to see the layer:

Thanks,
Kyle

Thanks for your hint. It works fine.

Hey @Mahdi_Rastegari,

Good to hear it is working for you. Closing.

Thanks,
Kyle