Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Cartography toolbox > Graphic Quality toolset > Tools

Detect Graphic Conflict (Cartography) (ArcInfo only)

Release 9.2
Last modified July 13, 2007
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

Detects graphic conflicts between feature representations and stores the overlaps as polygons in the output feature class.


Illustration

Detect graphic quality

Usage tips

Command line syntax
An overview of the Command Line window
DetectGraphicConflict_cartography <in_features> <conflict_features> <out_feature_class> {conflict_distance} {line_connection_allowance}

Parameter Explanation Data Type
<in_features>

The input feature layer containing representations.

Layer
<conflict_features>

The feature layer containing representations potentially in conflict with the representations in the input feature layer.

Layer
<out_feature_class>

The output feature class to be created to store conflict polygons. It cannot be one of the feature classes associated with the input feature layers.

Feature Class
{conflict_distance}

Sets the conflict distance. Temporary buffers one-half the size of the conflict distance value are created around feature representation graphics in both the input and conflict layers. Conflict polygons will be generated where buffers overlap. Conflict distance is calculated in page units (Points, Milimeters, and so on). If you enter a conflict distance in map units, it will be converted to page units using the reference scale. When the conflict distance is zero, no buffers are made, and just the representation footprints are used to detect conflicts; this is the default.

Linear unit
{line_connection_allowance}

The line connection allowance is the radius of a circle, centered where lines join, within which graphic overlaps won't be detected. This parameter is only considered when the input layer and the conflict layer are identical, and contain line representations. Otherwise, this value is ignored when the tool is executed. The default value is 1 point. A value of zero means no allowance, and will detect a conflict at each line join in this case. The value can not be negative. Line connection allowance is calculated in page units (points, mm, in, or cm). If you enter a conflict distance in map units, it will be converted to page units using the reference scale.

Linear unit
Data types for geoprocessing tool parameters


Command line example

DetectGraphicConflict_cartography c:\workspace.mdb\roads.lyr railroads.lyr ConflictPoly "2 Points"

Scripting syntax
About getting started with writing geoprocessing scripts
DetectGraphicConflict_cartography (in_features, conflict_features, out_feature_class, conflict_distance, line_connection_allowance)

Parameter Explanation Data Type
in_features (Required)

The input feature layer containing representations.

Layer
conflict_features (Required)

The feature layer containing representations potentially in conflict with the representations in the input feature layer.

Layer
out_feature_class (Required)

The output feature class to be created to store conflict polygons. It cannot be one of the feature classes associated with the input feature layers.

Feature Class
conflict_distance (Optional)

Sets the conflict distance. Temporary buffers one-half the size of the conflict distance value are created around feature representation graphics in both the input and conflict layers. Conflict polygons will be generated where buffers overlap. Conflict distance is calculated in page units (Points, Milimeters, and so on). If you enter a conflict distance in map units, it will be converted to page units using the reference scale. When the conflict distance is zero, no buffers are made, and just the representation footprints are used to detect conflicts; this is the default.

Linear unit
line_connection_allowance (Optional)

The line connection allowance is the radius of a circle, centered where lines join, within which graphic overlaps won't be detected. This parameter is only considered when the input layer and the conflict layer are identical, and contain line representations. Otherwise, this value is ignored when the tool is executed. The default value is 1 point. A value of zero means no allowance, and will detect a conflict at each line join in this case. The value can not be negative. Line connection allowance is calculated in page units (points, mm, in, or cm). If you enter a conflict distance in map units, it will be converted to page units using the reference scale.

Linear unit

Data types for geoprocessing tool parameters


Script example

import arcgisscripting
gp = arcgisscripting.create()

gp.workspace = "c:\Workspace.mdb"
gp.toolbox = "cartography"
gp.DetectGraphicConflict ("roads.lyr", "railroads.lyr", "ConflictPoly", "2 Points")

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.