Skip to main content
Archived

FeatureReader format from attribute

Related products:Transformers
  • March 17, 2016
  • 6 replies
  • 52 views

jdh
Contributor
Forum|alt.badge.img+40

There are many times when I would like to be able to have one featureReader with the format set by an attribute instead of having to use a testfilter to fanout my data and a separate featureReader for every format.

(The generic format does not work for my purposes because some of my data formats share extensions with other formats and the guess from extension is hit or miss)

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

6 replies

fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • March 18, 2016

Rasters perchance? I think we at one point had a RasterReader and had worked to have the format able to be set, but I think we have to get back to this for the FeatureReader to scenarios like yours...


jdh
Contributor
Forum|alt.badge.img+40
  • Author
  • Contributor
  • March 18, 2016

Yes, this is for rasters. There was C93528 and PR45107 from C85681 for parameters from attributes for the RasterReader, but as I recall that was only for the Dataset File parameter not the Raster Reader Type parameter, and development was halted as the transformer was deprecated and merged into the FeatureReader.


jdh
Contributor
Forum|alt.badge.img+40
  • Author
  • Contributor
  • March 18, 2016

Okay looking at the latest FeatureReader, there does appear to be a workaround.

 

Set the Format to Generic (Any Format)

 

In the Parameters set the Input Format to an attribute containing the fme_format_short_name.

 

 

I would still prefer to set the format directly so the schema feature has the actual format information instead of 'GENERIC'.

mhab
Contributor
Forum|alt.badge.img+10
  • Contributor
  • May 13, 2021

Would like to be able to set the format from a parameter. Should be similar to the idea with allowing attributes but still a little different variation ;-)


LizAtSafe
Safer
Forum|alt.badge.img+18
  • Safer
  • February 8, 2024
The following idea has been merged into this idea:

All the votes have been transferred into this idea.

LizAtSafe
Safer
Forum|alt.badge.img+18
  • Safer
  • February 8, 2024
The following idea has been merged into this idea:

All the votes have been transferred into this idea.