Skip to main content
Question

How to use featurereader after httocaller?

  • June 4, 2021
  • 1 reply
  • 5 views

michiedem
Contributor
Forum|alt.badge.img+7

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?

1 reply

nielsgerrits
VIP
Forum|alt.badge.img+55

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


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