Skip to main content
Solved

Zipped shapefiles to Geodatabase

  • July 10, 2025
  • 1 reply
  • 57 views

kennethrichards
Contributor
Forum|alt.badge.img+8

I have a folder that contains various zipped shapefiles that I am trying to export to a geodatabase. This folder is updated regularly and the shapefiles are points, lines and polygons. How can I read in and then export them to the geodatabase without needing to worry about the geometry type? I have looked into generic readers and writers but I have not been able to figure how to get them to work.

Best answer by crystalatsafe

Hi ​@kennethrichards 

I can suggest using an AttributeExposer after the reader to expose the geometry attribute, a TestFilter to filter by geometry type and then having a separate geodatabase writer for each geometry type. 

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

crystalatsafe
Safer
Forum|alt.badge.img+23
  • Safer
  • 155 replies
  • Best Answer
  • July 15, 2025

Hi ​@kennethrichards 

I can suggest using an AttributeExposer after the reader to expose the geometry attribute, a TestFilter to filter by geometry type and then having a separate geodatabase writer for each geometry type.