Skip to main content
Question

FeatureReader to be used for Copy from Reader


geolassi
Contributor
Forum|alt.badge.img+5

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.

6 replies

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

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


geolassi
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • June 5, 2017
mygis wrote:

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+13
  • Supporter
  • June 5, 2017
geolassi wrote:
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+13
  • Supporter
  • June 5, 2017
geolassi wrote:
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+44
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+5
  • Author
  • Contributor
  • June 16, 2017
mygis wrote:
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.

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