Skip to main content

Hi,

When downloading a geojson file through S3, I get a _content attribute containing my file's content. How can i convert it to geojson and write a geojson file (I do not want to use the S3Connector download to file as it does not let me name the file the way I want).

Hi @osacode​ ,

If you are downloading as an attribute, you can use a text file writer to write out the data with the .geojson file extension (instead of the default .txt).

You can rename it either in an AttributeManager or by setting the value of the text_line_data attribute to _contents in the text file writer feature type (as shown in the second screenshot).

imageimageThe AttributeFileWriter is another option as well:

image


Thank you !


Reply