Skip to main content

I want tot download data using the httpcaller (zipped gml) and read it with the featurereader. The problem is that the featurereader will not have any output ports since the data is to be downloaded first. How do I get the featurereader to have the right output ports or 'remember' them from previous times I ran the worlspace?

This can be done by using a file to configure the FeatureReader and afterwards change the DataSet field to an attribute.

 

But then you need to point to the file every single time you edit the FeatureReader, else you lose the outputports.

 

This gets annoying really fast in my book, so I prefer to set the FeatureReader to Single Output Port and use a AttributeFilter on fme_feature_type directly after the FeatureReader, followed by an AttributeExposer for each fme_feature_type. You can easily import the attribute names in an AttributeExposer.

This is a bit more work to set up but far less annoying.


Reply