Skip to content

Tool Intersection Density

donebert edited this page Aug 24, 2022 · 14 revisions

Intersection Density

Summary

Estimates the intersection density of roads within a given search radius for any pixel in the output raster. Intersections are defined as any point where three or more roads meet and density is calculated using kernel density, where closer intersections are weighted higher than further intersections.

The kernel density operation uses the Planar option for calculations. For accurate results, the analysis should to be performed at a local scale with a projection that accurately maintains the correct distance and area.

Usage

To be edited.

Syntax

ID (Road_feature, {Merge_divided_roads}, {Merge_field}, Merge_distance, Output_Coordinate_System, Density_raster_cell_size, Density_raster_search_radius, Density_raster_area_units, Output_raster, {Select_options})

Parameter Explanation Data Type
Road_feature The vector line dataset representing roads or other linear features to be measured. Feature Layer
Merge_divided_roads (Optional) Specifies whether to merge matched pairs of divided roads into single-line road features before calculating intersection points. Matched pairs of roads are merged if they are the same road class, trend generally parallel to one another, and are within the merge distance apart.

  • false - Divided roads will not be merged. This is the default.
  • true - Divided roads will be merged before intersections are located.
Boolean
Merge_field (Optional) The field that contains road classification information. Only parallel, proximate roads of equal classification will be merged. A value of 0 (zero) locks a feature to prevent it from participating in merging.

This parameter may be left blank. If blank, all parallel roads within the specified distance will be merged.
Merge_distance The minimum distance apart, in the specified units, for equal-class, relatively parallel road features to be merged. This distance must be greater than zero. Linear Unit
Output_Coordinate_System The coordinate system used for the output data.

Its linear units are used to define the distance units in Merge distance, Density raster cell size, and Density raster search radius parameters.
Coordinate System
Density_raster_cell_size The cell size of the output raster that will be created.

Units use the linear unit of the Output Coordinate System.
Double
Density_raster_search_radius The search radius within which to calculate density. Units are based on the linear unit of the projection of the output spatial reference.

For example, if the units are meters—to include all features within a one-mile neighborhood—set the search radius equal to 1609.344 (1 mile = 1609.344 meters).

The default search radius is computed specifically for the input dataset using a spatial variant of Silverman's Rule of Thumb (Silverman, 1986) that is robust enough for spatial outliers (points that are far away from the rest of the points). See the usage tips for a description of the algorithm.
Double
Density_raster_area_units The area units of the output density values. String
Output_raster The output intersection density raster.

It is always a floating point raster.
Raster Dataset
Select_options (Optional) One tool option is available to provide additional information:

  • Retain Intermediate Layers Generated During Metric Calculation - Saves the intermediate data layers that are normally deleted after processing is complete.
Multiple Value

Tool Messages (Example)

Code Samples

Intersection Density example (Python window)

NOTE: ATtILA tools that utilize the Report metrics for these classes parameter will clear all class selections when the tool is opened. This results in setting any variable set for that parameter to None when calling the tool from a script. Because of this, the standard scripting syntax (e.g. arcpy.ATtILA.LCP(variable 1, variable 2, variable 3, etc.) will fail. To overcome this idiosyncrasy, use the scripting example provided below.

Tags

There are no tags for this item.

Credits

There are no credits for this item.

Use Limitations

There are no access and use limitations for this item.

arrow_up Page

Table of contents

Clone this wiki locally