How to create a locations filter
Location filters can be very useful for High Crash Location. This article describes the format of the location filters.
High Crash Location lists have a powerful feature call a location filter. Location filters allow high crash location lists to be restricted to a specific list of locations. For example using a location filter of only signalized intersections will restrict the results of high crash locations to only signalized intersections contained in the filter.
This article shows how to create a location filter file for use in Intersection Magic.
Locations filters are text files that contain an intersection names. This text file has a *.lol extension.
The file used to specify a location filter has the following format:
- One intersection per line.
- Intersection names are defined a street & cross street.
- The intersection names may be enclosed in quotes if desired.
- There are no blank lines between the intersection names.
Here is an example if of a what a location filter would like when opened in an IMW edit window.
“Broadway & Central Bl”
“Central Bl & Division St”
“30th St & Evergreen Bl”
“30th St & Industrial Rd”
“Broadway & Main St”
The easiest way to create location filter is create a high crash location list, and then delete the unwanted intersections.
Here is how to create a list of Intersections to edit:
- Open the Generate High Accident Locations window(Reports/Listings/High accident locations).
- In the “Show the first ____ intersections” box enter a number that will include all of the intersection in your database.
- In the “with at least ___ collisions.” box enter a 1 for at least one collision.
- Click the radio check box for “As data”.
- Check only the Name column in the “Columns to display” section.
- Click the OK button to create an intersection list.
The resulting list can be edited to remove the unwanted information an locations. For example if the filter is only of the signalized intersections then the non-signalized intersections lines can be deleted. Ensure that the “Intersection”, “Totals:” and “Averages:” lines are deleted from the file. Once the file is edited it should be saved with a .lol extension to be recognized as a location filter. As with filter files multiple location filters files can be created and saved.
Once saved, A location filter can be selected for use in the “Generate High Accident Locations window”. Just click the “Location filter” bar. Then click the “Limit to locations in file:” radio button, and click the “…” button to select the location file that you have created. Click the OK button to save the information and return to the “Generate High Accident Locations window”.