Skip to main content
Question

Write to a zipped file geodatabse

  • February 4, 2025
  • 3 replies
  • 70 views

fme_hans
Contributor
Forum|alt.badge.img+5

Hi,

I am trying to put data in a zipped file geodatabase in 4 feature tables. Only 1 table is written to the zipped file geodatabase, the rest are not. (no error message). If I write to an unzipped geodatabase file, the 4 tables in the geodatabase are written. How do I write multiple feature writes in the same zipped file geodata tables? (I have tried feature holders to put tables 1 by 1 in the zipped file geodatabase but that makes no difference).

 

3 replies

evieatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • February 5, 2025

Hi ​@fme_hans thanks for your question. I just tested this and seems to work for me, so I’m wondering how you have your writer set up and what version of FME you are using. I tested with 2024.2.1 and this is what my workspace looks like:
 

canvas with 2 reader feature types, and one writer feature type
writer feature type parameters, writing to FILEGDB
writer parameters 

Let me know! Any additional details you could provide would be helpful.


fme_hans
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • February 6, 2025
Hi, my setup is different. I have 4 different featurewriter transformers that each fill 1 feature class in the zipped file geodatabase. The first featureclass get filled, the others not.

evieatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • February 7, 2025

@fme_hans ah, you have FeatureWriters instead. You should also make sure that you are writing to a .zip by making sure that it is included at the end of your file name in your FeatureWriter. When a .zip is specified it should also have the icon on the far left of the path indicating that it will be zipped. I’ve highlighted both in my screenshot:

Also, if you are writing to the same GDB you should probably only use one FeatureWriter as you can connect multiple Feature Types within like I have. In my screenshot you can see that both ‘Parks’ and ‘Living_Areas’ are included in the one FeatureWriter. 

Now I haven’t seen all of your parameters for each of your feature types, but I suspect that they do not have the same writer and therefore are either different files or overwriting the same file each time so you only end up having one Feature Type in the GDB. For my overwriting assumption, you should make sure that ‘Overwrite Existing Geodatabase’ in the writer parameters is not checked. Since FeatureWriters can be placed anywhere in your workflow and do not need to execute at the end of the workspace, this could actually happen depending on how complex the workspace is. 


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