I downloaded a sample map of the Halton Region Municipality, Ontario from StreetPro Canada. The demo is a MapInfo Professional workspace. Then I tried using...
... This error would usually suggest that the file is either not found or in a variant of the TAB format that the MITAB library does not support, but I just...
As it turns out I do have version 1.70. So to make things error-proof I copied TAB2TAB.exe into the same directory as the TAB files and sure enough it worked....
when converting a MIF file to TAB via TAB2TAB.exe,it seem to be have some bugs for a polyline feature for example, a polyline define as follow in a Mif file " ...
Try to convert back to MIF and see if it is still the same. Also, check your bounds clause in the original MIF file. Does any of the coordinates gets truncated...
Hi, I've created a table from xls file. The table contains 100 lines. After all these operations i can read it from mitab. Then i went to table structure and...
Hello! I'm writing a software to convert a file from one coordinate system to another. I do this by reading the different objects from the file with the...
Perhaps you need to go to the source of the problem and check that the object is valid before writing it out. Also check that you're calling the correct mitab...
Go back to basics. Are you sure you're using the right function calls to output a feature ? Also, is there a problem with the data you're reading from the...
And here's the minimal example to create a TAB file. It seems as though you have to have at least one field for Mitab to output a valid TAB file that MapInfo...
Hello! Thank you for your reply. However I don’t think that there is something wrong with the code since it has worked very well for hundreds of files. I...
Hello! Can someone help me with this command. I have a folder lets say D:\Data\ that contains 50 tab and its related files. I want all of this files to be...
... In C++, you can use the IMapInfoFile::GetFileClass() method after opening a dataset and it will return you one of: typedef enum { TABFC_IMapInfoFile = 0, ...
... The tab2tab.exe program (in the MITAB Windows download package) is what you'd use to convert a single file between MIF and TAB formats. e.g. tab2tab.exe...
Thanks Daniel, Does this mean you must have the tab2tab.exe in the same folder as all the tab files? I tried with @echo off Cd d:\data\mitab-1.70-win32 ...
I have finally got it to work but only half way... I get ERROR3... could not be open as a MapInfo dataset Failed to open .... I have tried two different tab...
Hi Soren, This is off topic for this newsgroup, and you can find a lot about DOS batch scripts by doing a Google, but the following batch script will probably...
... The error suggests that the tab datatsets are either corrupt, or use some format options that MITAB doesn't support. If you can zip up and send me one of...
Hi, I am getting crazy ! Please anyone were able to use the function mitab_c_set_points in a VB.Net program ? I have this definition function: Declare Sub...
As a minimum you should remove Byval from the X and Y parameters. Regards Uffe ... From: "sagent100" <sagent100@...> To: <mitab@yahoogroups.com> Sent:...
Hello again! I have tried to isolate the core of my code. It is quite a few lines so bear with me. I get an exception when I call the mitab_c_write_feature...
Hello! The problem seems to be that the funtion PickSeedsForSplit found in mitab_mapindexblock.cpp internally tries to divide by zero, around line 1050. If I...
I write several data file processing tools using Microsoft Visual Studio 2005. (Microsoft Visual C++ 2005) Simple executable. Source file is a .cpp. I would...
 This is really a general question of how to link with a DLL in VS2005.  The error you're getting is at link time, so its related to the .lib file which is...
Thank you for your help so far. I added Project -> Properties -> Configuration Properties -> Linker - ... Now I get even more cryptic: mitab.dll : fatal error...
 Yes, there does not seem to be a .lib file in the distribution. The only way I know of to use the DLL in this case is to use LoadLibrary() calls to access...
Here's what I did so far. Downloaded additional mitab-1.7.0.zip (even though document http://mitab.maptools.org/ said MITAB-1.7.0-WIN32.ZIP: ... is "all you...