Skip to main content
Solved

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

  • May 16, 2019
  • 1 reply
  • 69 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.

Best answer by takashi

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

View original
Did this help you find an answer to your question?

1 reply

takashi
Influencer
  • Best Answer
  • May 16, 2019

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


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