Topology properties arcgis
The following stand-alone script displays properties for a topology. import arcpy # Create a Describe object from a topology. # desc = arcpy.Describe("C:/data/moad.gdb/East/ParkZones_topology") # Print some topology properties # print "%-27s %s" % ("ClusterTolerance:", desc.clusterTolerance) print "%-27s %s" % ("ZClusterTolerance:", desc.ZClusterTolerance) print "%-27s %s" % ("FeatureClassNames:", desc.featureClassNames) print "%-27s %s" % ("MaximumGeneratedErrorCount:", desc.maximumGeneratedErrorCount)
On the Topology Properties dialog box, you can view the status of and update the feature classes and rules associated with a topology. To access the Topology Properties dialog box, right-click the topology in the Contents pane and choose Properties. The Topology Properties dialog box has four tabs: General, Feature Classes, Rules, and Errors. Some of the tabs allow you to update the topology and edit properties. Any edits made to the topology are committed when you click OK.To discard your edits, close the Topology Properties dialog box or click Cancel. For detailed information regarding topology concepts and properties, see Topology in ArcGIS. The General tab contains the following information:
The Feature Classes tab shows the number of coordinate accuracy ranks and z ranks in the topology and which rank is assigned to each participating feature class. When you define a topology, you rank the feature classes in the topology to control how vertices are moved when they fall within the cluster tolerance of one another. Feature classes with a rank of 1 are considered to have the highest accuracy. Coordinate ranks allow you to ensure that reliably placed vertices are the anchor locations toward which less reliable vertices are moved during topology validation. You can edit the total number of x,y ranks and z ranks by clicking in their respective text boxes and typing a new number. To edit the x,y or z rank associated with a feature class, click in the column next to the feature class and type a new number. You cannot enter a number greater than the amount shown in the Number of XY Ranks or Number of Z Ranks text boxes. The Feature Classes tab also allows you to add feature classes to, or remove feature classes from, the topology. The grid displays all feature classes in the feature dataset containing the topology. Choose the feature classes to add to the topology by checking the check box next to the feature class name. Unchecking the check box removes that feature class from the topology. You can select all available feature classes in the feature dataset by clicking Select All. Click Clear All to deselect all currently selected feature classes. Click OK to add the selected feature classes to the topology. Click Cancel to close the Topology Properties dialog box without adding any feature classes to the topology. Topology rules define the permissible spatial relationships between features. The Rules tab displays the topology rules defined for feature classes and subtypes participating in the topology. To add rules to the topology, click Add or click in the last row of the grid where it says Click here to add a new rule. This creates an empty row. You can build a new rule between feature classes and their subtypes using the drop-down menus in each column and filling in each cell from left to right to define the rule. To remove a rule from the topology, select a row in the grid and click Remove. You can save rules as a rule set file that can be shared and reused.
To load topology rules from a rule set file, complete the following steps:
The Errors tab provides a summary of errors and exceptions found in the topology. Similar to the Rules tab, the grid shows the topology rules and their participating feature classes and subtypes. The errors and exceptions associated with each topology rule are displayed on the right of the grid. Errors are generated when you validate a topology or a topology rule is violated. Click the Export to file button to save the summary as a text file to create a record of the state of the topology at a given time. This is a useful way to document and monitor progress on a large topology editing project. See Validate and fix geodatabase topology for more information. Feedback on this topic? |