

In the parameter for the Append tool, we need to sepearte each field with a semicolon except for the last field: First import your modules, create a geoprocessing object, and load the Data Management Toolbox:ĭesc = gp.Describe( "tempLayer") fieldInfo = desc.FieldInfo For example, if it is called "Roads" in the data dictionary, the feature class shoudl be called "Roads" as well.Ĥ.) All of the feature classes must be in the same data set. You will see below why this is important.ģ.) The feature classes in the geodatabase must mach the names of the features in the data dictionary. Actually, the fields do not have to have the same name, but they need to be in the same order. This is important because the script only works if it does. There are many ways this can be done, and this is only one of them.Ģ.) The data model of the geodatabase must match the data dictionary exactly. Some important notes, however, are:ġ.) This script was written quickly to get the job done. The following script will do this automatically for you. Using Python, we can quickly move all of the data in the shapefiles into a geodatabase. However, GPS Pathfinder Office does allow you to export each feature to an individual shapefile.

This can be a significant problem, especially if you have a large data dictionary with many features. If you use Trimble GPS Pathfinder Office, you have probably discovered that it does not export data directly into an ESRI geodatabase.
