ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Validate Topology

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

Validates a geodatabase topology.

The Validate Topology tool performs the following operations:

  • Cracking and clustering of feature vertices to find features that share geometry (have common coordinates)
  • Inserting common coordinate vertices into features that share geometry
  • Running a set of integrity checks to identify any violations of the rules that have been defined for the topology

Usage

  • If you validate an enterprise geodatabase topology in ArcCatalog, the feature dataset the topology is in must not be registered as versioned.

  • This tool will only process dirty areas. For details on dirty areas, see Topology in ArcGIS.

  • If the tool is being used in ArcMap, the Visible Extent parameter can be used to limit validation to the extent visible in the map display.

Syntax

arcpy.management.ValidateTopology(in_topology, {visible_extent})
ParameterExplanationData Type
in_topology

The geodatabase topology to be validated.

Topology Layer
visible_extent
(Optional)

Specifies whether the current visible extent of the map or the full extent of the topology will be validated. If the tool is run in ArcCatalog or in a Python script, the entire extent of the topology will be validated regardless of this parameter setting.

  • Full_Extent —The entire extent of the topology will be validated. This is the default.
  • Visible_Extent —Only the current visible extent will be validated.
Boolean

Derived Output

NameExplanationData Type
out_topology

The updated topology.

Topology Layer

Code sample

ValidateTopology example (stand-alone script)

The following stand-alone script demonstrates how to use the ValidateTopology function.

# Name: ValidateTopology_Example.py
# Description: Validates a topology

import arcpy
arcpy.ValidateTopology_management("D:/Calgary/Trans.gdb/Streets/Street_Topo")

Environments

  • Current Workspace

Licensing information

  • Basic: No
  • Standard: Yes
  • Advanced: Yes

Related topics

  • An overview of the Topology toolset
  • Topology basics
  • Topology in ArcGIS
  • Designing a geodatabase topology

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal