Copy feature datasets, feature classes, and tables to a geodatabase—ArcGIS Pro (2024)

You can copy or move datasets in the following ways:

  • Use context menu commands, keyboard shortcuts, or drag and drop when working in the Catalog pane or Catalog view. To learn more, see Copy and move items.
  • Use geoprocessing tools, such as the Copy tool in the Data Management Tools toolbox. This tool works the same way as the Copy command in the Catalog pane, copying input data from one location and pasting it to another location.

You can copy entire feature datasets or individual feature classes and tables. For every feature dataset, feature class, and table you copy and paste, the result is a new feature dataset, feature class, and table in the destination geodatabase with all the features or records from the source data. If you’re copying into a file or enterprise geodatabase, you can specify a configuration keyword to control how the new feature classes and tables are stored.

When you copy and paste, you copy any dependent data as well. Therefore, if you copy a network dataset or topology class, all the feature classes in the network or topology are also copied. If you copy a feature class or table that participates in a relationship class, the relationship class and all other feature classes or tables in the relationship class are also copied. The same is true for a feature class that has feature-linked annotation; the feature-linked annotation is copied too. When you copy a feature class with attribute rules, all attribute rules and any additional feature classes or sequences referenced in the attribute rules are copied. For a feature class that has a domain, subtype, or index, the domain, subtype, or index is also copied.

If you are copying a feature class into an existing feature dataset, either in the same geodatabase or in another geodatabase, the spatial reference of the feature class and feature dataset must match. If they do not, you cannot paste the feature class into the feature dataset.

Use context menu commands

You can copy any dataset from a geodatabase or database using the Copy command Copy feature datasets, feature classes, and tables to a geodatabase—ArcGIS Pro (1) on the context menu in the Catalog pane, and paste the dataset into a destination geodatabase. There are two options when pasting the datasets into the destination geodatabase: Paste and Paste Special.

Paste

To copy and paste tables, feature classes, or feature datasets in the Catalog pane using the Paste command Copy feature datasets, feature classes, and tables to a geodatabase—ArcGIS Pro (2), follow these steps:

  1. In the Catalog pane, connect to the geodatabase or database that contains the feature dataset, feature class, or table you want to copy.
  2. Right-click the feature dataset, feature class, or table and click Copy Copy feature datasets, feature classes, and tables to a geodatabase—ArcGIS Pro (3).
  3. Right-click the geodatabase to which you want to copy the data.
  4. Click Paste Copy feature datasets, feature classes, and tables to a geodatabase—ArcGIS Pro (4).

    A progress bar appears in the destination geodatabase to display the progress of the copy-paste operation. You can cancel the copy-paste operation by clicking the stop button in the progress bar.

    A copy of the feature dataset, feature class, or table and its related items are present in the target geodatabase. If there are any name conflicts in the target geodatabase, the name of the copied data has a number appended to the end of its name to make the name unique.

Tip:

To copy a geometric network or topology class and all the participating feature classes, copy and paste the network or topology class only. This copies all the participating feature classes along with it. You cannot copy and paste individual feature classes participating in a network or topology.

Paste Special

To have more control over how the data is pasted into the target geodatabase, you can choose the Paste Special option on the context menu. The Paste Special dialog box lists the datasets being pasted into the target geodatabase. Any name conflicts are automatically resolved and highlighted in red. To rename an item that is being copied, you can do so by editing the Target Name parameter. If you are pasting into a file or enterprise geodatabase and you want to control how the new feature classes and tables are created and stored, you can choose a configuration keyword from the Configuration Keyword drop-down list. Attribute domains that are associated with the datasets being copied are also listed on this dialog box but are for informative purposes only, meaning, for example, that you cannot rename the output domain name.

Note:

The Paste Special option is only available on the context menu for geodatabases that have been added to the project.

  1. In the Catalog pane, connect to the geodatabase or database that contains the feature dataset, feature class, or table you want to copy.
  2. Right-click the feature dataset, feature class, or table you want to copy and click Copy Copy feature datasets, feature classes, and tables to a geodatabase—ArcGIS Pro (5).
  3. Right-click the geodatabase to which you want to copy the data.
  4. Click Paste Special Copy feature datasets, feature classes, and tables to a geodatabase—ArcGIS Pro (6).
  5. The Paste Special dialog box appears, showing what data is being copied. Any name conflicts are automatically resolved and highlighted in red.

  6. Type over the default names in the Target Name text box to change any of the output names.
  7. If you’re copying into a file or enterprise geodatabase and want to control how the new feature classes and tables are created and stored, choose a keyword from the drop-down list.
  8. Click OK to paste the data into the target geodatabase.

    A progress bar appears in the target geodatabase to display the progress of the copy-paste operation. You can cancel the copy-paste operation by clicking the stop button in the progress bar.

    A copy of the feature dataset, feature class, or table and its related items are present in the destination geodatabase.

Copy features using Export

You can export the features in a layer to a new feature class by using the Copy Features geoprocessing tool that opens when you select Export Features from the layer context menu in the Contents pane.

  1. Add a layer to the map.
  2. Right-click the layer in the Contents pane and click Data > Export features.
    Note:

    If there are features selected in the map, the Copy Features tool copies only the selected features. To include all features in the feature class, clear the selection before you export the features.

    The Copy Features geoprocessing tool opens. The Input Features parameter is populated with the layer you selected.

  3. Choose a destination geodatabase and feature class name for the Output Feature Class parameter.
  4. Click Run to run the tool and make a copy of the features in the layer.

Copy multiple feature classes

You can use the Feature Class To Geodatabase geoprocessing tool to export one or more feature classes from one geodatabase to another.

Note:

Be aware that the Feature Class To Geodatabase tool copies only simple feature classes. For example, if you have feature classes contained within feature datasets to be exported, only the feature classes are copied. The feature dataset, plus any of its advanced elements, such as topologies, relationship classes, or attachments, will not be copied to the output geodatabase.

  1. Open the Feature Class To Geodatabase geoprocessing tool. You can do this by searching for it in the Geoprocessing pane search, or by browsing to it in the Conversion toolbox in the To Geodatabase toolset.
  2. Add feature classes to the Input Features parameter by clicking the Browse button Copy feature datasets, feature classes, and tables to a geodatabase—ArcGIS Pro (7) and choosing the feature classes you want. Alternatively, if you have the feature classes open as a layer in the map, use the drop-down menu in the Input Features parameter and select the layer you want to copy.
  3. Use the Browse button Copy feature datasets, feature classes, and tables to a geodatabase—ArcGIS Pro (8) for the Output Geodatabase parameter to choose the output geodatabase into which you want to copy your feature classes.
  4. Click Run to run the tool.
Tip:

You can use a similar workflow to copy multiple tables from one geodatabase to another by using the Table To Geodatabase geoprocessing tool.

Feedback on this topic?

Copy feature datasets, feature classes, and tables to a geodatabase—ArcGIS Pro (2024)

FAQs

Copy feature datasets, feature classes, and tables to a geodatabase—ArcGIS Pro? ›

In the Catalog tree, right-click the feature dataset, feature class, or table you want to copy. Click Copy. Right-click the geodatabase to which you want to copy the data. Click Paste.

Which steps do you complete to copy and paste a feature class from one geodatabase into another? ›

In the Catalog tree, right-click the feature dataset, feature class, or table you want to copy. Click Copy. Right-click the geodatabase to which you want to copy the data. Click Paste.

How do I Export a feature dataset to geodatabase? ›

On the Project tab in the Catalog pane, right-click the feature dataset layer and point to the Export drop-down menu. Click Feature Class(es) To Geodatabase to open the Feature Class To Geodatabase geoprocessing tool.

How do I import a table into geodatabase in ArcGIS pro? ›

Import tables

To import a table from the Catalog pane, right-click the geodatabase and from the context menu, select Import > Table(s). One or more Microsoft Excel worksheets, dBASE, delimited files, or geodatabase tables can all be imported using the Table To Geodatabase tool.

Can a geodatabase store multiple feature datasets? ›

You cannot create feature datasets within another feature datasets. You need to create multiple Geodatabases, each containing multiple datasets. These datasets can contain multiple feature classes within them.

How is a feature layer copied from one geodatabase to another geodatabase? ›

In the Catalog pane, connect to the geodatabase or database that contains the feature dataset, feature class, or table you want to copy. Right-click the geodatabase to which you want to copy the data. A progress bar appears in the destination geodatabase to display the progress of the copy-paste operation.

What are three methods of adding data to a geodatabase? ›

Copy and Paste —You can copy a dataset and paste it into another location. Importing datasets —You can import datasets into a geodatabase. Exporting datasets —You can export a dataset directly to a geodatabase or to an XML workspace or XML recordset.

How do I extract data from a geodatabase in ArcGIS pro? ›

To extract data from a geodatabase, open the Extract Data From Geodatabase geoprocessing tool using the Analysis tab and click Tools in the Geoprocessing group. You can also search for or browse to the Extract Data From Geodatabase tool in the Data Management Tools toolset in the General toolbox.

Can a feature class be stored in a file geodatabase? ›

Each feature class is a collection of geographic features with the same geometry type (point, line, or polygon), the same attributes, and the same spatial reference. Feature classes stored in geodatabases can be extended as needed to achieve a number of objectives.

How do I add data to my database in ArcGIS Pro? ›

While working with a relational database in ArcGIS Pro, you can create tables, feature classes, and database views from the database connection. To add a dataset, right-click the database connection in the Catalog pane and click New. Next, choose the type of dataset to create from the context menu list.

What is feature class in geodatabase? ›

Feature classes are hom*ogeneous collections of common features, each having the same spatial representation (such as points, lines, or polygons) and a common set of attributes (for example, a line feature class for representing road centerlines).

How do I add a shapefile to an existing geodatabase? ›

In the ArcCatalog tree, right-click the shapefile you want to import into your geodatabase. Point to Export. Click Shapefile to Geodatabase Wizard. The wizard appears with the input shapefile field already populated with the shapefile you selected in ArcCatalog.

Top Articles
Latest Posts
Article information

Author: Arline Emard IV

Last Updated:

Views: 6605

Rating: 4.1 / 5 (72 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Arline Emard IV

Birthday: 1996-07-10

Address: 8912 Hintz Shore, West Louie, AZ 69363-0747

Phone: +13454700762376

Job: Administration Technician

Hobby: Paintball, Horseback riding, Cycling, Running, Macrame, Playing musical instruments, Soapmaking

Introduction: My name is Arline Emard IV, I am a cheerful, gorgeous, colorful, joyous, excited, super, inquisitive person who loves writing and wants to share my knowledge and understanding with you.