Find Conflicts (Coverage)

Summary

Finds where simplified buildings overlap or are too close to each other, based on a specified distance.

Illustration

Find Conflicts illustration

Usage

Syntax

FindConflicts_arc (in_cover, out_cover, conflict_distance)
ParameterExplanationData Type
in_cover

The input coverage containing buildings as regions, with the subclass BLDGSIM and the item BDS-GROUP, obtained by the Simplify Building tool followed by the Clean tool with the POLY option.

Coverage
out_cover

The output coverage containing overlapping region buffers, with a subclass BUF, that show spatial conflicts among buildings. This coverage will only be created when conflicts are found. The <out_cover> name must be different from the <in_cover> name.

Coverage
conflict_distance

Sets the conflict distance in coverage units. Buildings within this distance are considered in spatial conflict. The distance must be greater than 0.

Double

Code Sample

FindConflicts example (stand-alone script)

The following stand-alone script demonstrates how to use the FindConflicts tool.

# Name: SimplifyBuilding_Example.py
# Description: Simplifies a building coverage and finds conflicts in the output
# Requirements: ArcInfo Workstation
# Author: ESRI

# Import system modules
import arcpy
from arcpy import env

# Set environment settings
env.workspace = "C:/data"

# Set local variables for SimplifyBuilding
inSimplifyCover = "campus"
outSimplifyCover = "C:/output/tempcampus"
simplificationTolerance = 6
minimumArea = 55

# Set local variables for FindConflicts
inCover = outSimplifyCover
outCover = "C:/output/cartocampus"
conflictDistance = 5.5

# Execute SimplifyBuilding and Clean
arcpy.SimplifyBuilding_arc(inSimplifyCover, outSimplifyCover, 
                           simplificationTolerance, minimumArea, "", "")
arcpy.Clean_arc(outSimplifyCover)

# Execute FindConflicts
arcpy.FindConflicts_arc(inCover, outCover, conflictDistance)

Environments

Related Topics

Licensing Information

ArcView: No
ArcEditor: No
ArcInfo: Requires ArcInfo Workstation installed

Published 6/8/2010