Skip to main content
Solved

Duplicate records reading from zipped open file gdb

  • November 20, 2024
  • 1 reply
  • 52 views

helmoetz
Supporter
Forum|alt.badge.img+15

Hi this puzzles me: using FME(R) 2022.2.3.0 (20230131 - Build 22789 - WIN64), when reading an Open File Geodatabase from a zip file, features are duplicated. I created and attached a template which demonstrates the error. 

The workspace uses two readers to demonstrate the phenomena, both of type File Open Geodatabase.

  • The first reader reads from ..\test.zip\test.gdb
  • The second reader reads from ..\test.gdb

Records on the first reader are duplicated. When reading from just test.zip the duplication does not take place. 

Is this behaviour as meant to be?

Best answer by nielsgerrits

I am able to reproduce this using FeatureReaders in 2023.2 using the path:

"C:\TMP\New folder (191)\test.zip\test.gdb"

Also, the parameter cog turns red when I use this path, so I suspect this is not the way it is meant to be used.

 

According to the documentation the syntax should be:

"C:\TMP\New folder (191)\test.zip[test.gdb]"

But this also returns 2 features.

 

The only way I get it to work as expected is when I use the path:

"C:\TMP\New folder (191)\test.zip"
Because of the structure of a file geodatabase, it often works differently than expected. Same if you want to read a .gdb using a user parameter, it is different from other files.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

nielsgerrits
VIP
Forum|alt.badge.img+62
  • Best Answer
  • November 20, 2024

I am able to reproduce this using FeatureReaders in 2023.2 using the path:

"C:\TMP\New folder (191)\test.zip\test.gdb"

Also, the parameter cog turns red when I use this path, so I suspect this is not the way it is meant to be used.

 

According to the documentation the syntax should be:

"C:\TMP\New folder (191)\test.zip[test.gdb]"

But this also returns 2 features.

 

The only way I get it to work as expected is when I use the path:

"C:\TMP\New folder (191)\test.zip"
Because of the structure of a file geodatabase, it often works differently than expected. Same if you want to read a .gdb using a user parameter, it is different from other files.