Skip to main content

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.

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


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

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

 

 


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.

 

 


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.

 


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.

 

 


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 😃.

Reply