Label | Explanation | Data Type |
Input Dataset
| The point, line, polygon, or table dataset that will be copied. | Table View |
Output Dataset | The output dataset that will be created when the MFC dataset is copied. | Feature Class; Table |
Summary
Copies a dataset from a multifile feature connection (MFC) to a feature class.
Usage
This tool is only used for copying MFC datasets to a feature class. Other inputs are not supported.
This tool requires a MFC. To create a MFC, use the Create Multifile Feature Connection tool.
Multifile feature connection datasets can be used as input to most geoprocessing tools. The following are examples of when to use the Copy Dataset From Multifile Feature Connection tool to copy datasets:
- To use datasets in tools that require editing of the original dataset (such as the Calculate Field tool)
- To use datasets in service-based analysis, such as when using the Feature Analysis tools
- To apply selections to an analysis
- To change the location of where the data is stored for future use
- To create reports of the data or apply advanced symbology
Before running the tool, ensure that the data is registered correctly. To verify that the dataset is registered as expected, use the Describe Dataset tool.
The following geoprocessing environment settings can be used to modify how features will be output:
- Use the Extent environment to limit the output by an area of interest or to sample features from the defined study area.
- Use the Output Coordinate System environment to project outputs to the appropriate spatial reference.
This tool creates a feature class from a MFC dataset. The following tools can be used to modify a MFC:
- Duplicate Dataset From Multifile Feature Connection—Create a view of an existing MFC dataset.
- Preview Multifile Feature Connection Dataset—Preview the fields in a dataset to verify they are correctly registered.
- Refresh Multifile Feature Connection—Check for any new datasets and add them to the MFC.
- Remove Dataset From Multifile Feature Connection—Remove a dataset from the MFC.
- Update Multifile Feature Connection Dataset Properties—Modify the properties of a MFC dataset.
This geoprocessing tool is powered by Spark. Analysis is completed on your desktop machine using multiple cores in parallel. See Considerations for GeoAnalytics Desktop tools to learn more about running analysis.
Parameters
arcpy.geoanalytics.CopyDatasetFromBDC(input_layer, output)
Name | Explanation | Data Type |
input_layer | The point, line, polygon, or table dataset that will be copied. | Table View |
output | The output dataset that will be created when the MFC dataset is copied. | Feature Class; Table |
Code sample
The following Python window script demonstrates how to use the CopyDatasetFromBDC function.
# Name: CopyDatasetFromBDC.py
# Description: Copies a dataset from a MFC to a file geodatabase.
# Import system modules
import arcpy
arcpy.env.workspace = "C:/data/basin.gdb"
# Set local variables
inputDataset = "C:/data/Datasets.mfc/rivers"
output = "rivers"
# Run CopyDatasetFromBDC
arcpy.gapro.CopyDatasetFromBDC(inputDataset, output)