Skip to main content
Solved

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


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

Best answer by erik_jan

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.

View original
Did this help you find an answer to your question?

2 replies

erik_jan
Contributor
Forum|alt.badge.img+18
  • Contributor
  • Best Answer
  • March 23, 2017

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings