Skip to main content
Question

Convert/merge multiple TAB files by name per directory to SHP

  • April 10, 2013
  • 2 replies
  • 18 views

Hello,

 

 

I have serveral different directories within one directory that have TAB files (of point, line, and polygon geometry type) that I would like to merge and convert to SHP by there unique name.  For example:

 

 

\\\\one\\test.TAB

 

\\\\one\\test2.TAB

 

\\\\one\\test3.TAB

 

\\\\two\\test.TAB

 

\\\\two\\test2.TAB

 

\\\\two\\test3.TAB

 

 

What I want is for the output directory is, all the same name files to be merged and converfted to ESRI SHP, e.g.

 

 

\\\\export\\test.SHP

 

\\\\export\\test2.SHP

 

\\\\export\\test3.SHP

 

 

I defined my TAB reader to the TAB directory/sub directory as Single Merged Feature Type.  For my SHP writer I defined my output directory, however I'm not sure where to go from here since it is asking for a particular geometry type and the input TAB files are of different geometry type being point, line, and polygon.  I guessing there is some automated way of using one reader and one writer instead of creating seperate readers and writers for each unique input dataset?

 

 

Thank you
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

sigtill
Supporter
Forum|alt.badge.img+25
  • Supporter
  • April 10, 2013
Have you tried the Generate Workspace to generate the "initial" workspace - that automatically sorts the Geometries into different output-files. And then you can add other logics to this workspace later.

 


  • April 11, 2013
Filter by geometry type, then send point, line and poly to different outputs. Fan out each of the three outputs by file base name and it will create a new SHP for each distinct input file.