Create an O-D with Middle Filter Analysis

This guide will take you through how to set up and create a basic Origin-Destination Analysis with Middle Filter. Our Origin-Destination Analysis with Middle Filter Project Type is similar to our Origin-Destination Analysis but adds in a select link analysis. When using Middle Filter Zones, you can assess trip flows and volumes that go from or through an Origin Zone, through a Middle Filter, and to or through a Destination Zone. 

Our Origin-Destination Analysis with Middle Filter Project not only gives information on where trips are going and coming from but also tells you more information about how those trips got to their destination. With this in mind, Middle Filter Zones must be marked as Pass-through. This is a mandatory designation because our platform analyzes trips that start or pass through an Origin, then go through the Middle Filter Zone, and finally, end in or pass a Destination Zone. This means that O-D with Middle Filter Analyses are useful when learning more about route choices, cut-through traffic, route changes due to construction or closures, and much more.

For this guide, we will be using an example from the Bay Area, CA. We used the O-D with Middle Filter Project Type to answer the question “What bridges are used for travel from San Mateo County to Alameda County during the Summer of 2018?” While this is a good example, you can use the step-by-step guide to conduct your own O-D with Middle Filter analysis for many other regions and scenarios.



  • Following along with this specific example will only work for accounts without a defined region or a region that covers the San Francisco Bay Area. For other accounts with regional boundaries, you will have to follow along using Zone Sets that work for your specific area.
  • If your account has a unique Zone quota, make sure to indicate in your Zone Set name and Project name that you are running our O-D with Middle Filter example. This will alert Support that you are using Zones for training purposes.

Create and Run an Origin-Destination with Middle Filter Analysis

Step 1: Ensure you have Zone Sets

1a. You will need to have Zone Sets for an O-D with Middle Filter Analysis. Learn more about uploading or drawing Zones.

For an O-D with Middle Filter, you will need to two or three Zone Sets, depending on if your Origin and Destination Zone Sets are the same or not:

Origin Zone Set

  • Can be marked as Pass-through or not
  • Can be a Line Segment or Polygon Zone

Destination Zone Set

  • Can be marked as Pass-through or not
  • Can be a Line Segment or Polygon Zone

Middle Filter Zone Set

  • Must be marked Pass-through (Because these Zones indicate route you are trying to analyze)
  • Can be a Line Segment or Polygon Zone.

Note: Zones that are that are Line Segments will be assessed at the Middle Gate.

In our example, we kept it very simple and used three Zone Sets:

Origin Zone

Middle Filter Zones

Destination Zone


Note: Remember that once you use a Zone Set in a Project, it will no longer be available for editing. Before creating your Project you can edit the names, borders, direction, etc. of your Zone Sets. Learn more about editing a Zone Set.

Step 2: Set Up an Origin-Destination with Middle Filter Project

2a. Go to the “Create Projects” tab under the “Manage Travel Projects” section.

2b. Give your Project a unique name. For this example, we will name our Project “San Mateo - Alameda Bridges.”

2c. Optional: You can type a description of the Project in the description box with any information you want to remember about the Project.


2c. In the “Select a Project Type” drop-down menu, select “O-D Analysis with Middle Filter.” This will automatically populate default values for Type of Travel, Mode of Travel, and Data Source Type. For O-D Analysis with Middle Filter, you will have the following options. Learn more about these options.

  • Type of Travel: “Personal” or “Commercial”
  • Mode of Travel: “All Modes”, “Bicycles”*, or “Pedestrians”* (more modes are coming)
  • Data Source Type: “Location-Based Service with Pass-through” or “Navigation-GPS”
  • Calibration Type: “None (StreetLight Index)”, “Single Factor with User-provided Counts”, or “Single Factor with StreetLight AADT*

*If your subscription is from before January 1, 2019, you may or may not have access to Single Factor with StreetLight AADT as a Calibration Type. 

Note: You can also choose Premium Attributes for O-D with Middle Filter. Learn more about Premium Attributes.

For our example, we chose Personal for Type of Travel, All Modes for Mode of Travel, and Location-Based Service with Pass-through for our Data Source.


Step 3: Choose your Zone Sets

3a. Select your Origin Zone Set in the “Available Zone Sets” box.

Note: All Zone Sets that are available for use in your account will appear in the list in the “Available Zone Sets” box. Zones must be located within your designated subscription region to be used in a Project. Learn more about viewing your subscription region. 

3b. Use the arrow button next to the corresponding “Selected Origin Zone Set(s)” to move your selected Origin Zone Set.

3c. Repeat steps 3a and 3b for your Destination and Middle Filter Zone Sets.

Note: Remember that Middle Filter Zone Sets must contain only Zones that are marked as Pass-through. You will not be able to confirm your Project if any Zones in your Middle Filter Zone Sets are not marked as Pass-through.

For this example, we will select “San Mateo County” as our Origin Zone Set, “Alameda County” as our Destination Zone Set, and “Bridges MF” as our Middle Filter Zone Set.

Pro Tip: You can have multiple Zone Sets as Origins, Destinations, and Middle Filters.

Step 4: Configure Project Options
For any O-D with Middle Filter Analysis, you can click “Edit” to change various Project options. You can change:

  • The Data Period
  • The Day Types
  • The Day Parts
  • Specific Dates*
  • Weight Class Segregation*
  • Premium Trip Bins*

*available for certain subscription levels


4b. When you click edit, a new window will pop-up. This window will allow you to edit and manipulate your Project options.

Step 5: Preview and Confirm your Project

5a. Make sure to Preview your Project before you confirm. This gives you a chance to double check that your Project is set up exactly the way you want it to be. 


5b. Click “confirm” and your Project will begin running. Learn more about what happens to your Project after you click "Confirm," and what our system does to take your Project from running to "Available." 

Projects will take anywhere from a few minutes to a few hours to run, depending on their size and complexity. 


Note: O-D with Middle Filter Analysis go into Coverage Review if our system notices that a Zone has low trip counts. This could occur for various reasons:

  • Your area Zone is in a rural area or is very small
  • You used one or two months of data to run your Project
  • You indicated direction on a Zone that did not match up with normal traffic flow
  • Your pass-through Zone did not align with the OSM layer.

Once the Project is Available, you can analyze the results via the Interactive Visualizations or by downloading the Metrics.

Interactive Visualizations

Step 1: Go to the “Interactive Visualizations” section from the navigation menu in the top corner.

Step 2. Select your Project in the “Select a Project” box by clicking the title of your Project.

Within the Interactive Visualization tool, you can analyze results by type of day and time of day, by Origin Zone or Destination Zone you are visualizing, and more. Learn more about our Interactive Visualization tool.


Since our example only had one Origin and Destination our visualization will not give us a lot of insight. Currently, in our Interactive Visualization, you cannot view multiple Middle Filters at a time. We recognize this is an issue, and are working hard to update our Interactive Visualizations in future releases. With this in mind, we recommend heading straight to the downloaded Metrics to compare Middle Filters. Feel free, though, to check out information in the Interactive Visualizations and if you have any other suggestions reach out to

Downloaded Metrics

Step 1. Download your Project Metrics from StreetLight InSight.

Learn more about downloading Metrics.

Step 2. Analyze the Metrics.

Once you have downloaded Metrics we recommend creating a pivot table. To learn more on how to make a pivot table follow our O-D matrix guide up to step 5c. When creating your pivot table go up to step 5c and then use the following set up:

  • Filters: Day type, Day Part, Origin Zone Name, Destination Zone Name
  • Columns: Leave Empty
  • Rows: Middle Filter Zone Name
  • Values: O-M-D Traffic (StL Index)

Our Example


First, we will switch the StreetLight Index value to percentages of the Grand Total by right-clicking one of our values > click “show value as” > “% of Grand Total.”

In our pivot table, we were able to see that there was a sizable decrease of 7.47% in trips that used the Dumbarton Bridge during weekends. We also noticed that there was approximately a 4% increase in trips that went across the Bay Bridge and the San Mateo-Hayward Bridge on weekends. We see this decrease from weekday to the weekend because of many people from the south and east Alameda commute to and from San Mateo County (location of Silicon Valley) for work, and the Dumbarton bridge is the most direct route for these commuters. On the weekends, we can assume that the Bay Bridge is used more heavily because it is a more direct route to more touristy and weekend-based activities in northern Alameda County. To confirm this, we could divide Alameda County into smaller sections and create a new Project of the same structure, and then see where trips are ending within the County. That way we could fully answer our question.

Overall, a pivot table was helpful when assessing data for our O-D with Middle Filter Analysis because we could directly compare all of our Middle Filters to one another. This is not the only way to set up a pivot table for an Origin-Destination with Middle Filter, so feel free to set up your pivot table in a way that makes sense for your analysis. If you need assistance interpreting your results, please reach out to

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request



Article is closed for comments.