3

I have 250 shapefiles of large area. I have a area shapefile against which I want to clip the small portion of all 250 shapefiles. I tried using transformer Clipper individually on each shapefile as reader and output on individually writer.

As it is lengthy process to assign Clipper to 250 readers individually.

Is there any process to clip all shapes using single clip transformer and output to 250 layers.

6

Yep, you can do a dynamic reader and writer and clip them all at once, for sure.

First, with your reader, make sure you use 'single merged feature type'.

Reader

For your writer, make it 'dynamic' so that it gets the schema from input featuretypes.

Writer

And now you clip in the middle. This will work generically and write files our named the same as the input.

enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.