Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was wondering if there was a quick way to merge multiple .tab files together? I have about 100. Would appending one tab to another with the MapBasic window open, then changing the name of the table appended to TableInfo(1,1) work?

Thanks, Alan

share|improve this question
up vote 1 down vote accepted

If you don't want to use MapBasic (although there is really no reason you couldn't I just can't write the code off the top of my head) you can use OGR2OGR - a handy tool for any GIS pro to have in their toolkit.

There is a good start here on the details of the code snippet below.

You can do something like this in a batch file:

for %f in (*.tab) do (
ogr2ogr -update -append %f  -f “MapInfo File” -nln merge )

Loop over all the TAB files in the current folder and append to the file

Note: If the above doesn't work try this:

for %f in (*.tab) do (
ogr2ogr -update -append merge.shp %f  -f “esri shapefile” -nln merge )
ogr2ogr merge.shp -f "MapInfo File"
share|improve this answer

There are plente of tools available that can help you perform this task. Have a look at the site called

I think the tool Append2 could help you out

share|improve this answer

The best solution for this many files would probably be to use FME which is specifically designed to perform tasks like the one you have.

I just checked my copy and it supports .tab files and can output as a single merged .tab file, or a number of other formats, should that be more suitable. The software is not cheap, but a full 14 day trial is available for download from their website, which would be more than enough for you to run your conversions.

share|improve this answer
No real need for FME here IMO. Could be done with Mapbasic with a loop. – Nathan W Sep 26 '12 at 12:12
Fair enough, I'm not familiar with Mapbasic but recently performed a similar operation using FME, so I thought I'd share. – sgrieve Sep 26 '12 at 12:22
of course no problem at all. FME is a great tool. – Nathan W Sep 26 '12 at 13:28

Yes, the Append2 is the best option I have tried, provided you have all the TABs with similar "Table Structure". See the image. Select the check box "To New File" to get the appended/merged final TAB saved to a new file. This option is recommended. Append2 Dialogue.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.