Question

FME KML file name (bit strange behavior)

  • 19 September 2014
  • 1 reply
  • 6 views

Hello,

 

I have observed that FME behaves differently if we run a workspace in Workbench and after publishing to server.

 

 

I have a workspace with Shape Reader reads multiple files and converts to KML using GENERIC writer. If I fanout the dataset on fme_basename it works perfectly in workbench, but if same workspace is published to server and run as service it creates output kml as "output.kml"

 

 

e.g. Shape reader reads Test1.shp & Test2,shp

 

Creates output by fanning out on fme_basename

 

Output KML : Workbench creates Test1.kml in Test1 folder & Test2.kml in Test2 folder - PERFECT

 

On server : "output.kml" in Test1 folder and "output.kml" in Test2 folder

 

 

Could anybody explain this behavior?

 

 

Cheers

 

John

1 reply

Badge +10
Thats because as a file based format, KML in the Generic Writer gives you the option to set the file name in the Server interface. You'll need to either set that in the interface of Server, disable it or prepare and set the file name in the Workspace itself.

Reply