Skip to main content
Solved

Naming zipped GDB with fanout on input filename


eric_armitage
Contributor
Forum|alt.badge.img+10

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.

 

Best answer by markatsafe

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

View original
Did this help you find an answer to your question?

Forum|alt.badge.img+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


eric_armitage
Contributor
Forum|alt.badge.img+10
markatsafe wrote:

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 ....


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