Skip to main content
Solved

How to export final output to a zip file?

  • May 22, 2023
  • 3 replies
  • 50 views

mwoods
Contributor
Forum|alt.badge.img+2

Hi all. I currently have a workspace that simply downloads some data from a SQL server, puts it threw some geometry checks and then finally uploads the .gdb to an S3 bucket.

 

I would like the final output to be a zip file rather than the .gdb but cannot get it to work. If i change the final output in the S3 connector a zip file is created but it is blank. Any help would be greatly appreciated.

 

Here is a screenshot of my process:

 

image

Best answer by nielsgerrits

You can just add .zip to the FeatureWriter's Dataset. Like 

C:\TMP\test.gdb.zip

 

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.

3 replies

nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2938 replies
  • Best Answer
  • May 22, 2023

You can just add .zip to the FeatureWriter's Dataset. Like 

C:\TMP\test.gdb.zip

 


mwoods
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • 3 replies
  • May 24, 2023

Thankyou very much. That worked perfectly. I'm a bit embarrassed i didn't think of that.


nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2938 replies
  • May 24, 2023

Thankyou very much. That worked perfectly. I'm a bit embarrassed i didn't think of that.

Cheers 🙂 no worries, dumb questions do not exist and this is one of those things which are only obvious when you know about it. Also, I often use the ZipArchiver from the hub to do this, if I want something else then standard.