Skip to main content
Solved

Using FeatureMerger to merge Shape and CSV files and write out to GeoJSON produces unwanted attribute columns

  • October 9, 2015
  • 2 replies
  • 38 views

Hi!

 

 

I'm using FeatureMerger to merge a Shape file and a CSV file, and outputting to a GeoJSON file. The merge works as it should, but is producing seven extra attribute columns that I don't want, even though none of the Format Attributes are selected in the Feature Type Properties settings (csv_line_number, csv_number_of_fields, csv_total_number_of_columns, multi_reader_full_id, multi_reader_id, multi_reader_keyword, multi_reader_type).

 

 

This is obviously making the GeoJSON larger than necessary. Can someone please tell me how to ensure these Format Attributes don't get written out to the final GeoJSON file?

 

 

Thanks!

Best answer by david_r

Hi

 

 

Try inserting an AttributeKeeper before the GeoJSON is generated.

 

 

David

 

 
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.

2 replies

david_r
Celebrity
  • Best Answer
  • October 9, 2015
Hi

 

 

Try inserting an AttributeKeeper before the GeoJSON is generated.

 

 

David

 

 

  • Author
  • October 9, 2015
David, thanks ever so much replying so quickly. Your solution works perfectly!

 

 

Niall