Solved

Naming zipped GDB with fanout on input filename


Badge +2

I'm converting some DGN files to GDB and want to name the output files with the input filename. I have extracted the input file to an attibute called "_rootname" and done a fan out in the writer on the attribute name as shown here

This works fine. But I want to zip the output file at the same time. What settings should I use? I've tried various things but can't get it to work.

 

icon

Best answer by markatsafe 24 May 2019, 18:02

View original

2 replies

Badge +2

Adding .zip to the end of your fanout expression @Value(_rootname).gdb.zip should give you the zipped File Geodb - see the user documentation

For completeness, example workspace (2019): zipafilegeodb.fmw

Badge +2

Adding .zip to the end of your fanout expression @Value(_rootname).gdb.zip should give you the zipped File Geodb - see the user documentation

For completeness, example workspace (2019): zipafilegeodb.fmw

Hi Mark. Unfortunately that didn't work but this did. Now I just need to set up the workspace runner so it does the same for each DGN in a folder ....

Reply