Skip to main content

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)

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


Reply