Monday, April 20, 2015

Python - Converting multiple File geodatabase (.gdb) into multiple Personal geodatabase (.mdb)

Lets say that I have several file geodatabase in a folder and each of the file geodatabase has 1 feature dataset name "URS" and rest are feature classes. "URS" feature dataset has several feature class as well. Individually I can export the file geodatabase to XML workspace and then import that into the personnel geodatabase and all domains go over fine. But the task for me is to convert multiple file geodatabase into multiple personal geodatabase without including feature dataset,. If the geodatabase don't have "URS" feature dataset or any other feature classes then the python program will create empty personal geodatabase.

This is how we need to accomplish converting multiple file geodatabase (.gdb) into multiple personal geodatabase.




Here is the Pyhton code to accomplish this task.


If you don't want any  Feature class from feature dataset, then this how u need to reflect the changes in the above mentioned code.


No comments:

Post a Comment