Skip to main content
Solved

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


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

 

 
View original
Did this help you find an answer to your question?
<strong>This post is closed to further activity.</strong><br /> It may be a question with a best answer, an implemented idea, or just a post needing no comment.<br /> If you have a follow-up or related question, please <a href="https://community.safe.com/topic/new">post a new question or idea</a>.<br /> 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

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