Add Feature Class to Topology (Data Management) (ArcInfo and ArcEditor only) |
|
Release 9.2
Last modified November 29, 2010 |
![]() ![]() ![]() Print all topics in : "Tools" |
Adds a new feature class to a topology. This new feature class can be empty or may contain existing features. The new feature class must be in the same feature dataset as the topology.
Versioned feature classes cannot be added to a topology.
Usage tips
Adding a new rule to a topology automatically makes the entire topology dirty, so when you finish adding feature classes and rules, you will need to revalidate the topology. The new features may create errors, depending on the rules that you add.
The input topology cannot be registered as versioned.
The input feature class cannot be registered as versioned.
When validation of the topology cracks and clusters feature vertices, vertices from feature classes assigned a higher rank will not be moved when snapping with vertices with lower-ranked feature classes. The highest rank is one, and you can assign up to 50 different ranks.
If the feature class you are adding is z-aware, you can rank the relative accuracy of the feature class by elevation by setting the z rank for the feature class.
The following environment affects this tool: Workspace, scratch workspace, Output has Z values, Default Z value, Output XY domain, Output Z domain and extent.
Command line syntax
An overview of the Command Line window
AddFeatureClassToTopology_management <in_topology> <in_featureclass> <xy_rank> <z_rank>
Parameter | Explanation | Data Type |
<in_topology> |
The topology to which you want to add a feature class. |
Topology |
<in_featureclass> |
The feature class that you want to add to the topology. The feature class must be in the same feature dataset as the topology. |
Feature Class |
<xy_rank> |
The relative degree of positional accuracy associated with vertices of features in the feature class you are adding to the topology. |
Long |
<z_rank> |
Feature classes that are z-aware have elevation values embedded in their geometry for each vertex. By setting a z rank, you can influence how vertices with accurate z-values are clustered with vertices that contain less accurate z measurements. |
Long |
AddFeatureClassToTopology D:\Calgary\Trans.mdb\Streets\Street_Topo D:\Calgary\Trans.mdb\Streets\StreetNetwork 1 1
Scripting syntax
About getting started with writing geoprocessing scripts
AddFeatureClassToTopology_management (in_topology, in_featureclass, xy_rank, z_rank)
Parameter | Explanation | Data Type |
in_topology (Required) |
The topology to which you want to add a feature class. |
Topology |
in_featureclass (Required) |
The feature class that you want to add to the topology. The feature class must be in the same feature dataset as the topology. |
Feature Class |
xy_rank (Required) |
The relative degree of positional accuracy associated with vertices of features in the feature class you are adding to the topology. |
Long |
z_rank (Required) |
Feature classes that are z-aware have elevation values embedded in their geometry for each vertex. By setting a z rank, you can influence how vertices with accurate z-values are clustered with vertices that contain less accurate z measurements. |
Long |