Skip to main content
Question

Is There A Quick Way To Run A Template On FME Server For Multiple Files

  • September 20, 2013
  • 3 replies
  • 36 views

We have a template on FME Server that runs does some converting and clipping of dgn files based on a line in a kml. Is there a way for a user to run this on multiple kml files without having to add an individual kml and running the service separately each time.

 

 

For example it would be nice if a user could select multiple kml files and have fme run them each through the process as separate datasets instead of one large dataset.

 

 

Thanks
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

davideagle
Contributor
Forum|alt.badge.img+21
  • Contributor
  • September 22, 2013
You could allow the user to upload the required KML file(s) using the upload service.

 

 

http://fmepedia.safe.com/articles/How_To/Upload-a-file-to-FME-Server-using-the-Data-Upload-Service

 


  • Author
  • September 23, 2013
We have this right now for our FME server job, however, if we upload 2 kmls, the job processes this as one data set. What we need is to have the fme process run separately on each data set.

davideagle
Contributor
Forum|alt.badge.img+21
  • Contributor
  • September 24, 2013
Then you need to expose the attribute (AttributeExposer) fme_basename which contains the name of the KML file. Then you should either filter the data based on the file name or in your principal processing transformer 'Group By' the fme_basename atttibute so that only features in one file are processed together.