Skip to main content

Hi,

 

I have a polygon feature class, and want to process each polygon one by one, sending it to a fme flow job submitter. I tried writing out each polygon as a shape, and process then as a path file *.shp, but there must be a better way.

 

Rudy

You don't need to write to shapefiles first, the FMEFLowJobSubmitter gets triggered once per feature. If you want it to be able to process the geometry of the polygons, you can use a GeometryExtractor first to save the geometry in an attribute, pass that on to a user parameter of the processing workspace using the FMEFlowJobSubmitter and then inside the processing workspace use a GeometryReplacer to rebuild the geometry from the parameter.


Reply