Skip to main content
Is their a way to set my file geodatabase writer to comress itself somehow?
Hi, if you are using the Esri Geodatabase (File Geodb ArcObjects) writer [GEODATABASE_FILE], there is an advanced writer parameter called "Compress Database When Done". Or, if you need zip compressing, insert your desired zip file name (*.zip) as the folder to the Dataset of the writer, like this: "C:\\data\\output.zip\\dataset.gdb"
Hi, if you are using the Esri Geodatabase (File Geodb ArcObjects) writer [GEODATABASE_FILE], there is an advanced writer parameter called "Compress Database When Done". Or, if you need zip compressing, insert your desired zip file name (*.zip) as the folder to the Dataset of the writer, like this: "C:\\data\\output.zip\\dataset.gdb"

Great answer Takashi! One additional note is that 'Compess Data When Done' was originally mislabeled; it actually 'Compacts' the Geodatabase. The label has been updated in FME 2016.


Hi, if you are using the Esri Geodatabase (File Geodb ArcObjects) writer [GEODATABASE_FILE], there is an advanced writer parameter called "Compress Database When Done". Or, if you need zip compressing, insert your desired zip file name (*.zip) as the folder to the Dataset of the writer, like this: "C:\\data\\output.zip\\dataset.gdb"

@takashi Do you know if there is there a way to get the gdb as the root of the zip instead of having it be nested inside the zip?


@takashi Do you know if there is there a way to get the gdb as the root of the zip instead of having it be nested inside the zip?

Once you created the destination File Geodatabase dataset (***.gdb) with a FeatureWriter, you can then archive all the files under "***.gdb" into a zip archive (***.gdb.zip) using another FeatureWriter with the File Copy writer.


Reply