Skip to main content

Dear FME-Users,

 

 

I’d like to create multiple features (e.g. shapefiles) from multiple input rasters. For instance: I’ve 3 input raster and I’d like to have 3 features as output.

 

 

But it does not work, I get just 1 output-feature as result.

 

 

You’ll find my FME-workflow in the attachment.

 

 

Thank you very much and best regards. :)

 

 

Konrad

You need to do a fanout on your writer based on an attribute unique to each output file. You can e.g. use a Counter if you just need an incrementing filename.

Example:


You need to do a fanout on your writer based on an attribute unique to each output file. You can e.g. use a Counter if you just need an incrementing filename.

Example:

It seems that just the name of input files are differnt. I really need to do a fanout? I've 72 files.

 

 


You can try fanning out based on the "fme_feature_type" attribute. You may have to expose it on the reader first, if it's not visible in the workspace.


I’ve tried „fme_basename“, now it works. 🙂 Thank you very much @david_r.


In that case use the fme_basename (raster file name), just make sure to expose it in the reader.

 

 


It seems that just the name of input files are differnt. I really need to do a fanout? I've 72 files.

 

 

In that case use the fme_basename (raster file name), just make sure to expose it in the reader.

 

 


I’ve tried „fme_basename“, now it works. 🙂 Thank you very much @david_r.

glad I also could help.

 

 


glad I also could help.

 

 

Yes @itay thank you very much too. 🙂

Reply