Solved

How to export final output to a zip file?

  • 22 May 2023
  • 3 replies
  • 3 views

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

icon

Best answer by nielsgerrits 22 May 2023, 21:11

View original

3 replies

Userlevel 6
Badge +33

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

C:\TMP\test.gdb.zip

 

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

Userlevel 6
Badge +33

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.

Reply