Skip to main content
Question

Split and convert shapefile into several kml files

  • October 11, 2017
  • 3 replies
  • 68 views

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?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

trentatsafe
Safer
Forum|alt.badge.img+6
  • Safer
  • 278 replies
  • 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+31
  • Influencer
  • 629 replies
  • October 11, 2017

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


  • Author
  • 1 reply
  • October 11, 2017

Thank you both, that worked!