Skip to main content
Converting ESRI feature classes saved in file Geodatabase to shape files (in one folder),

 

 

 

I couldn’t figure out how to convert ESRI feature classes saved in file Geodatabase to shape files (in one folder)

 

 

 

 

 

The file geodatabase is saved here

 

http://www.mediafire.com/download/6x08lo3h64o0pz8/H.gdb.zip

 

 

 

Thank you

 

 

 

Best

 

 

 

Jamal

 

 
Since the FILEGDB reader reads every feature type in the dataset when you didn't specify the Feature Types to Read, you can send all the features to a writer feature type with Dynamic Schema setting.

 

 

See these links to learn more about Dynamic Schema.

 

About Dynamic Workspaces (http://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Desktop_Help.htm#../Subsystems/FME_Workbench/Content/Workbench/workspaces_dynamic_about.htm)

 

Dynamic Workflow Tutorial (https://knowledge.safe.com/articles/Samples_and_Demos/Dynamic-Workflow-Tutorial)

 

The Feature Types They Are a-Changin’ (http://blog.safe.com/2015/04/fmeevangelist132/)
 Thanks Takashi,

 

 

 

I failed to configure the dynamic schema to convert feature classes to shape files. Only the point layer is converted!

 

 

 

 

 

What might be the issue here?

 

 
Probably you are still using FME 2015.0. In FME 2015.0, you need to select all the required feature types in the "Feature Types to Read" parameter of the FILEGDB reader.

 

If the feature types are unknown when creating the workspace, it would be difficult to accomplish that.

 

I would recommend you to upgrade your FME to 2015.1.
This might be a workaround in FME 2015.0.

 

(1) Read schema of every feature type in the gdb with the Schema (Any Format) reader.

 

(2) Send the schema features to a FeatureReader.

 

Feature Types to Read / From Attribute: fme_feature_type_name

 

(3) Connect a Shape writer feature type, set Dynamic Properties.

 


I notice you, Jamal chose Geometry : "First Feature defines geometry type" in the "configure Dynamic Schema Parameters" -tab.

 

Takashi points it should be Geometry: " From schema definition".

 

 

Maybe you try  that?
Thank you guys for the help. Great! The best solution is in 2015.1

 

 


Reply