Skip to main content

Dear FME community.

 

I need to make a process in a workbench.

In this process I've to write few data in Postgres table and I've to read this data for continu the process.

For this I thought to use a FeatureWriter and a FeatureWriter with a connection, but the problem is the FeatureReader read x time all the data of the table than the number of insertion in the table from FeatureWriter.

Do you know how can I do that ?

Thanks.

Hi @lalandexavier,

The FeatureReader will do a complete read for each feature that enters the Initiator port. The features resulting from the read are output either through named output ports or through the generic output port (as mentioned in the FeatureReader doc)

 

You could use the FeatureWriter's Summary port to connect to the FeatureReader since only one feature is output from there. Alternatively, you could use a Sampler with a sampling rate of first 1 features and connect that to the FeatureReader's initiator port.


Hi @lalandexavier,

The FeatureReader will do a complete read for each feature that enters the Initiator port. The features resulting from the read are output either through named output ports or through the generic output port (as mentioned in the FeatureReader doc)

 

You could use the FeatureWriter's Summary port to connect to the FeatureReader since only one feature is output from there. Alternatively, you could use a Sampler with a sampling rate of first 1 features and connect that to the FeatureReader's initiator port.

Thank you very much for those explications :-)


Reply