Skip to main content
Question

Dynamic workbench to reproject MapInfo tables

  • April 22, 2021
  • 1 reply
  • 4 views

nicholas
Contributor
Forum|alt.badge.img+13

I am building a workbench that uses Workspace Runner to reproject a lot of MapInfo tables. My question is about the workbench that does the reprojection. All the MapInfo tables have different schemas (different columns). How do I build dynamic readers and writers that work with any column structure (but still specifically MapInfo format)

1 reply

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • April 22, 2021

Hi @nicholas​ 

The easiest way is to use a FeatureReader transformer instead of a reader, with the Output port set to Single Output Port. Connect the <Schema> output directly to the writer feature type. Set the writer feature type to Dynamic, and set Schema Sources to "Schema from Schema Feature".

Connect the <Generic> port of the FeatureWriter to the Reprojector, then connect the output to the writer feature type as well.

Screen Shot 2021-04-22 at 1.33.27 PM


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings