Question

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

  • 20 September 2013
  • 3 replies
  • 2 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

3 replies

Badge +14
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

 

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.
Badge +14
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.

Reply