Skip to main content
Question

Split and convert shapefile into several kml files


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?

3 replies

trentatsafe
Safer
Forum|alt.badge.img+6
  • Safer
  • October 11, 2017

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

dustin
Influencer
Forum|alt.badge.img+30
  • Influencer
  • October 11, 2017

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


  • Author
  • October 11, 2017

Thank you both, that worked!


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