How to Convert MapInfo TAB to Esri Shapefile

Liz Sanderson
Liz Sanderson
  • Updated

Introduction

This tutorial will show you how to transform zoning data from MapInfo MITAB (*.tab) to Esri Shapefile (*.shp). We will filter the data so that only the zones representing residential dwellings will be written to shapefile.

Video

This video was created with FME version 2016.0. Some of the steps might be slightly different, but the overall process is the same for newer versions of FME.

Step-By-Step Instructions

1. Inspect the Data in FME

The first step is to inspect the Zones.tab file. Open a blank FME Workspace and add a new reader. In the reader dialog, type in MapInfo TAB (MITAB), then browse to the Zones.tab file. Click OK to add the reader to the canvas.

reader.png

Now to view the data, click on the Zones reader feature type on the canvas to open the mini toolbar. Then, on the mini toolbar, click the View Source Data button to view the data in the Visual Preview Window.

viewsourcedata.png

In the Visual Preview window (or FME Data Inspector), look through the ZoneCategory, we are interested in only residential zones, so any attributes that contain the word Dwelling. initialdata.png

2. Set the Output (Writer) Format to Esri Shapefile

Next, we need to add a writer to the canvas. Click on "Add Writer" and, in the "Add Writer" dialog box, select "Esri Shapefile" for the format. Then, for the Dataset, browse to a folder to save the shapefile, and then click OK to add the writer.

shapefilewriter.png

3. Update Writer Properties

Connect the Zones reader feature type to the Zones writer feature type. Then open up the Zones writer parameters. In the Feature Type dialog, change the Shapefile Name to Dwellings.

featuretypewindow.png

Next, switch to the User Attributes tab. We will need to shorten the ZonesCategory attribute name, as we are writing to a shapefile, which has a 10-character attribute name limit. In the User Attributes tab, change ZoneCategory to Category. Then click OK to close the Feature Type dialog.

userattributes.png

4. Fix Attribute Mapping

Since we changed the attribute name to Category in the writer, we will need to update the attribute mapping so that the attributes coming from the reader know which attribute to write to in the writer. To do this, we will use an AttributeManager transformer. Add an AttributeManager transformer to the canvas and connect the input port to the Zones reader feature type and the output to the Dwellings writer feature type.

attributemanagerworkflow.png

Open the AttributeManager parameters and change the following Output Attributes:

Input Attribute Output Attribute
ZoneCategory Category

attributemanager.png

To double-check that the attributes were mapped correctly, click on the arrow on the writer feature type to expand the attributes. When the attributes are mapped correctly, all of the attributes will have a green arrow next to them. If they are mapped incorrectly, the arrow will be red.

correctmapping.png

5. Add a Tester Transformer

Now, we will add a Tester transformer to test for any Category attributes that contain the word 'Dwelling'.

Add the Tester between the AttributeManager and the Dwelling writer feature type. Ensure that the writer feature type is connected to the Passed output port on the Tester.

testerworkflow.png

In the Tester parameters, set the test to: Category contains Dwelling

tester.png

6. Run the Workspace

The workspace is now ready to be run. Run the workspace by clicking on the green play button.

7. View the Output Dataset

To view the output dataset, click on the Dwelling writer feature type to open the mini toolbar, then click on the View Written Data button.

viewwrittendata.png

In Data Preview (formerly Visual Preview), you should have 90 features that all contain the word 'Dwelling'.

finaloutput.png

Data Attribution

The data used here originates from open data made available by the City of Vancouver, British Columbia. It contains information licensed under the Open Government License - Vancouver.

Was this article helpful?

We're sorry to hear that.

Please tell us why.

As of January 14th, 2026, comments on knowledge base articles have been closed. To make sure questions don’t get missed and to enable more community support, we’ve moved discussions to the FME Community. If you have a question or a comment about this article, please create a new post or create a support ticket.