Skip to main content
Archived

FeatureReader format from attribute

Related products:Transformers
siennaatsafe
danilo_fme
jdh
erik_jan
tcrossman
+13
  • siennaatsafe
    siennaatsafe
  • danilo_fme
    danilo_fme
  • jdh
    jdh
  • erik_jan
    erik_jan
  • tcrossman
    tcrossman
  • mattwilkie
    mattwilkie
  • canerakin
    canerakin
  • revesz
    revesz
  • chk1
    chk1
  • bakkermans
  • geoleo
    geoleo
  • paulbader
    paulbader
  • mbv
  • cfvonner
    cfvonner
  • mhab
    mhab
  • fbrws
    fbrws
  • mechomicky_bmcd
    mechomicky_bmcd
  • jacintasomers
    jacintasomers

jdh
Contributor
  • Contributor

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 a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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+18
  • 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+28
  • 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+28
  • 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+15
  • 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+15
  • Safer
  • February 8, 2024
The following idea has been merged into this idea:
All the votes have been transferred into this idea.

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