How do I apply field mapping to multiple shapefiles during import?

897
2
Jump to solution
06-21-2017 01:57 PM
MarcusSanders2
New Contributor II

I am trying to change field name, type, length, and precision during an import of multiple shapefiles, but unlike the "Feature Class to Feature Class" tool, there is no field mapping section for the "Feature Class to Geodatabase (multiple)" tool.

Is there a way to do this using python?

0 Kudos
1 Solution

Accepted Solutions
MarcusSanders2
New Contributor II

Thank you. While looking at this option, I realized that I could iterate my shapefiles through "Feature Class to Feature Class" in Python, and specify the field mappings there.

View solution in original post

2 Replies
JayantaPoddar
MVP Esteemed Contributor

Try to run Feature Class to Feature Class in Batch mode. Do the Field Mapping for one row, and Fill to copy the values for other rows.

A quick tour of batch processing—Help | ArcGIS for Desktop 



Think Location
MarcusSanders2
New Contributor II

Thank you. While looking at this option, I realized that I could iterate my shapefiles through "Feature Class to Feature Class" in Python, and specify the field mappings there.