Skip to main content

I am actually trying to split a big shapefile into several kml files according to an attribute variable. I would like one kml file per value of that variable, which makes about 600 kml files. Is it possible to do that with FME?

Hello @aguy,

 

What you would be looking for is a Dataset fan. After your writer has been added to the workspace, if you go to the writer's properties in the Navigator and you will see a Fanout Dataset parameter. You would want to toggle this on, and change the Fanout Expression to what you want written(in your case likely @Value(attributeyouwant).kml

 

 

This will output a KML file per different attribute.

 

 

For more information: https://knowledge.safe.com/articles/565/fanout-1.html

You can use the fanout option to split the KML output data based on your variable attribute.


Thank you both, that worked!


Reply