Skip to main content
Question

Make a loop in a clipping


I have a folder with many features shp .

My goal is to make at once a loop that for each features in the folder ,  i will use one feature(a chosen feature) to clip each , and each feature will be store in differentes folders with the same name (the name oft he feature)

2 replies

caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • November 3, 2021

You don't need a loop for this.

You can use the Group By option in Clipper with the GroupBy attribute set to the fileneme.

Alternatively you can use WorkspaceRunner to read each shp in it's own workspace.


mark2atsafe
Safer
Forum|alt.badge.img+47
  • Safer
  • November 5, 2021

This webinar may help to explain looping in the context of FME: https://www.safe.com/webinars/to-loop-or-not-to-loop-overcoming-roadblocks-with-fme/

The important part is - as caracadrian mentions - you don't need a loop here. In fact, very few FME operations need a loop; you could say that they sort of have looping built-in. The webinar explains how it all works.


Reply


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