Intersection density

This tool can be used to map the density of intersections between the features of a user-specified vector file of a POLYLINE or POLYGON base ShapeType and the search annulus (ring) of a buffer operation. It can be used to answer the question, 'how many intersections are at a distance of d?' In addition to the input shapefile, the user must also specify the name of the output raster, the desired search distance, and the grid resolution of the output file.

See Also:

Scripting:

The following is an example of a Python script that uses this tool:

wd = pluginHost.getWorkingDirectory()
inputFile = wd + "input.shp"
outputFile = wd + "output.dep"
bufferDist = "1000.0"
gridRes = "20.0"
args = [inputFile, outputFile, bufferDist, gridRes]
pluginHost.runPlugin("IntersectionDensity", args, False)

This is a Groovy script also using this tool:

def wd = pluginHost.getWorkingDirectory()
def inputFile = wd + "input.shp"
def outputFile = wd + "output.dep"
def bufferDist = "1000.0"
def gridRes = "20.0"
String[] args = [inputFile, outputFile, bufferDist, gridRes]
pluginHost.runPlugin("IntersectionDensity", args, false)

Credits: