Skip to main content
Solved

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

  • March 23, 2017
  • 2 replies
  • 31 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

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

erik_jan
Contributor
Forum|alt.badge.img+23
  • 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.


  • Author
  • March 26, 2017

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

Thank you for your help