Skip to main content
Question

FeatureReader to be used for Copy from Reader

  • June 5, 2017
  • 6 replies
  • 61 views

geolassi
Contributor
Forum|alt.badge.img+7

Hi! I'm using FeatureReaders in my workspace, and when adding a Writer, I would like to use Copy from Reader option to get the feature types and their attributes to the Writer, but I can't because it seems Copy from Reader works only for Readers. Am I missing something, or is it not supported yet?

Also I can't get the attribute types and lengths from an FeatureReader (Copy Attributes From Transformer), and I need to have a Reader, copy attributes from its feature type.

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

mygis
Supporter
Forum|alt.badge.img+14
  • Supporter
  • June 5, 2017

Hi @geolassi (Lassi), do you need to do that dynamically?


geolassi
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • June 5, 2017

Hi @geolassi (Lassi), do you need to do that dynamically?

Hi @gisinnovationsb, not dynamically, but with a static schema.

 

 


mygis
Supporter
Forum|alt.badge.img+14
  • Supporter
  • June 5, 2017
Hi @gisinnovationsb, not dynamically, but with a static schema.

 

 

Lassi, why don't you try to cheat your way out by writing the data, adding a reader (disabled) with the intermediary data then copying the attributes into the new writer...

 

Lyes.

 

 


mygis
Supporter
Forum|alt.badge.img+14
  • Supporter
  • June 5, 2017
Hi @gisinnovationsb, not dynamically, but with a static schema.

 

 

Hi Lassi ( @geolassi), please check out this video https://youtu.be/QgUbE_6FPVE

 

I did it with a FeatureWriter but it works with the FeatureReader too.

 


mark2atsafe
Safer
Forum|alt.badge.img+59
I think a request for that is filed as PR#69977. I've added a link to this thread and increased the priority, but it would still be useful if you posted this as an Idea for other users to vote on.

 

 


geolassi
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • June 16, 2017
Lassi, why don't you try to cheat your way out by writing the data, adding a reader (disabled) with the intermediary data then copying the attributes into the new writer...

 

Lyes.

 

 

Yes, I'm doing that, but I don't like cheating :D.