Create Topology (Data Management) (ArcInfo and ArcEditor only) |
|
Release 9.2
Last modified November 29, 2010 |
![]() ![]() ![]() Print all topics in : "Tools" |
Creates a new empty topology. The topology will not contain any feature classes or rules. Use the Add Feature Class To Topology and the Add Rule To Topology tools to populate the topology with feature classes and rules.
If you do not specify a cluster tolerance or enter a value of zero, the default or minimum cluster tolerance will be applied to the new topology. The default cluster tolerance is derived from the precision of the spatial reference of the feature dataset in which you are creating the topology.
Usage tips
The topology has a minimum and maximum cluster tolerance that is derived from the precision of the spatial reference of the feature dataset in which you are creating the topology. If the value entered is larger than the maximum cluster tolerance, the value will become the maximum. If the value entered is smaller than the minimum, the minimum (or default) will be used.
The following environment affects this tool: Workspace, scratch workspace, cluster tolerance, and extent.
Command line syntax
An overview of the Command Line window
CreateTopology_management <in_dataset> <out_name> {in_cluster_tolerance}
Parameter | Explanation | Data Type |
<in_dataset> |
The feature dataset in which you want to create a topology. |
Feature Dataset |
<out_name> |
The topology you want to create. The topology name must be unique in the geodatabase. |
String |
{in_cluster_tolerance} |
The minimum distance between vertices in the topology. Vertices that fall within the cluster tolerance will be snapped together during the validation. |
Double |
CreateTopology D:\Calgary\Trans.mdb\Streets\ Street_Topo 0
Scripting syntax
About getting started with writing geoprocessing scripts
CreateTopology_management (in_dataset, out_name, in_cluster_tolerance)
Parameter | Explanation | Data Type |
in_dataset (Required) |
The feature dataset in which you want to create a topology. |
Feature Dataset |
out_name (Required) |
The topology you want to create. The topology name must be unique in the geodatabase. |
String |
in_cluster_tolerance (Optional) |
The minimum distance between vertices in the topology. Vertices that fall within the cluster tolerance will be snapped together during the validation. |
Double |
import arcgisscripting gp = arcgisscripting.create() gp.workspace = "h:/workspace" gp.toolbox = "esri" gp.CreateTopology "d:\landuse.mdb\landuse", "landuse_ca"