Import data

You can add datasets to a geodatabase by importing them from other locations or by converting and importing them from other data formats.

Import feature classes

You can import feature classes into a geodatabase or feature dataset using the context menu in the Catalog pane. Shapefiles, computer-aided design (CAD) data, and geodatabase feature classes can all be imported in this way. You have the following options for importing data when you right-click a geodatabase or feature dataset:

  • Feature Class(es)—Convert one or more feature classes or feature layers to geodatabase feature classes using the Feature Class To Geodatabase tool.
  • Table(s)—Import one or more tables into a file, mobile or enterprise geodatabase using the Table To Geodatabase tool.

If you're importing a number of feature classes into a geodatabase and they require the same settings at import, you can choose the Feature Class(es) option to run the Feature Class To Geodatabase tool and import them at the same time. One feature class is created for each feature class you import.

If you have many feature classes to import and want to chain multiple tools together, you can create and run a model instead of manually repeating the import from the context menu. A model helps automate importing by allowing you to save and reuse environment settings and tool parameters. Once you've created a model, you can import data, edit the model to specify other input data, modify parameters, and rerun the model.

Learn more about models and model building

Tip:

The fields you create in the new feature classes are named the same as the fields you're importing. However, any invalid characters in the field names are automatically replaced. For example, a hyphen is replaced with an underscore.

Feature classes and coordinate systems

Each feature class has a spatial reference with a coordinate system that defines how its locations are georeferenced. When importing feature classes, it is important to note the coordinate system of the dataset being imported. When you import into a feature dataset, the new feature class automatically takes on the same spatial reference as that feature dataset. If you import into a geodatabase, a new standalone feature class is created with the same spatial reference as the dataset you're importing.

Learn more about spatial references

Suppose you want to import a feature class that's in another coordinate system. For example, you may want to import a feature class that uses the North American Datum (NAD) 1927 coordinate system into a feature dataset that uses the NAD 1983 coordinate system. To simultaneously import the data and convert it into the new coordinate system, use the Project tool.

Learn more about the Project tool

Import tables

To import a table from the Contents pane, right-click the geodatabase and from the context menu, select Import. dBASE, OLE DB, or geodatabase tables can all be imported in this way.

The menu provides the following option:

  • Feature Class(es)—Convert one or more feature classes or feature layers to geodatabase feature classes using the Feature Class To Geodatabase tool.
  • Table(s)—Import one or more tables into a file, mobile or enterprise geodatabase using the Table To Geodatabase tool.

Tip:

When you import several tables at the same time with the Table To Geodatabase tool, each table imports into a new table. The tool automatically corrects any illegal or duplicate field names.

Import an XML workspace document

XML workspace documents hold all of the contents of a geodatabase or any subset of the content and are used as a method of sharing schema information and, optionally, the data as well. You can import entire feature datasets, feature classes, or tables with the Import XML Workspace Document tool. You can also import just the geodatabase schema without any data.

You can create an XML workspace document for import by exporting data from a geodatabase, feature dataset, table, or feature class.

Learn more about how to export an XML workspace document

You can import an XML workspace document into a geodatabase by right-clicking it in the Catalog pane and choosing Import > XML Workspace Document. This opens the Import XML Workspace Document geoprocessing tool.

Import datasets using geoprocessing tools

To import datasets using geoprocessing tools, click the Analysis tab on the ribbon and click Tools to open the Geoprocessing pane. In the Geoprocessing pane, you can either use the search box to search for the tools or click the Toolbox tab and find them under the Conversion Tools toolbox in the To Geodatabase section.

Learn more about the To Geodatabase toolset