Solved

Converting each table from a sqlite database to geojson and maintaining individual schemas

  • 16 May 2019
  • 1 reply
  • 13 views

I have approximately 170 tables from a sqlite database that I need to convert to geojson and save as @Value(fme_feature_type). I have a workflow to process each table individually but I need a way to automate the process. Passing all tables through the same workflow merges the schemas of all input tables. It isn't practical to pass each table through its own set of transformers when dealing with this amount of tables. Some type of loop control seems logical to pass tables through the workflow one after another while ensuring that output schemas are refreshed after each iteration. I'm fairly new to FME so any help would be truly appreciated.

icon

Best answer by takashi 16 May 2019, 15:47

View original

1 reply

Userlevel 2
Badge +17

GeoJSON file is treated as a dataset in FME, so you want to use Dataset Fanout when you need to separate destination GeoJSON file for each source feature type (table).

See here to learn more: Separating Output Data with Fanout

Reply