Workflow using ArcGIS Pro
Create a hot spot map of violent crime densities.
- If you haven't done so already, download and unzip the data package provided at the top of this workflow.
- Open ArcGIS Pro and browse to the BrokenBottlesPkg.ppkx project package.
- Once the project opens, find and open the Optimized Hot Spot Analysis tool. If the Geoprocessing pane isn't open, click the Analysis menu tab, then click the Tools button.
- Run the Optimized Hot Spot Analysis tool with the following parameters. The Analysis Boundary layer defines the study area.
- Input Features : Violent Crime 2014
- Output Features : the name of your output feature class such as ViolentCrimeHotSpots
- Incident Data Aggregation Method : Count incidents within fishnet grid
- Bounding Polygons Defining Where Incidents Are Possible : Analysis Boundary
While the tool runs, it reports the cell size it used for aggregation and the distance it used for analysis (the scale of the analysis). To see this information, hover over the progress bar below the Geoprocessing pane and click the icon to pop out the progress messages. You may resize the message pane by pulling on the lower right corner of the pop out window.
Notice that for this analysis the cell size is 1,375 feet and the scale of analysis is 4,563 feet (4,554 Feet with the most current software).f you are comparing multiple hot spot maps, you will want to make sure that the study area, cell size, and scale of analysis all match.
The output map created by Optimized Hot Spot Analysis is shown below:
Create a hot spot map of liquor vendor densities.
- Use the Optimized Hot Spot Analysis tool again with the following parameter settings. You will use the output from the violent crime hot spot analysis to define the study area and cell size.
- Input Features : Liquor Vendors
- Output Features : the name of your output feature class such as LiquorVendorHotSpots
- Incident Data Aggregation Method : Count incidents within aggregation polygons
- Polygons For Aggregating Incidents Into Counts : ViolentCrimeHotSpots
Now you can compare the hot spot maps to see where their activity spaces overlap.
Create a hot spot map of poverty.
- Navigate to Poverty.lpk included with the data package you downloaded. Drag it on the map.
- Find and open the Optimized Hot Spot Analysis tool a third time.
- Set the parameters as follows and run the analysis.
- Input Features: Poverty
- Output Features: the name of your output feature class such as PovertyHotSpots
- Analysis Field: 2009-2013 ACS Households with Income Below Poverty Level
Overlay the hot spot maps to determine areas of overlap.
- Find and open the Select Layer By Attribute tool. You will run the tool on all three hot spot maps, each time selecting records where the Gi_Bin field is equal to 3 (a three for this field indicates a statistically significant hot spot at the 99 percent confidence level). The Gi_Bin field name will reflect the scale of analysis (4554 for the most current version of the software).
- Next, find and open the Intersect tool. Add all three layers as Input Features, provide a name for the output, such as iCrimeLiquorPoverty, and run the analysis.
- Clear the selections, and turn off all other layers in order to see the output showing the overlapping locations. These locations will be your proposed areas for a liquor moratorium.
Create a space-time cube and analyze the crime trends within it.
- Find and open the Create Space Time Cube tool.
- For version 1.4 or later of ArcGIS Pro, to ensure the cube output aligns with the hot spot output, you must set the Processing Extent to match the Analysis Boundary layer. Click the Environments tab and change the Extent to Analysis Boundary.
- Set the Create Space Time Cube Parameters as follows and run the analysis. The cube is a netCDF file, so it must be created in a folder rather than inside a file geodatabase. Setting the Distance Interval to match the hot spot map cell size will allow you to overlay the crime trends with hot spot maps later. For version 1.4 of ArcGIS Pro only, you must convert 1375 US Feet to 1375 International Feet (1375.00275).
- Input Features: Violent Crime 2014
- Output Space Time Cube: the name of your output cube such as ViolentCrimeCube.nc
- Time Field: Date
- Time Step Interval: 4 Weeks
- Time Step Alignment: End time
- Distance Interval: 1375 Feet; for version 1.4 and 2.0 of ArcGIS Pro only, use 1375.00275 instead (see note below).
- Find and open the Emerging Hot Spot Analysis tool.
- Set the following parameters and run the analysis.
- Input Space Time Cube: ViolentCrimeCube.nc
- Analysis Variable: COUNT
- Output Features: the name of your output feature class such as ViolentCrimeTrends
- Neighborhood Distance: 0.5 Miles
- Neighborhood Time Step: 1
- Polygon Analysis Mask: Analysis Boundary
- Examine the results. The trend categories are defined as follows.
- Click the Insert menu tab. Expand the New Map button and select New Scene.
- Find and open the Visualize Space Time Cube in 3D tool and run it with the following parameters.
- Input Space Time Cube : the path to space time cube you created above, ViolentCrimeCube.nc
- Cube Variable : COUNT
- Display Theme : Hot and cold spot results
- Output Features : CrimeTrends3D
- Right click on Scene in the Contents pane and select Properties.
- Select Elevation Surface, expand Ground, and remove all active elevation surfaces by clicking the red X next to each one.
- Explore the 3D scene.
The tool will report it completed successfully but will not add new layers to the map.
Pattern Type | Definition |
---|---|
New Hot Spot | A location that is a statistically significant hot spot for the final time step and has never been a statistically significant hot spot before. |
Consecutive Hot Spot | A location with a single uninterrupted run of statistically significant hot spot bins in the final time-step intervals. The location has never been a statistically significant hot spot prior to the final hot spot run and less than ninety percent of all bins are statistically significant hot spots. |
Intensifying Hot Spot | A location that has been a statistically significant hot spot for ninety percent of the time-step intervals, including the final time step. In addition, the intensity of clustering of high counts in each time step is increasing overall and that increase is statistically significant. |
Persistent Hot Spot | A location that has been a statistically significant hot spot for ninety percent of the time-step intervals with no discernible trend indicating an increase or decrease in the intensity of clustering over time. |
Diminishing Hot Spot | A location that has been a statistically significant hot spot for ninety percent of the time-step intervals, including the final time step. In addition, the intensity of clustering in each time step is decreasing overall and that decrease is statistically significant. |
Sporadic Hot Spot | A location that is an on-again-off-again hot spot. Less than ninety percent of the time-step intervals have been statistically significant hot spots and none of the time-step intervals have been statistically significant cold spots. |
Oscillating Hot Spot | A statistically significant hot spot for the final time-step interval that has a history of also being a statistically significant cold spot during a prior time step. Less than ninety percent of the time-step intervals have been statistically significant hot spots. |
Historical Hot Spot | The most recent time period is not hot, but at least ninety percent of the time-step intervals have been statistically significant hot spots. |
New Cold Spot | A location that is a statistically significant cold spot for the final time step and has never been a statistically significant cold spot before. |
Consecutive Cold Spot | A location with a single uninterrupted run of statistically significant cold spot bins in the final time-step intervals. The location has never been a statistically significant cold spot prior to the final cold spot run and less than ninety percent of all bins are statistically significant cold spots. |
Intensifying Cold Spot | A location that has been a statistically significant cold spot for ninety percent of the time-step intervals, including the final time step. In addition, the intensity of clustering of low counts in each time step is increasing overall and that increase is statistically significant. |
Persistent Cold Spot | A location that has been a statistically significant cold spot for ninety percent of the time-step intervals with no discernible trend, indicating an increase or decrease in the intensity of clustering of counts over time. |
Diminishing Cold Spot | A location that has been a statistically significant cold spot for ninety percent of the time-step intervals, including the final time step. In addition, the intensity of clustering of low counts in each time step is decreasing overall and that decrease is statistically significant. |
Sporadic Cold Spot | A location that is an on-again-off-again cold spot. Less than ninety percent of the time-step intervals have been statistically significant cold spots and none of the time-step intervals have been statistically significant hot spots. |
Oscillating Cold Spot | A statistically significant cold spot for the final time-step interval that has a history of also being a statistically significant hot spot during a prior time step. Less than ninety percent of the time-step intervals have been statistically significant cold spots. |
Historical Cold Spot | The most recent time period is not cold, but at least ninety percent of the time-step intervals have been statistically significant cold spots. |
No Trend Detected | Does not fall into any of the hot or cold spot patterns defined above. |
To see a 3D visualization of the crime trend analysis data, you will create a new scene.
Zoom in and tilt the 3D scene so you can see the individual bins in relation to the base map. If you look closely, you may notice that some of the bins at the bottom of each time series are below the base map. This is because the base map is using elevation while the bins are not. To see the full time series at each location you just need to shut down the elevation service. Don't worry, though, the next time you insert a new scene, it will have the appropriate elevation services running.
Create a hot spot map of unemployment rates.
- If you are still in Scene, activate the Map view to work again with your 2D data.
- Navigate to Unemployment.lpk included with the data package you downloaded. Drag it onto the map.
- Open the Optimized Hot Spot Analysis tool.
- Set the parameters as follows and run the analysis.
- Input Features: Unemployment
- Output Features: the name of your output feature class such as UnemploymentRateHotSpots
- Analysis Field: 2015 Unemployment Rate
Overlay the violent crime trend map with the unemployment rate hot spot map to determine areas of overlap.
- Find and open the Select Layer By Attribute tool. You will use it once to select intensifying, persistent, and consecutive hot spots (Pattern Type COUNT is Equal to Consecutive Hot Spot Or Pattern Type COUNT is Equal to Intensifying Hot Spot Or Pattern Type COUNT is Equal to Persistent Hot Spot) and a second time to select the most intense unemployment rate hot spots (Gi_Bin Fixed 4556_FDR is equal to 3).
- Next, find and open the Intersect tool. Add the violent crime trends and unemployment rate hot spot maps with their active selections, provide a name for the output results such as iCrimeUnemp, and run the analysis.
Finally, select the public high schools within a quarter mile of the overlapping areas.
- Find and open the Select Layer By Location tool.
- Set the parameters as follows:
- Input Feature Layer: Public High Schools
- Relationship: Within a distance
- Selecting Features: iCrimeUnemp
- Search Distance: 0.25 Miles
- Use the Copy Features tool to copy the selected high schools to a new feature class (this is optional, but it makes mapping and creating reports a bit easier).
- Input Features: Public High Schools
- Output Feature Class: the name of your output feature class such as SelectedHighSchools
You are now ready to make your final recommendations.