Solved

Can I use attributes from a shape file grid to name my raster writer output files?

  • 23 March 2017
  • 2 replies
  • 5 views

Hi All,

I need to automate the process of cutting up an image file into approximately into 11,500 separate images.

I have my image file. I have my grid shape file that contains attributes that I want to use as my output image file names.

I can get image outputs using clipper that are exactly as I expect (correct dimensions etc) but cannot figure out how to name them correctly.

I'm convinced that I'm missing something quite simple here.

I have been searching through the knowledge center but can't find exactly what I'm looking for.

Has anyone had experience with this?

I'm using FME Desktop 2015

icon

Best answer by erik_jan 23 March 2017, 15:30

View original

2 replies

Userlevel 2
Badge +16

The Clipper transformer will clip the raster and allows to add the attribute from the grid on the output.

See the settings in this image:

Next use the attribute on the Writer Fanout to create a file with the right name (look in the Navigator window for Dataset Fanout.

Hi eric_jan, just got into work and tried out the solution you posted. It works great!!!

Thank you for your help

Reply