Skip to main content
Solved

Excel FeatureWriter, how to add a blank line

  • January 29, 2019
  • 5 replies
  • 102 views

I wish to add a blank line for every 'x' line in an Excel spreadsheet createt in the FeatureWriter.

 

Any help or guide on how to do this?

 

 

Thank you!

Best answer by takashi

A possible way it to duplicate every Xth feature, remove all attributes from that, and send the empty feature to the writer. The Sampler and the AttributeKeeper might help you to do that.

View original
Did this help you find an answer to your question?

5 replies

takashi
Influencer
  • Best Answer
  • January 29, 2019

A possible way it to duplicate every Xth feature, remove all attributes from that, and send the empty feature to the writer. The Sampler and the AttributeKeeper might help you to do that.


  • Author
  • January 31, 2019
takashi wrote:

A possible way it to duplicate every Xth feature, remove all attributes from that, and send the empty feature to the writer. The Sampler and the AttributeKeeper might help you to do that.

Thanks for your reply, I can't seem to make it work though. The empty features is not being added as a blank line, instead the featurewriter is creating a new sheet for all the empty features.


takashi
Influencer
  • January 31, 2019
takashi wrote:

A possible way it to duplicate every Xth feature, remove all attributes from that, and send the empty feature to the writer. The Sampler and the AttributeKeeper might help you to do that.

How did you set destination Sheet Name (feature type name) in the FeatureWriter?


  • Author
  • January 31, 2019
takashi wrote:

A possible way it to duplicate every Xth feature, remove all attributes from that, and send the empty feature to the writer. The Sampler and the AttributeKeeper might help you to do that.

The sheet names are specified by an attribute created earlier in the script


takashi
Influencer
  • January 31, 2019
takashi wrote:

A possible way it to duplicate every Xth feature, remove all attributes from that, and send the empty feature to the writer. The Sampler and the AttributeKeeper might help you to do that.

Well, try keeping the attribute "DynaicFeatureName" in the AttributeKeeper.


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