Skip to main content
Solved

Expose Format Attributes in Dynamic Feature Reader

  • November 20, 2018
  • 9 replies
  • 123 views

oliver.morris
Contributor
Forum|alt.badge.img+12

Hi,

hopefully this is a simple one but it has me stuck. I am using a dynamic feature reader and would like to expose Format Attributes - in this case, fme_colour and fme_basename. Can someone please tell me where to find this. In the normal readers this is just a select all option under the format attributes tab.

Many Thanks

Oliver

Best answer by david_r

I was able to get fme_color and fme_feature_type just fine using the Generic Port specific settings and manually typing them in there:

But yeah, the AttributeExposer is sometimes the easiest solution when in doubt.

View original
Did this help you find an answer to your question?

9 replies

david_r
Evangelist
  • November 20, 2018

Depending on the format it could be an option in the format parameters dialog.

If not, you can specify them manually under the Generic Port settings.

Finally, you can always insert an AttributeExposer transformer after the FeatureReader, although I'd consider this a last option.


oliver.morris
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • November 20, 2018
david_r wrote:

Depending on the format it could be an option in the format parameters dialog.

If not, you can specify them manually under the Generic Port settings.

Finally, you can always insert an AttributeExposer transformer after the FeatureReader, although I'd consider this a last option.

Thanks David, I am using the PDF reader, unfortunately nothing is available in the parameters. When I try to expose using the generic port nothing comes out:

 


ebygomm
Influencer
Forum|alt.badge.img+31
  • Influencer
  • November 20, 2018

The generic output port is not going to help you here as you are outputting by feature type. There should be an option in the PDF parameters under schema attributes


oliver.morris
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • November 20, 2018
david_r wrote:

Depending on the format it could be an option in the format parameters dialog.

If not, you can specify them manually under the Generic Port settings.

Finally, you can always insert an AttributeExposer transformer after the FeatureReader, although I'd consider this a last option.

thanks for the continued help David, I tried as you suggested but nothing was available, the attributeexposer worked to get some pdf_ attributes out. Still no way that I have found to get the format attributes. I am good with this dataset the colours are the main content I need to retrieve.

 

Thank you again,

Oliver

 

 


david_r
Evangelist
  • Best Answer
  • November 20, 2018

I was able to get fme_color and fme_feature_type just fine using the Generic Port specific settings and manually typing them in there:

But yeah, the AttributeExposer is sometimes the easiest solution when in doubt.


oliver.morris
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • November 20, 2018
david_r wrote:

I was able to get fme_color and fme_feature_type just fine using the Generic Port specific settings and manually typing them in there:

But yeah, the AttributeExposer is sometimes the easiest solution when in doubt.

Sorry no luck for me, no features coming out.

 


oliver.morris
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • November 20, 2018
ebygomm wrote:

The generic output port is not going to help you here as you are outputting by feature type. There should be an option in the PDF parameters under schema attributes

there is this, but I cant manually add any fields unfortunately.

 


david_r
Evangelist
  • November 20, 2018
oliver.morris wrote:

Sorry no luck for me, no features coming out.

 

Looking at your screenshot I see why, the Generic Port settings only work if you select the single output port option:

So in your case I think the AttributeExposer is actually the only option.


oliver.morris
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • November 20, 2018
david_r wrote:

Looking at your screenshot I see why, the Generic Port settings only work if you select the single output port option:

So in your case I think the AttributeExposer is actually the only option.

Thanks for the help David


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